Repository navigation
test(browser): fix live egress tests on macOS - #21
Merged
senamakel merged 2 commits intoOct 23, 2026
Merged
Conversation
The live rebinding test now binds its allowed listener on the IPv6 loopback address and only counts authorizations for the fixture host and port, so unrelated dials no longer consume the first-attempt slot or pollute the observed address list. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The live egress tests relied on 127.0.0.2, which is not configured as a loopback alias on every platform, so the denied listener could fail to bind. The denied sockets now use 127.0.0.1 and ::1 on distinct ports, keeping the allowed and denied endpoints separate while remaining portable. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
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.
The macOS feature-test run exposed two fixture assumptions in the live Chromium egress tests: binding an IPv4 loopback alias that macOS does not configure, and counting unrelated Chromium requests against the rebinding fixture authorization. Use an IPv6 loopback listener for the fixture mapping and scope the rebinding attempt counter to the controlled fixture host. The tests still verify the approved public address and denial of the rebound private destination.\n\nThis is a portability follow-up to #20 and does not close tinyhumansai#111; the real TinySecurity composition test remains in the OpenHuman follow-up.\n\nPart of tinyhumansai/openhuman#7328