docs: clarify Discord preset validation#3934
Conversation
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
|
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)
📝 WalkthroughWalkthroughAdds Discord-specific proxy-aware validation guidance to messaging preset warnings, updates tests to cover the new warning and policy-add flows, and inserts troubleshooting docs with Node HTTPS probes for verifying Discord API/CDN egress behind proxies. ChangesDiscord Preset Proxy Validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
|
🌿 Preview your docs: https://nvidia-preview-pr-3934.docs.buildwithfern.com/nemoclaw |
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
|
PR Review AdvisorRecommendation: blocked This is an automated advisory review. A human maintainer must make the final merge decision. Limitations: Review used read-only repository inspection and deterministic trusted GitHub context; tests, scripts, package-manager commands, and E2E jobs were not executed by this advisor.; CI was still pending for head SHA 21bcf46, so final required-job status is unknown.; An E2E Advisor comment exists, but the current-head E2E recommendation check is still in progress; required E2E status may change when it finishes.; Linked issue and PR text were treated as untrusted evidence and used only for acceptance mapping.; Open PR overlaps touch the same files, so maintainers should watch for merge conflict or behavior drift before final merge. Full advisor summaryPR Review AdvisorBase: The patch is narrow and appears security-benign, but merge is blocked by pending CI and GitHub mergeStateStatus=BLOCKED for head SHA 21bcf46. Gate status
🔴 Blockers
🟡 Warnings
🔵 Suggestions
Acceptance coverage
Security review
Test / E2E status
✅ What looks good
Review completeness
|
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
## Summary - Route generated OpenClaw Discord account config through the sandbox OpenShell proxy, matching the existing Dockerfile contract for Discord Gateway/WebSocket traffic. - Keep token placeholders unchanged and add regression coverage for issue #3894 with custom proxy host/port. Fixes #3894 ## Verification - `python3 -m py_compile scripts/generate-openclaw-config.py` - `git diff --check` - `npx vitest run test/generate-openclaw-config.test.ts` (76 tests passed) ## Notes - This does not change Discord preset validation behavior from #3477/#3934; it only changes the generated OpenClaw Discord account routing for runtime Gateway traffic. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Proxy configuration now correctly applies to Discord accounts, matching other channels. * **Tests** * Unit tests updated to assert Discord receives the configured proxy; new regression added. * End-to-end tests and gateway simulations enhanced to verify Discord proxy wiring and connection behavior when a per-account proxy is present. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/NVIDIA/NemoClaw/pull/3935?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Summary
Reopen Context
Issue #3477 was closed by #3663, then reopened from a v0.0.44 QA repro that still used curl and dns.resolve as validation signals. That same repro showed Node HTTPS to https://discord.com/api/v10/gateway returning 200, which is the signal this PR now documents and surfaces in policy-add.
Related Issue
Fixes #3477
Verification
Signed-off-by: Aaron Erickson aerickson@nvidia.com
Summary by CodeRabbit
Documentation
Tests