A module release's empty build plan no longer blocks its PR #97

Merged
merge-queue merged 3 commits from release-empty-matrix into main 2026-11-16 17:08:47 -08:00
Owner

Part of https://openproject.home.romaine.life/wp/PIPT-12.

A Go library's release (release.module) builds nothing, so its plan's matrix is empty. Forgejo never creates a job from an empty matrix, so on fzt's first PR (romaine-life/fzt#23) build and check-build never appeared and the seven release jobs after them stayed blocked.

The plan itself stays empty. Only the workflow output changes: an empty plan is sent as one {toolchain: none} entry, so those jobs exist and their has-local condition skips them. A test covers both an empty plan and a real one.

The placeholder names a runner too, because build and check-build read runs-on from the entry. Proven on fzt's PR with its suites pointed at this branch: every release job skipped and all checks passed.

Part of https://openproject.home.romaine.life/wp/PIPT-12. A Go library's release (`release.module`) builds nothing, so its plan's matrix is empty. Forgejo never creates a job from an empty matrix, so on fzt's first PR (https://forgejo.romaine.life/romaine-life/fzt/pulls/23) build and check-build never appeared and the seven release jobs after them stayed blocked. The plan itself stays empty. Only the workflow output changes: an empty plan is sent as one `{toolchain: none}` entry, so those jobs exist and their has-local condition skips them. A test covers both an empty plan and a real one. The placeholder names a runner too, because build and check-build read `runs-on` from the entry. Proven on fzt's PR with its suites pointed at this branch: every release job skipped and all checks passed.
An empty release plan is one placeholder matrix entry, so its jobs exist and skip (PIPT-12)
Some checks are pending
Fleet / align (pull_request) Successful in 1s
CI / changes (pull_request) Successful in 2s
CI / actionlint (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / release-version (pull_request) Has been skipped
CI / check-versions (pull_request) Has been skipped
CI / check-fetches (pull_request) Has been skipped
CI / check-image-digests (pull_request) Has been skipped
CI / cached-images (pull_request) Has been skipped
CI / azure-cli (pull_request) Has been skipped
CI / home-cache-linux (pull_request) Has been skipped
CI / home-cache-windows (pull_request) Has been skipped
CI / suite-tests-linux (pull_request) Successful in 11s
CI / service-runtime (two) (pull_request) Successful in 11s
CI / service-runtime (one) (pull_request) Successful in 11s
CI / service-cancellation (pull_request) Successful in 14s
CI / suite-tests-windows (pull_request) Successful in 34s
CI / setup-linux (nas) (pull_request) Successful in 1m8s
merge-queue 2nd in line, behind #95: A shared step that waits for a container's health check
CI / setup-windows (pull_request) Successful in 2m12s
214dd682c8
The placeholder entry names a runner, which runs-on reads
Some checks failed
merge-queue 2nd in line, behind #95: A shared step that waits for a container's health check
Fleet / align (pull_request) Successful in 3s
CI / changes (pull_request) Successful in 4s
CI / actionlint (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / release-version (pull_request) Has been skipped
CI / check-versions (pull_request) Has been skipped
CI / check-fetches (pull_request) Has been skipped
CI / check-image-digests (pull_request) Has been skipped
CI / cached-images (pull_request) Has been skipped
CI / azure-cli (pull_request) Has been skipped
CI / home-cache-linux (pull_request) Has been skipped
CI / home-cache-windows (pull_request) Has been skipped
CI / service-runtime (one) (pull_request) Successful in 20s
CI / service-runtime (two) (pull_request) Successful in 18s
CI / suite-tests-linux (pull_request) Successful in 21s
CI / service-cancellation (pull_request) Successful in 30s
CI / suite-tests-windows (pull_request) Successful in 39s
CI / setup-linux (nas) (pull_request) Successful in 1m24s
CI / setup-windows (pull_request) Has been cancelled
f0bf38240a
Merge branch 'main' into release-empty-matrix
All checks were successful
Fleet / align (pull_request) Successful in 2s
CI / changes (pull_request) Successful in 2s
CI / actionlint (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / release-version (pull_request) Has been skipped
CI / check-versions (pull_request) Has been skipped
CI / check-fetches (pull_request) Has been skipped
CI / check-image-digests (pull_request) Has been skipped
CI / cached-images (pull_request) Has been skipped
CI / container-health (pull_request) Has been skipped
CI / azure-cli (pull_request) Has been skipped
CI / home-cache-linux (pull_request) Has been skipped
CI / home-cache-windows (pull_request) Has been skipped
CI / service-runtime (two) (pull_request) Successful in 11s
CI / service-runtime (one) (pull_request) Successful in 11s
CI / suite-tests-linux (pull_request) Successful in 11s
CI / service-cancellation (pull_request) Successful in 15s
CI / suite-tests-windows (pull_request) Successful in 27s
CI / setup-linux (nas) (pull_request) Successful in 1m5s
merge-queue landed on main
CI / setup-windows (pull_request) Successful in 1m48s
c127ab3e32
merge-queue deleted branch release-empty-matrix 2026-11-16 17:08:47 -08:00
Sign in to join this conversation.
No description provided.