Skip to content

ci(tinycomputer): run egress tests across supported OSes - #19

Merged
senamakel merged 3 commits into
epic/7328-security-busfrom
epic-7328-tc111-egress-matrix
Oct 23, 2026
Merged

senamakel merged 3 commits into
epic/7328-security-busfrom
epic-7328-tc111-egress-matrix

Conversation

@senamakel

@senamakel senamakel commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

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.sh
  • RUST_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-link
  • cargo clippy --locked -p tinycomputer --all-targets --features static-link -- -D warnings
  • git diff --check

The repository has no focused test for feature-script contents; the feature-test matrix itself runs this command on all three supported OSes.

senamakel and others added 3 commits October 23, 2026 04:18
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>
@senamakel
senamakel merged commit 1d6b264 into epic/7328-security-bus Oct 23, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant