Main pushes and train PRs run the light set only; the legacy-fixture
job is removed. Each train runs both full configurations on a
separate test VM before it merges.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fold: the light set dropped the four heavy packages even when the PR
changes them, so a PR's own Red-first tests there first ran in a train. The
step now adds back each heavy package with a file of the PR's diff in it
(checkout depth 2: the merge commit and its base parent).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
core/storage, core/frontend/durable, core/host/master and core/authority
take minutes each and hold the timing-sensitive tests; under the CI host's
lowered I/O and CPU weight they reached the 10 minute package timeout on
PRs that do not touch them. A PR now runs every other package; pushes to
main and train PRs run the full list. Branch names reach the script only
through the environment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The suite writes real files with fsync to the self-hosted runners' disk:
about 650 GiB an hour on tp04 today, most of it from repeated runs on Draft
PRs and from the second full pass with the legacy-fixture tag on every PR.
A Draft PR now runs no Go suite (marking it ready starts one), and the
legacy-fixture pass runs on pushes to main and on train PRs, which carry
every change that merges.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On pull_request_target, base.sha is the base recorded when the PR was last
synchronised, so a PR opened before the spec-trace scripts landed checked
out a tree without them and failed with 'No such file or directory'.
github.sha is the base branch tip at the event; the diff still uses the
merge base of the PR's base and head.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fold. The line-multiset comparison let reordered statements,
directive comments (//go:build, //go:linkname, the cgo preamble), a //
inside a string after a rune quote, a line inside a multi-line raw
string and spacing inside a string all pass as comment-only. A small Go
program (sametokens.go, go/scanner) now requires the old and new token
sequences of each changed non-test Go file to be identical, comments
dropped except directives and the cgo preamble; gofmt realignment passes
by construction. The workflow passes old/new blobs instead of a diff.
DOCS no longer covers docs/spec (the models); CI no longer covers
scripts/, which holds shipped install and deploy scripts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A PR that changes no behaviour names one of three kinds instead of
IMPL, FIX or CHANGE. TEST may touch only tests, testdata and test
helpers; CI only .github/ and scripts/; DOCS docs, tests and Go whose
hunks change only comments. For DOCS the workflow passes the diff of the
non-test Go files, and the check compares removed and added lines with
line comments (outside strings) and spacing dropped; every changed Go
file must appear in that diff. Ten self-test cases added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub-hosted jobs in this org can queue for a long time; the test
workflow already sends same-repository PRs to the self-hosted runners and
forks to a hosted one. The spec-trace job does the same. It runs no PR
code on either.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The PR template now carries the five trace lines (Feature, Machine/INV,
Model, Red-first, Simplest). A pull_request_target workflow checks the
description from the base branch's script: the four trace lines are
present, NONE carries a reason, Machine/INV starts with the PR kind
(IMPL <machine>.<transition>, FIX <INV-ID> or CHANGE <machine>), and
Simplest is present when non-test Go under core/ or cmd/ changes.
The self-test runs before the check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seven of the last 80 runs were cancelled at the 25-minute job limit while the
tests were still running under host load (the default pass alone takes 11-16
minutes on a busy tp04). Each job now carries one pass, and 40 minutes leaves
room for a loaded runner without letting a hung run sit for long.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hosted runner queue for this org waited 2 h 18 min for the job on this
PR's own run (created 18:03Z, started 20:21Z), which blocks every merge on
it. tp04 now has two runner instances with the same label, so the
legacy-fixture job uses the default job's routing: same-repo PRs and pushes
run both passes in parallel on tp04, fork PRs stay on a hosted runner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two test passes ran back to back on the single tp04 runner and, under
load, together outran the 25-minute job timeout. The legacy-fixture pass
now runs as its own job on ubuntu-latest, in parallel with the default pass
on tp04, so each job carries one pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reproduction that starts passing fails the job and names its issue, so its
skip is removed. A fix PR drops its line here with its skip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The self-hosted runner keeps GOCACHE/GOMODCACHE on disk; the setup-go post
step uploading them (~4 GB) outlasted the 25-minute job timeout after all
tests had passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pushes to main and PRs from branches in this repository now run the
test job on the self-hosted tp04 runner (label tp04-seaweed-block).
PRs from forks keep running on ubuntu-latest, so code from outside the
repository never executes on our machine. The job name stays
"go test (linux)", so the required check is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- .github/workflows/test.yml, job 'go test (linux)': on pull_request and on
push to main; Go from go.mod; go build ./..., go vet ./..., and
go test -short -count=1 -timeout 10m ./... with CGO_ENABLED=0. Actions are
pinned by commit SHA, permissions are contents: read, and a new push to a
PR cancels the older run.
- core/ops/surface_test.go: fix the two go vet warnings (resp used before
the error check), so vet covers the whole module.
- cmd/blockvolume: a withdrawn port no longer has to answer ECONNREFUSED.
A successful connect still fails; any other dial error passes only if the
address can be bound again.
- core/host/volume: probe tests dial a listener they opened and closed,
not the fixed 127.0.0.1:1.
- core/replication/component: on failure, the G5-5C and G9A catch-up tests
log frontiers, peer status and the engine trace. Assertions and timeouts
are unchanged.
Test files and the workflow only; no product code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>