ci: do not fail-fast the release build matrix - #42
Conversation
Each release line is built and Trivy-scanned against its own oCIS binary, so a finding on one line says nothing about the others. With fail-fast at its default, the first failing leg cancels the remaining ones mid-build and their real status is never reported. This is not hypothetical: the 8.1.0 leg has been failing its Trivy gate since 2026-09-02, which cancelled the 8.2.0 and 8.0.8 legs in every run since. The 8.2.0 line turns out to be affected by the same three advisories (its go.mod pins golang.org/x/crypto v0.54.0, golang.org/x/image v0.44.0 and google.golang.org/grpc v1.82.1), and that went unnoticed for a week purely because the leg never reached its scan. Tracked upstream as owncloud/ocis#12903 for 8.2 and owncloud/ocis#12810 for 8.1. This does not make CI green -- it makes it truthful. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
CI result on this PR confirms the intent — all three release lines reached their Trivy step
The 8.2.0 scan matched the One residual limitation worth flagging: the per-line legs are now independent, but the two |
What
Adds
fail-fast: falseto the release build matrix in.github/workflows/main.yml.Why
Each release line is built and Trivy-scanned against its own oCIS binary, so a finding on one
line says nothing about the others. With
fail-fastat its default (true), the first failingleg cancels the remaining ones mid-
Build image, and their real status is never reported.This is not hypothetical. The 8.1.0 leg has been failing its Trivy gate since 2026-09-02,
which has cancelled the 8.2.0 and 8.0.8 legs in every run since — including
run 34207664511, an unrelated
Renovate
docker.io/golangbump.While investigating that failure it turned out the 8.2.0 line is affected by exactly the same
three advisories, which had gone unnoticed for a week purely because its leg never reached the
scan:
v8.2.0pinsgolang.org/x/cryptogolang.org/x/imagegoogle.golang.org/grpc8.2.0carries thelatesttag, so that is the leg whose status we can least afford to havemasked.
Expected result on this PR
This change does not make CI green — it makes it truthful. On this PR expect:
v8.0.8ships x/crypto v0.55.0,x/image v0.45.0, grpc v1.83.1)
No
.trivyignoreentries are added here. The fixes belong upstream and are tracked asowncloud/ocis#12903 (8.2 — needs a grpc v1.83.0 → v1.83.1 bump on
stable-8.2plus an 8.2.1release) and owncloud/ocis#12810 (8.1 —
stable-8.1is already clean, just never tagged).🤖 Generated with Claude Code