fix(cli): preserve rebuild endpoint provenance - #7271
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe provider-recovery rebuild flow now includes endpoint source metadata in receipt activation targets. Tests cover matching ChangesProvider recovery endpoint provenance
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
6982f91 to
93cefa7
Compare
PR Review Advisor — InformationalAdvisor assessment: Informational / high confidence Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: 2 optional E2E recommendations
This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
93cefa7 to
25f4751
Compare
|
Live regression validation passed on the current verified head |
|
Required CI is currently blocked by an unrelated repository-wide dependency audit: |
dfernandez365-rgb
left a comment
There was a problem hiding this comment.
Independent exact-head review: PASS on code merits.
The production blob is byte-identical to the direct-main hosted-verified candidate, the focused test is pre-fix-red and preserves fail-closed endpoint provenance, and exact-head channels-add-remove run 29784417976 passed 1/1 with recovery, inference, and cleanup evidence.
This approval does not waive the required reviewed-npm-audit failure. The pre-existing OpenClaw runtime graph still contains critical tar advisory GHSA-23hp-3jrh-7fpw; that repository-wide gate must be remediated before merge.
Non-blocking: adding Fixes #7256 would improve issue tracking.
|
Closing this because #7280 addresses the underlying vulnerability, so this PR is no longer required. Thanks for the work here. |
Summary
Preserve compatible-endpoint provenance when an authoritative rebuild activates its provider-recovery receipt. Previously, the activation target dropped
endpointSource, so the exact route check rejected an onboard-provenance receipt and the rebuild fell back to the default provider instead of reusing the OpenShell-stored credential.Changes
onboardprovenance and fail-closed rejection for mismatchedinference-setprovenance.nulland did not exercise the live E2E route identity.Type of Change
Quality Gates
DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run check:diffpassed when hooks were skipped or unavailablenpx vitest run --project cli src/lib/onboard/authoritative-rebuild-target.test.ts(16 passed);npx vitest run --project integration test/onboard-remote-recreate-credential-reuse.test.ts(1 passed);npm run typecheck:clipassed.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Senthil Ravichandran senthilr@nvidia.com
Summary by CodeRabbit
Bug Fixes
Tests