fix(ci): stop test.yml racing release.yml's identical gate on main #1118
No reviewers
Labels
No labels
burndown-2026-06
pressure-test
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/ward!1118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/test-yml-duplicate-main-gate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
test.ymlandrelease.ymlboth fired on push to main with a byte-identicaltestjob: same container, same steps, same timeout. On every push the runner started two copies in the same second against the same checkout, and they raced.On
ee69336one went green in 36s while its twin died in 42s. That is what turned main red.Why it is not a code failure
go vet,go test, andgolangci-lintall pass clean insideagentic-os:latest, the same container CI uses.It is intermittent, as expected of a race. Runs 1811 and 1812 also started in the same second and both happened to survive.
The fix
release.ymlalready gatesreleasebehind that same test job withneeds: test, so main keeps full coverage.test.ymlgoes PR-only and stays the branch-protection status context. This drops the race and halves the Go CI work on every push to main.The GitHub file is the mirror source, so
.forgejo/workflows/test.ymlis regenerated withmake lint-workflows ARGS=--fix(ward#214). The mirror check passes.