Repository navigation
[Instinct] Fix OpenRouter EOF panic and duplicate CI env mappings - #52
Conversation
tx-agent: codex tx-validated: test tx-task: drift-panic-jcode-ci
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
📝 Summary
Merge Risk: ⚪ Minimal · up to No merge-blocking issue is identified; the PR is mergeable after normal checks. Pre-merge checks ·
|
CodeAnt Nitpicks1 code suggestion1.
|
CodeAnt PR Risk: Low Risk
Assessed commit: |
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Overview
What this PR doesFuses the OpenRouter SSE transport inside Verification notes (static; read-only sandbox, no
|
Authored by Instinct
OpenRouter emits buffered final events after transport EOF. Polling the underlying non-fused unfold stream again then panics. Fuse that transport so pending events drain safely and later polls stay terminal; cover both empty and nonempty unfold streams.
Also merge duplicate workflow-level env mappings in CI, Windows Smoke, and iOS TestFlight. Actionlint reproduced all three duplicate-key failures before the fix and passes afterward.
Validation: all 32 jcode-provider-openrouter tests pass; actionlint passes for all three workflows; git diff --check passes. No shared daemon restart or branch consolidation.
Closes #53.
Negative control: removing fuse reproduces the exact unfold.rs:108 panic; restoring fuse passes.