fix(agent): normalize controller-owned registry identities - #725
Conversation
|
Deployment failed for project drydock-website with the following error: Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
Possibly related PRs
Merge Risk: ⚪ Minimal · up to This change normalizes controller-owned registry identities while preserving existing agent behavior; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@greptileai Review exact head |
|
| Filename | Overview |
|---|---|
| app/agent/AgentClient.ts | Adds narrowly gated provider normalization before controller enrichment preservation; no concrete changed-code defect was established. |
| app/agent/AgentClient.test.ts | Adds regression coverage for canonical Docker Hub identities in initial inventory and subsequent Portwing event refresh paths. |
Reviews (1): Last reviewed commit: "chore: merge dev/v1.7 into native regist..." | Re-trigger Greptile
biggest-littlest
left a comment
There was a problem hiding this comment.
Reviewed exact final head. Controller-transport gating, provider normalization, enrichment preservation, legacy behavior, live tri-tool proof, and the complete CI/reviewer gates are covered.
## Summary Promote the reviewed v1.7.0-rc.1 changes from the literal `dev/v1.7` branch to `main`. ## Verified source - Reviewed dev source before reconciliation: `82ca66e40b193c9e6b877b0a5c3a0579085111ca` (tree `9c3f314f34c5b464b06f75be869e1304d228aca2`) - Topology-only reconciliation commit: `192c039210a4a620648e182c711e3e6801038d80` - Exact promotion head after review fix: `e9f983275ec2bde0213e7edb24014320565e05ea` - Target main before promotion: `a70d406e58e6d1af91cdb34138783774b5115c32` - Promoted tree: `8ba3389237783f634a46cb54622915bbbd969756` - `main..dev` binary patch SHA-256: `54a5312eb98ba3b94e96bfcf30894a6de656c1d2723f964be636f88353cf3e80` - Reconciliation first-parent diff SHA-256: `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855` The reconciliation commit has parents `[82ca66e, a70d406]`, preserves the reviewed dev tree exactly, and has an empty first-parent diff. The final one-file test commit closes the promotion review finding by pinning the exact HTTP redirect allowlist in both #606 release-note bullets. ## First-parent ledger - `514f015a` fix(agents): make edge poll interval configurable (#723) - `4fc35c7f` fix(agents): surface edge exec end reasons (#724) - `b36c396e` fix(agent): normalize controller-owned registry identities (#725) - `e0869448` fix(registries): propagate manifest created fetch failures (#726) - `82ca66e4` docs(release): update v1.7.0-rc.1 notes (#727) - `192c0392` chore(release): reconcile main ancestry for v1.7 RC - `e9f98327` test(release): enforce redirect allowlist in notes No tag or release is cut by this PR. Release dispatch remains blocked until the exact merged-main source, tree, archive, workflow, Dockerfile, and digest inputs are recomputed and acknowledged. Closes #688 Closes #635 Closes #687 Closes #606 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Changelog ✨ Added configurable `DD_PORTWING_POLL_INTERVAL` with a 300-second default and validation fallback. ✨ Added Edge exec reason propagation through `endCallback` and session cleanup. ✨ Added controller-side container registry normalization for Docker transport. ✨ Added registry handling for permitted HTTP redirects while preserving other metadata-fetch errors. ✨ Added release documentation and tests for configuration, redirects, release identity, and required issue links. 🔧 Changed translated README release-note anchors to `2026-08-14`. 🗑️ Removed the obsolete `.gitleaksignore` entry for the deleted WebSocket test. ## Concerns - Recompute and acknowledge merged-main release inputs before enabling release dispatch. - Verify the controller-side registry normalization does not diverge from agent-side normalization. - Confirm the HTTP redirect allowlist covers only approved statuses. - Confirm all consumers handle the new optional `EdgeAgentAdapter.startExec` `endCallback` reason. - Do not create a tag or release from this promotion. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Test <test@example.com>
Closes #687
What changed
Verification
registry.name=unknownand skipped the native registry queryhub.public, detected BusyBox1.36.1, made 46 native Docker GETs, and made zero legacy watcher POSTsChangelog