test(integration): add structured HTTP smoke harness#47
Merged
DonPrus merged 3 commits intoMay 7, 2026
Conversation
DonPrus
approved these changes
May 6, 2026
Contributor
|
I last used Windows back in 2014, and moments like this remind me exactly why I never came back :) |
e638849 to
da81e93
Compare
Preserve short-read semantics in the Zig 0.16 compat stream on Windows and keep the integration smoke on the real std.http.Client path. Also keeps backend CI bounded with a timeout so a socket regression fails visibly instead of hanging indefinitely.
da81e93 to
0e4c274
Compare
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.
Summary
zig build test-integrationstep for structured backend integration coverage without replacing the existing unit-test gatenullhubbinary, starts it under a temporary home directory, and performs HTTP assertions with Zig's HTTP client/health,/api/status, and a representative 404 pathValidation
zig build test -Dembed-ui=false -Dbuild-ui=false --summary allzig build test-integration -Dembed-ui=false -Dbuild-ui=false --summary allnpm --prefix ui ci --no-audit --no-fundnpm --prefix ui run buildbash tests/test_e2e.shzig fmt --check src/git diff --checkNotes