fix(mcp): converge managed adapter credential revisions - #10307
Conversation
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com> # Conflicts: # agents/hermes/mcp-config-transaction.py # src/lib/actions/sandbox/mcp-bridge-adapter-hermes.test.ts # src/lib/actions/sandbox/mcp-bridge-adapter-registration.test.ts # src/lib/actions/sandbox/mcp-bridge-adapter-status.ts # test/agents/hermes/hermes-mcp-credential-revision.test.ts # test/e2e/support/mcp-bridge-hermes-lifecycle.test.ts
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com> # Conflicts: # agents/hermes/mcp-config-transaction.py # src/lib/actions/sandbox/mcp-bridge-adapter-hermes.test.ts # src/lib/actions/sandbox/mcp-bridge-adapter-hermes.ts # test/agents/hermes/hermes-mcp-credential-revision.test.ts # test/e2e/support/mcp-bridge-hermes-lifecycle.test.ts
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Merge the latest exact #10270 head while retaining the stronger final-generation barriers. Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Remove unrelated branch drift and keep only MCP runtime, tests, and corresponding docs. Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
|
🌿 Preview your docs: https://nvidia-preview-pr-10307.docs.buildwithfern.com/nemoclaw |
Keep the PR diff limited to the MCP regression fix and its direct coverage. Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Exclude unrelated E2E changes that landed on main from the MCP regression diff. Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
rsliter
left a comment
There was a problem hiding this comment.
Reviewing exact commit 8068bd5. Two merge blockers remain. First, the effective MCP diff still includes unrelated PR Review Advisor workflow, tool, test, and documentation rewrites that are not described by this PR and must be removed from the candidate. Second, this branch carries material Charan Jagwani work from #10270, while #10270 does not contain Charan own PR-body Signed-off-by declaration. The superseded-PR attribution policy forbids selecting or merging the transferred replacement until Charan adds that declaration personally. Current CI and changes-requested gates remain separate blockers.
|
Fresh CI on |
|
Attribution blocker cleared: I added my personal For the remaining scope blocker, please reset the unrelated PR Review Advisor changes in #10307 to current |
Merge current main because GitHub reported the PR unmergeable; retain only the tested MCP delta. Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
|
PR review advisory complete for commit |
## Summary Revert #10307 and restore `main` to the exact tree that existed immediately before merge commit `896760b7cd407606050ce609dbcce429b06cc3f1`. Requested as an immediate maintainer rollback. ## Verification - `git diff --quiet fded75f -- .` passed after applying the revert. - Commit and push hooks passed after rebuilding CLI artifacts. --- Signed-off-by: Aaron Erickson <aerickson@nvidia.com> Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
## Summary Restore the exact code state from merged PR #10307 after its requested rollback. The replacement branch tree is byte-for-byte identical to original merge commit `896760b7cd407606050ce609dbcce429b06cc3f1`. ## Related Issue Fixes #10300 Related: #10298 ## Verification - Exact replacement head: `b5286eb8e` - Exact tree match: `fdb4b3cdbbaf5dba67c016d259cedac9da83977f` - Commit and push hooks passed. - Prior exact-head CI: https://github.com/NVIDIA/NemoClaw/actions/runs/32934865387 - Prior managed-image qualification: https://github.com/NVIDIA/NemoClaw/actions/runs/32934865411 - Prior focused E2E: https://github.com/NVIDIA/NemoClaw/actions/runs/32937684548 This PR is intentionally opened as a draft. --- Signed-off-by: Aaron Erickson <aerickson@nvidia.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Reliability** * Improved MCP credential synchronization during registration, restart, and recovery. * Added safeguards for unavailable, unstable, or outdated credential revisions. * Improved recovery after lifecycle failures, timeouts, and interrupted runtime operations. * **Security** * Strengthened credential authorization validation and prevented unversioned credential placeholders. * Restricted runtime state access to the required read-only and startup paths. * **Bug Fixes** * Improved Hermes startup ordering and runtime configuration validation. * Added retry handling for qualifying OpenClaw onboarding failures. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Summary
Fix the post-#10173 MCP revision regressions in this PR. Managed adapters now register against a stable opaque credential revision observed through fresh OpenShell execs. A delayed provider projection can no longer leave committed adapter configuration stale, and teardown never derives credential authority from an unrelated provider resource version.
Related Issue
Fixes #10300
Related: #10298
Changes
Type of Change
Quality Gates
Verification
Exact local head:
44088b59cnpm run build:clipassednpm run checks:repositorypassed: 1,821 files, 5,760 edges, 0 cyclesnpx prek run --all-filespassedSigned-off-by: Aaron Erickson aerickson@nvidia.com