Repository navigation
fix(server): preserve sanitized reply-write diagnostics - #251
KooshaPari merged 2 commits into
Conversation
tx-agent: codex tx-validated: test
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Pre-merge checks:
|
tx-agent: codex tx-validated: test
|
506d49e
into
codex/mcp-owned-lifecycle-20261103
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (6 files)
Reviewed by free · Input: 68.9K · Output: 2.7K · Cached: 165.9K |



User description
Reply-write failures lacked request/operation context, and a bare operation marker could hide native details in paths without the initial-control wrapper. Preserve the fixed operation, IO error kind, and numeric OS code in the top-level error. Initial lightweight-control failures also include decoded request kind and numeric correlation ID. The original IO cause remains available for downcasting; the runtime logger does not expand arbitrary error chains.
Validation on Windows with jcode-app-core default features disabled: four focused tests passed.
Formatting and whitespace checks passed; independent source review found no actionable blocker. The initial writer fixture assumed dropping the peer immediately makes the next write fail; Windows accepted that write. Its failure log is retained, and the corrected fixture observes closure before asserting failure.
Full handler/log acceptance is limited to Ping. Other request paths and logging sites that format complete error chains are outside this integration proof. Default-feature/full-suite and cross-platform validation remain unexecuted. No live service, installation, or deployment was changed.
Stacked on the fork branch backing 1jehuang#2062. This PR remains a draft.
Tracks #271 (residual agent PR backlog): the Require Linked Issue gate failed only because this PR predates the issue.
CodeAnt-AI Description
Preserve safe request details in pipe failure logs
What Changed
Impact
✅ Easier diagnosis of failed control requests✅ Private error messages stay out of logs✅ Pipe failures retain operating-system error details💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.