test(agent-runtime): harden slash command regressions (#543)#564
Conversation
Deploying corvus with
|
| Latest commit: |
31d459b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://44247938.corvus-42x.pages.dev |
| Branch Preview URL: | https://feature-dallay-543-slash-reg.corvus-42x.pages.dev |
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 16 minutes and 3 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Contributor ReportUser: @yacosta738
Contributor Report evaluates based on public GitHub activity. Analysis period: 2025-04-18 to 2026-04-18 |
Related Issues
Fixes #543
Related to #527
Summary
This PR hardens slash-command regression coverage for the existing registry-backed session commands.
It adds focused transport-edge regressions for the highest-value remaining gaps only: CLI denied
/resume {session_id}, gateway SSE denied/resume {session_id}, gateway SSE invalid/tldr extra args, and recognized slash handling on a gateway-facing plan-mode path. The goal is to freeze current behavior and prevent drift while the slash-command platform continues to evolve.Tested Information
Validated with focused and full Rust runtime checks:
cargo test --manifest-path clients/agent-runtime/Cargo.toml cli_resume_target_without_caller_scope_preserves_denied_error_path -- --nocapturecargo test --manifest-path clients/agent-runtime/Cargo.toml gateway::tests::web_chat_stream_ -- --nocapturecargo fmt --manifest-path clients/agent-runtime/Cargo.toml --all -- --checkcargo clippy --manifest-path clients/agent-runtime/Cargo.toml --all-targets -- -D warningscargo test --manifest-path clients/agent-runtime/Cargo.toml3565tests passed)Reviewers should focus on:
clients/agent-runtime/src/main.rsclients/agent-runtime/src/gateway/mod.rsopenspec/specs/slash-command-registry/spec.mdDocumentation Impact
openspec/specs/slash-command-registry/spec.mdopenspec/changes/archive/2026-04-18-slash-command-regression-tests/Breaking Changes
None.
Checklist