refactor(messaging): clean up some hard code stragglers#5463
Conversation
…annel-manifest-stragglers # Conflicts: # src/lib/actions/sandbox/doctor.ts # src/lib/actions/sandbox/policy-channel-conflict.test.ts # src/lib/actions/sandbox/policy-channel.ts # src/lib/actions/sandbox/snapshot.ts # src/lib/messaging/applier/host-state-applier.ts # src/lib/messaging/plan-validation.ts # src/lib/sandbox/channels.ts # src/lib/security/redact.ts # test/cli/doctor-gateway-token.test.ts
…annel-manifest-stragglers # Conflicts: # ci/test-file-size-budget.json
…est-stragglers' into refactor/messaging-channel-manifest-stragglers
|
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 (10)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughManifest runtime types are strengthened to support explicit OpenClaw channel names. All five supported messaging channels add ChangesDynamic Channel Metadata and Hardcoded List Removal
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
Suggested labels
Suggested reviewers
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)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in the branch is 96%. Coverage data for the branch is not yet available. Show a code coverage summary of the most covered files.
TypeScript / code-coverage/cliThe overall coverage in the branch is 44%. Coverage data for the branch is not yet available. Show a code coverage summary of the most covered files.
Updated |
PR Review AdvisorFindings: 1 needs attention, 6 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
Consider writing more tests for
Since last review detailsCurrent findings:
This is an automated advisory review. A human maintainer must make the final merge decision. |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: Dispatch required Vitest E2E scenarios:
Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorBase: Required Vitest E2E scenarios
Optional Vitest E2E scenarios
Relevant changed files
|
…est-cleanup' into refactor/messaging-channel-manifest-cleanup
Thanks for the careful read. I do not think |
Selective E2E Results — ✅ All requested jobs passedRun: 27565832939
|
|
It's ready to be merged now @cv Thanks. |
Summary
Clean up remaining concrete messaging-channel references by routing core behavior through manifest metadata and hook registration. This keeps reset help text generic while preserving channel-specific implementation inside channel-owned modules.
Changes
credentials resetto use a generic<channels>placeholder instead of enumerating concrete messaging channels.Type of Change
Verification
npx prek run --from-ref main --to-ref HEADpassesnpm testpasses (broad runtime changes only)npm run docsbuilds without warnings (doc changes only)Signed-off-by: San Dang sdang@nvidia.com
Summary by CodeRabbit
Bug Fixes
credentials resetbridge-retirement guidance to usechannels remove <channel>help text.Refactor
Tests