Skip to content

fix(ci): isolate documentation preview ownership - #42

Merged
bitcoinuniverseadmin merged 1 commit into
developfrom
fix/ci-preview-isolation-20260917
Sep 17, 2026
Merged

bitcoinuniverseadmin merged 1 commit into
developfrom
fix/ci-preview-isolation-20260917

Conversation

@bitcoinuniverseadmin

Copy link
Copy Markdown
Contributor

The promotion check in #41 failed because its static server could not bind shared port 4328. The unbounded wait-on then accepted another job’s listener and the browser audit lost that server midway through its run.

This gives each accessibility run an owned static server bound atomically to 127.0.0.1 on an ephemeral port. Readiness verifies a unique run identity and a digest of every built file with a bounded request. The existing audit receives only that origin; failures, cancellation and timeouts propagate, and cleanup closes only the owned server and child. The built digest is checked again after a successful audit.

All existing accessibility, overflow and layout checks remain enabled. Documentation content is unchanged.

Validation: all five new lifecycle tests and the full npm test gates pass; npm run build passes. Regression coverage includes concurrent previews, foreign identity/build rejection, occupied-port failure, readiness timeout, changed-build detection, nonzero audit results and child timeout/cancellation isolation. Exact-head CI will run the full browser audit.

@bitcoinuniverseadmin
bitcoinuniverseadmin merged commit 26572f2 into develop Sep 17, 2026
1 check passed
@bitcoinuniverseadmin
bitcoinuniverseadmin deleted the fix/ci-preview-isolation-20260917 branch September 18, 2026 02:12
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.

2 participants