Repository navigation
Conversation
Owner
5 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Fixes #1306. A warning and the listener's
PORTline can arrive in one pipe read. The buffered reader consumes both but returns only the warning; the next selector wait sees no new kernel bytes and times out while the port line is already buffered.Use unbuffered subprocess output so descriptor readiness and line reads agree. The existing startup wait is factored into a small helper, with same-file regressions for warning plus port in one write, EOF without a port, and a silent child's timeout. Existing cleanup and HTTP checks are retained.
Receipt
67cc8fbce879e2d0dd74b94ebb8848b134478ee4; Zig 0.17.0. Ubuntu 24.04/aarch64 with Python 3.14.2 and Arch-based Linux/x86_64 with Python 3.14.8. CPU fake engine; no checkpoint, GPU or inference runtime required.zig build test-goldenpasses on both architectures; desktop also passestest-server-security test-pull-security. Both golden runs have 322 equal cases, 13 existing known differences and 0 unexpected differences, plus 26/26 security goldens. Desktop HTTP security probes pass 24/24, and the selected host checks pass 24/24 across 18 build steps.git diff --checkpasses.No production kernel, model, serving flag or dependency was changed.
Checklist