node-24-build can run on the self-hosted pool while the benchmarks stay on
hosted Linux; the phase jobs now load the restored Node-API addon and rebuild
it on their runner if it fails. The report spec cleans its directories with
onTestFinished, which also removes a clone the duplication gate reported.
node-24-bench becomes a two-entry matrix that restores the node-24-build
output, bundles only the benchmark workers, and runs one suite phase per idle
runner: phase first holds the corpus cases and phase last the serial files
listed in SERIAL_BENCH_FILES. Each phase uploads its results.jsonl and the
measuring environment; node-24-bench-report renders one benchmark-report on a
small runner under Node type stripping and stays out of all-checks-passed.
* ci: split coverage across two file shards and merge on a small report job
Coverage runs as a three-lane matrix: two instrumented file shards that deal
path-sorted test files in snake order (DSH_COVERAGE_SHARD) and the
uninstrumented heavy suites. Each shard uploads its blobs, file list, and
durations; node-24-coverage-report re-lists the inventory, checks the shards
partition it, merges the blobs with thresholds on a 2-vCPU runner, and alone
saves the duration history. Only the report job joins all-checks-passed.
* ci: run the coverage heavy suites on the first shard and split shards by file size
The exempt heavy suites finished in about a minute on a dedicated 16-vCPU
runner, so they join shard 1 with the coverage lane's usual worker split.
Shards now deal files largest first by byte size instead of by path order,
so the heaviest suites no longer land on one shard. The coordinator repeats
each failed partition and its Vitest FAIL lines after all partitions finish,
and run-gates.spec clears DSH_COVERAGE_SHARD inherited from the CI shard.
* ci: give the coverage merge a 4 GB heap on the small report runner
Merging both shards' blobs exhausted Node's default heap of about 2 GB on
the 2-vCPU report runner (run 44664262449).
* ci: merge coverage shards on an 8-vCPU runner
The merge took 154s on the 2-vCPU report runner against ~30s on the former
16-vCPU lane (run 44667701311).
* ci: address review on the coverage shards
- Shards record their checkout root, and the merge rewrites that prefix in
blobs from another checkout so one source file never merges as two.
- Shard blob uploads overwrite on a re-run of the same workflow run.
- The coverage report lane joins the runner-temp and compile-cache lane
lists in ci-workflow.spec.
- The failover runbook states the self-hosted shard and exempt workers.
* ci: address the second coverage-shard review and leftover lane cleanup
- The cross-checkout blob rewrite spec builds roots and paths with join(),
so it holds on Windows, where the rewrite prefix ends in a backslash.
- The failover runbook names the current coverage, build, consumer, and web
snapshot checks instead of the former single-job names.
- node-24-build and node-24-consumers drop env variables that none of their
gates read.
* ci: build once and fan web snapshots out across weighted shards
* ci: stamp restored build output with the extraction time
Build-time mtimes shifted past the clock made HMR treat freshly loaded
lib/ modules as changed and reload a plugin context while it was still
loading (plugin-manager-mcp headless snapshot).
* ci(web): run the longest web snapshot files as round-robin test slices
* ci: address review on the build-once fan-out
The pre-merge step fetches blobless history, so a missing blob is fetched
from origin on demand. Within one `git merge` process, Git's cache of
loose-object directories does not see the merged blobs the merge writes;
the checkout prefetch then asks origin for those blobs, origin refuses
the whole request with "not our ref", and the step reported a clean pull
request as unmergeable. The step now computes the merged tree with
`git merge-tree --write-tree`, commits it with `git commit-tree`, and
checks it out in a separate process, and reports conflicts apart from
other merge failures.
Fixes#8655
The pre-merge step fetched the history since the master diff check's window start. A
date window marks a master merge commit shallow when its pull-request parent predates the
window, which drops its master parent too, so the merge base settled on an older commit
and the merge reported conflicts GitHub did not see (#8095, #8268). The step now fetches
150 commits of both sides without blobs, enough for the base-branch commits a 72-hour-old
base can be behind, and reports a missing common commit instead of a conflict.
The archive cache was wired into lanes that can select the persistent
self-hosted pool, which keeps ~/.cache on its own layout and never needs
the remote cache, and the consolidated benchmark's Windows rows restored
and saved a directory they never create.
Guard the cache steps with the same self-hosted exclusion as the pnpm
store cache, drop them from the self-hosted standby and the manual
benchmark matrix, and assert the guards in the workflow specs. Probe for
sha256sum or shasum -a 256 so a host without either fails loudly instead
of reporting a digest mismatch, clean partial downloads when a job is
cancelled, keep the retry window plus its last attempt within five
minutes, pin that contract in the test, and report cache-directory
failures with the download URL.
Launchpad outages failed every Linux CI and E2E job in the bubblewrap
preparation step before any test ran, and a stalled connection held the
step for minutes because curl had no timeouts.
Restore and save the SHA-256-verified archive with actions/cache around
each preparation step so a warm cache needs no Launchpad request, verify
cached and downloaded files against the pinned digest before use, and
bound each curl attempt and the retry window. The download URL stays
pinned to the recorded Launchpad build.
Policy / Pre-Merge Check now runs verify-upgrade-guides --base <merged base commit>, which rejects a guide added outside docs/upgrade-guide/v<root version>/ unless the release branch of its version line already has it. The check re-runs on every base-branch push, so a release rejects open pull requests whose guides went stale.
Refs #7919