Repository navigation
ci(tinycomputer): run egress tests across supported OSes - #19
Merged
Merged
Conversation
Add a live chromium egress test invocation to the feature test script so the egress suite runs alongside the other live browser tests. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The live egress test bound its denied listener to 127.0.0.2, which macOS does not accept without an interface alias, so the test failed on that platform. It now binds to the IPv6 loopback address instead, which is available by default. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Reformatted the denied listener bind call in the live chromium egress test to fit the line width limit. No behaviour change. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
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 TinyComputer feature-test matrix already runs live browser tests on Linux, macOS, and Windows, but the loaded-module browser egress tests were opt-in and were not enabled there. This adds the existing
live_chromium_module suite to the shared feature script, with serialized test execution. It exercises the egress policy through a loaded TinyComputer module on each supported OS without changing platform or CPU behavior.This is an evidence-enablement slice for
tinyhumansai/tinycomputer#111; it does not complete the issue. Remaining acceptance includes real module/browser evidence for redirect hops, subresources, workers, and WebSockets with the resolved address pinned to the socket actually opened; controlled fixtures for a permitted public-destination control, denied private destination, DNS rebinding, redirect, subresource, and WebSocket cases; fail-closed authority fault/timeout/stale-generation behavior and proof opaque capabilities do not treat caller-supplied identity as authority; and final supported-backend coverage across Linux, macOS, and Windows.Refs tinyhumansai#111
Part of tinyhumansai/openhuman#7328
Validation:
bash -n scripts/test-features.shRUST_TEST_THREADS=1 TINYCOMPUTER_LIVE_BROWSER_EGRESS_TESTS=1 cargo test --locked -p tinycomputer --features static-link --lib live_chromium_(4 passed on Linux)cargo check -p tinycomputer --features static-linkcargo clippy --locked -p tinycomputer --all-targets --features static-link -- -D warningsgit diff --checkThe repository has no focused test for feature-script contents; the feature-test matrix itself runs this command on all three supported OSes.