Repository navigation
fix(tui): keep agent report failures private - #11391
lawrencecchen wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesAgent report error handling
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change keeps agent report failures private while preserving typed validation errors, and no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
Full details: Description checkExplanation The description explains what changed, why it changed, the test added, and the verification performed. It omits the template's Demo Video, Review Trigger, and Checklist sections, but the core information is complete. Full details: Cmux Swift Actor IsolationExplanation The isolated pull-request diff contains only Full details: Cmux Swift Blocking RuntimeExplanation PASS: The exact PR range from Full details: Cmux Browser Automation Off-MainExplanation PASS: The PR changes only Full details: Cmux Expensive Synchronous LoadExplanation PASS: The pull request changes only one Rust file, Full details: Cmux Cache Substitution CorrectnessExplanation PASS: The pull request changes only Full details: Cmux No Hacky SleepsExplanation PASS. The PR diff from 6ba2b02 to d0b872c changes only Full details: Cmux Algorithmic ComplexityExplanation PASS: The PR changes only Full details: Cmux Swift ConcurrencyExplanation PASS: The pull-request range 6ba2b02..HEAD changes only Full details: Cmux Swift `@Concurrent`Explanation PASS: The pull request changes only Full details: Cmux Swift Package BoundariesExplanation PASS: The pull-request range contains one changed file,
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
There was a problem hiding this comment.
No issues found across 1 file
You’re at about 91% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
05f1463 to
8bb13b9
Compare
|
Superseded by the current-main replacement #11410. PR 11410 carries the same agent-report privacy fix on branch |
Follow-up extracted from PR #11165, rebased onto live main.
Agent report projection/database failures now return the stable public
operation.failedresponse while typed validation errors remain unchanged. Raw error chains are logged internally. The behavior test corrupts a projection and verifies terminal IDs, revisions, database text, and projection details are absent.This PR intentionally excludes the stacked screen-detection interpreter identity work, which is not present on main and is coupled to the stale
AgentRecord.agentschema drift.Verification: standalone
rustfmt --checkwas run. It reports pre-existing formatting differences in this file under local rustfmt 1.8.0, also present on unmodified main.git diff --checkpasses. Cargo and Rust tests were not run, per task scope.Summary by cubic
Fixes agent report failures so projection and database errors no longer leak internal details into the public response. These failures now return the stable
operation.failederror with a generic message, raw error chains are logged internally, and typed validation errors keep their original response.could not read agent stateinstead of exposing terminal IDs, revisions, database text, or projection details.Written for commit d0b872c. Summary will update on new commits.
Summary by CodeRabbit