Skip to content

fix: flush capability output before subprocess exit - #92

Merged
roodboi merged 1 commit into
mainfrom
codex/flush-capability-output
Oct 7, 2026
Merged

roodboi merged 1 commit into
mainfrom
codex/flush-capability-output

Conversation

@roodboi

@roodboi roodboi commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Capability inventory could exit before large JSON output finished writing to a subprocess pipe. Consumers received a truncated document (reported at 65,536 bytes) instead of parseable inventory.

Await the existing stdout writer for capability results, digests, and help. Add a real OS-pipe regression that verifies more than 128 KiB of JSON, all entry IDs, and the complete final entry. Run the same assertion in the compiled-binary verifier on each CI platform. Bun subprocess sockets masked the failure, so the regression captures through Node child_process pipes.

Validation: the regression rejects the published 2.32.0 binary; the patched local binary passes. All 30 capability tests, lint, type checking, binary build/verifier, and package dry run pass. Full-suite results and exact-head CI are recorded separately.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-10-07T15:33:02.920584Z fecff9c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@roodboi
roodboi merged commit 387c24a into main Oct 7, 2026
4 checks passed
@roodboi
roodboi deleted the codex/flush-capability-output branch October 7, 2026 15:33
github-actions Bot pushed a commit that referenced this pull request Oct 7, 2026
## [2.32.1](v2.32.0...v2.32.1) (2026-10-07)

### Bug Fixes

* flush capability output before subprocess exit ([#92](#92)) ([387c24a](387c24a))
* version native plugin capability routing guidance ([#91](#91)) ([963223e](963223e))
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.32.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant