Commit Graph
2 Commits
Author SHA1 Message Date
morluto 26cb5b53ce fix(tests): give CI workflow fixtures a hermetic GitHub context
The CI script tests spread process.env into required.mjs and the other
workflow scripts, so on a runner they inherited that job's own
GITHUB_EVENT_NAME. Since #14383 added scheduled fast sweeps, a scheduled
main run made every fixture take the sweep path, and seven tests in
ciChangeScope and ciRequiredLanes failed with "Scheduled fast sweep
requires the complete portable test suite".

workflowFixtureEnvironment now owns the fixture environment: it drops the
host's GITHUB_* and CI_* variables and applies the test's own, so each
fixture states the workflow context it simulates. All fourteen spreads in
the four CI suites use it. With GITHUB_EVENT_NAME=schedule the suites
failed 7 of 511 before and pass 511 after; push and unset contexts pass.
2026-11-24 17:53:24 -05:00
Ysopwnable d5cb8aee06 fix(ci): scope verification and reuse native runners (#1344)
* fix(ci): scope documentation checks and cancel superseded runs

* ci: reuse package runners for native Inspector checks

* test(ci): share deterministic workflow Git fixtures
2026-10-09 18:22:03 +00:00