fix(messaging): defer channel start policy to rebuild - #10026
Conversation
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit c6b483a in the TypeScript / code-coverage/cliThe overall line coverage in commit c6b483a in the Show a line coverage summary of the most impacted files.
Updated |
|
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)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthrough
ChangesChannel policy start flow
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change defers channel policy application until the replacement sandbox has the credential provider attached, preserving validation and policy behavior; no actionable merge-blocking risk remains beyond normal checks. Sequence Diagram(s)sequenceDiagram
participant ChannelStart
participant MessagingPlan
participant SandboxRebuild
participant PolicyPreset
ChannelStart->>PolicyPreset: Validate and disclose preset
ChannelStart->>MessagingPlan: Record channel as enabled
ChannelStart->>SandboxRebuild: Rebuild with enabled plan
SandboxRebuild->>PolicyPreset: Apply preset after provider reattachment
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite for the commit under review. Recommended E2E: Manual-only E2E: 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>
|
🌿 Preview your docs: https://nvidia-preview-pr-10026.docs.buildwithfern.com/nemoclaw |
<!-- markdownlint-disable MD041 --> ## Summary Complete the v0.0.114 documentation for user-visible behavior that the cumulative post-merge workflow missed. The update covers managed-image onboarding, managed vLLM GPU selection, messaging provider lifecycle, paused channel status, Deep Agents tool discovery, Portable lifecycle timing, HTTPS-only updates, and current Hermes runtime architecture. ## Changes - Complete the v0.0.114 changelog for merged PRs #9323, #9862, #9913, #9964, #10021, #10025, #10026, #10031, #10047, and #10052. - Document managed vLLM GPU selection, resume constraints, and GPU-specific preflight behavior. - Document exact endpointless messaging-provider validation and stopped Hermes Discord provider retention across rebuild. - Document the paused detailed channel-status JSON contract and Portable lifecycle timing output. - Correct the Hermes managed-startup architecture description and Deep Agents loaded MCP tool discovery behavior. ## Type of Change - [ ] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [x] Doc only (includes code sample changes) ## Quality Gates - [ ] Tests added or updated for changed behavior - [ ] Existing tests cover changed behavior — justification: - [x] Tests not applicable — justification: This PR updates public documentation to match already tested source behavior and adds no runtime code. - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [x] Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: An independent documentation review checked credential custody, provider reuse, stopped-channel effects, pairing claim boundaries, GPU selection, variant routing, and recovery guidance against current source and tests. The first review's blockers were corrected, and the final review is recorded in the authoring evidence. - [ ] Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue: ## DGX Station Hardware Evidence - [ ] Tested on DGX Station - Tested commit: Not applicable - Station profile/scenario: Not applicable - Result: Not applicable - Supporting evidence: This documentation-only change does not modify `scripts/prepare-dgx-station-host.sh`. ## Verification - [x] PR description includes a `Signed-off-by:` line and every commit appears as `Verified` in GitHub - [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or `npm run validate:pr` passed after refreshing `origin/main` when hooks were skipped or unavailable - [x] Targeted behavior tests pass for the current change set, or tests are marked not applicable above — documentation-only change; targeted runtime tests are not applicable - [ ] Applicable broad gate passed — `npm test` for broad runtime/test-harness changes; `npm run check` for repo-wide validation/coverage changes — not run; the PR changes documentation only - [x] Quality Gates section completed with required justifications or waivers - [x] No secrets, API keys, or credentials committed - [x] `npm run docs` builds without warnings (doc changes only) — completed with 0 errors and 2 existing Fern warnings hidden by default - [x] Doc pages follow the [style guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md) (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) — no new pages --- Signed-off-by: Julie Yaunches <jyaunches@nvidia.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Select managed vLLM GPUs by index or UUID, with selections preserved when resuming setup. - View detailed Portable recovery timing and action results. - Discover late-loaded managed tools through progressive tool search. - **Bug Fixes** - Improved sandbox rebuild handling for stopped messaging channels. - Strengthened provider validation, pairing checks, recovery handoffs, and duplicate tool detection. - Added safer managed-image onboarding and approval-flow handling. - Update downloads and redirects now require HTTPS. - **Documentation** - Expanded guidance for onboarding, vLLM configuration, messaging channels, recovery, architecture, and CLI commands. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Summary
Defer a channel-start policy preset to the existing sandbox rebuild instead of applying it to the current sandbox first. This lets the replacement sandbox attach the credential provider before OpenShell accepts the credential-bound Discord policy.
Changes
channels start.Type of Change
Quality Gates
DGX Station Hardware Evidence
Not applicable; this change does not modify
scripts/prepare-dgx-station-host.sh.Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result: not applicable to this focused two-file lifecycle-order correction.npm run docsbuilds without warnings (doc changes only)Signed-off-by: Senthil Ravichandran senthilr@nvidia.com
Summary by CodeRabbit