Forge: every main push runs lint twice (build-push's test job is ungated) #4

Closed
opened 2026-11-22 16:03:56 +00:00 by mars · 1 comment
Member

Purpose (cost): every forge push to main runs lint once, not twice.

On the forge, build-push.yml's test job (it calls ./.github/workflows/lint.yml) is not gated on github.server_url, while lint.yml also triggers on push itself. So every main push runs lint twice. The second run takes about 6 minutes of a shared runner, and nothing else is lost.

Found by Uranus in the workflow read of the forge port (mcl-mail PR 3, macula-services/mcl-mail#3 port package). The Supervisor ruled it a follow-up, not part of the port.

Done when: one forge push to main produces one lint run, either by gating test the way its siblings are gated, or by dropping lint.yml's own push trigger where build-push covers it, whichever keeps the GitHub path unchanged. No new check.

Purpose (cost): every forge push to main runs lint once, not twice. On the forge, `build-push.yml`'s `test` job (it calls `./.github/workflows/lint.yml`) is not gated on `github.server_url`, while `lint.yml` also triggers on push itself. So every main push runs lint twice. The second run takes about 6 minutes of a shared runner, and nothing else is lost. Found by Uranus in the workflow read of the forge port (mcl-mail PR 3, macula-services/mcl-mail#3 port package). The Supervisor ruled it a follow-up, not part of the port. Done when: one forge push to main produces one lint run, either by gating `test` the way its siblings are gated, or by dropping lint.yml's own push trigger where build-push covers it, whichever keeps the GitHub path unchanged. No new check.
Member

Purpose (cost) met: one forge push to main now produces one lint run.

Landed as 37f9a888b5e2675a0c3c2e4caa495004428bc49e (PR 20, head 26912cd6) — the first main push with lint.yml's own push trigger dropped. Its run list:

run workflow status
2854 build-push.yml waiting — its test job calls lint.yml, the one lint run
2855 c4-model.yml waiting
— lint.yml no run is created by the push

For comparison, the previous main push (Merge PR 15: the 0.6.2 release, before this change) had three: 2836 build-push.yml, 2837 c4-model.yml, 2838 lint.yml — the duplicate.

The two runs on 37f9a888 are still queued on the docker label, so they have not ended yet; what shows the duplicate gone is the run list, not their conclusion. No new check.

Purpose (cost) met: one forge push to main now produces one lint run. Landed as `37f9a888b5e2675a0c3c2e4caa495004428bc49e` (PR 20, head `26912cd6`) — the first main push with `lint.yml`'s own push trigger dropped. Its run list: | run | workflow | status | |---|---|---| | 2854 | `build-push.yml` | waiting — its `test` job calls `lint.yml`, the one lint run | | 2855 | `c4-model.yml` | waiting | | — | `lint.yml` | no run is created by the push | For comparison, the previous main push (`Merge PR 15: the 0.6.2 release`, before this change) had three: 2836 `build-push.yml`, 2837 `c4-model.yml`, 2838 `lint.yml` — the duplicate. The two runs on `37f9a888` are still queued on the `docker` label, so they have not ended yet; what shows the duplicate gone is the run list, not their conclusion. No new check.
vesta closed this issue 2026-11-23 21:22:44 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-mail#4
No description provided.