ci(drift): remove the git-matrix job #539
No reviewers
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea!539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "revert-git-matrix"
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?
Summary
Removes the
git-matrixjob added in #531. It has failed on every run since it merged, and it was built on a premise that does not hold.Why it goes
It never ran before it merged. Its first execution failed, and it has failed every day since.
The failure, reproduced locally under the same pinned image:
Current git builds
libgitcore.awith cargo. The job installed a hand-written list of build dependencies rather than asking the package manager, so it could not build the latest release at all.set -euthen killed the job before a single test ran.That hand-written dependency list was the root cause, not the missing cargo specifically. A curated list of another project's build requirements can only rot.
Why it is not worth fixing in place
Two things came out of the investigation that remove the job's reason to exist.
The floor is moving to the git in current Debian stable (#536), which is 2.47.3 - the git already inside the CI image. So
ci.yml'sgatejob verifies the floor on every push and every PR, and has done all along. The matrix was computing a result the gate already produced.And the job answered the wrong question. It ran the test suite against several git versions, which proves the paths the tests happen to walk. It says nothing about the flags on the paths they do not, and madtea drives 42 git subcommands. The check that was actually wanted is a generated CLI surface diff, the same shape as
surface-diffdoes for the forge API. That is #537.Everything the job carried existed to build a floor we no longer need: the pinned GPG trust anchor, the kernel.org download, the source builds, and the
madtea-gitcachevolume. All of it goes.What stays
The
workflow_dispatchtrigger and the 13:00 UTC cron from #533 stay - both are useful independent of this job.docs/contributing/ci.mdreturns to documenting two named volumes, so no runner-config change is needed. Themadtea-gitcacheentry added to the runner'svalid_volumesfor this job can be removed.Verification
Ran
drift.yml'ssurface-diffstep in the same digest-pinned image before merging:The file parses and declares the three expected jobs (
govulncheck,surface-diff,forgejo-smoke) with all four triggers intact. Every one of the 214 deleted lines belongs to the removed job; I checked the diff line by line rather than trusting the edit.Refs #536, #537.