fix(onboard): exclude inactive Discord messaging presets - #10334
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
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 (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review. 📝 WalkthroughWalkthroughThe onboarding policy suggestion test now covers Slack-only selections, ambient Discord credentials without an active channel, and explicit Discord activation for Hermes and OpenClaw. ChangesOnboarding preset filtering
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR expands regression coverage for inactive Discord messaging presets without changing production behavior, so no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 2960136 in the TypeScript / code-coverage/cliThe overall line coverage in commit 2960136 in the Show a line coverage summary of the most impacted files.
Updated |
|
Focused validation for #10153 root cause 5 at
Live E2E status: blocked by the trusted selector. No live pass is claimed. |
|
Validation refresh for exact head
This comment is validation evidence, not an approval. Outside approval and all required gates remain necessary before merge. |
|
PR review advisory complete for commit |
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
Closing this test-only follow-up because PR #10314 merged the production correction at 45a90f0. The previously failing E2E scenario passed on main commit 7409b8f in full-main run 33111284865: both |
Summary
PR #10314 merged the production fix that makes the explicit messaging selection authoritative for Discord policy and provider construction. After the merge with base commit
687f3e4f0cfedadd4b36deb071f9dd7e100d21a7, this PR's effective production delta only reformats that existing condition.The remaining semantic diff strengthens the shared onboarding regression for OpenClaw and Hermes. It proves that the Open policy tier omits Discord egress for an empty or Slack-only messaging selection and retains Discord egress when Discord is selected.
Related Issue
Related to #10153 root cause 5.
Changes
E2E root cause: OpenClaw onboarding / policy suggestion / inactive Discord preset gains an unattached provider binding
Source run: https://github.com/NVIDIA/NemoClaw/actions/runs/32909322579 (run 32909322579, attempt 1)
Failed jobs: Messaging: shares OpenClaw Slack pairing approval / NVIDIA inference API key (98000632449, https://github.com/NVIDIA/NemoClaw/actions/runs/32909322579/job/98000632449)
Signature:
credential_bindingreferences<sandbox>-discord-bridge, but that provider is not attachedScope: one root cause
Type of Change
Quality Gates
29601364dd756b77d99a5ab25c3cb85163a5dc2fagainst current main6c06d0c8a3d935bf6e6c10f1c6e5b1cfbe56eea8; resultPASSwith no findings. Production code differs only by line wrapping. The semantic delta is test-only and changes no injection, authorization, credential custody, network, filesystem, dependency, logging, or denial-of-service boundary. Independent approval is still required before merge.Documentation Writer Review
no-docs-needed29601364dd756b77d99a5ab25c3cb85163a5dc2fagainst base6c06d0c8a3d935bf6e6c10f1c6e5b1cfbe56eea8. Production code changes only line wrapping. The integration test extends the existing inactive Discord regression across Hermes and OpenClaw with empty, Slack-only, and Discord-active matrices. The title is behavior-oriented and uses the issue suffix. The change affects no public behavior, diagnostic, CLI, configuration, documentation claim, or user workflow. CLI build and type-checking, 56 focused integration tests, repository checks, andgit diff --checkpassed./root/watch_trigger_merge_blocker)DGX Station Hardware Evidence
scripts/prepare-dgx-station-host.shis unchanged.Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubnpm run validate:prpassed at exact commit29601364dd756b77d99a5ab25c3cb85163a5dc2fagainst current main6c06d0c8a3d935bf6e6c10f1c6e5b1cfbe56eea8, covering pre-commit, commitlint, and pre-push checksnpm exec -- vitest run --project integration test/onboarding/onboard-policy-suggestions.test.tspassed 56/56 tests at exact commit29601364dd756b77d99a5ab25c3cb85163a5dc2f. The CLI build and typecheck, repository checks,npm run validate:pr, andgit diff --checkpassed.npm run docsbuilds without warnings (doc changes only)Signed-off-by: Rebecca Sliter 571084+rsliter@users.noreply.github.com
Summary by CodeRabbit