Repository navigation
docs(ci): correct the gha/base Python drift claim in dependabot.yml - #116
Merged
Merged
Conversation
The comment on the /toolbox/gha entry said the two Python pins are "built by the same CI gate, so a drift between them fails the build rather than shipping". Nothing compares them and nothing fails. #110 bumps the gha downloader stage to 3.15 against a 3.14 base and is green on all nine checks, which is how this surfaced. The claim was also aimed at the wrong thing. toolbox/gha's downloader stage runs no Python at all: it curls actionlint, checksum-verifies it and installs the binary, and the final stage builds FROM ${BASE}. The Python that ships in gha-toolbox is security-toolbox-base's, never that pin's, so a difference between the two is cosmetic rather than a runtime drift. Keeping them equal is housekeeping, one fewer upstream digest to follow, and not an invariant. Comment-only. The parsed YAML is asserted identical before and after, and no build input changed, so the five image pins stay current. Verified with the edit staged, because the build-inputs fingerprint reads the index and not the working tree: checking before `git add` is how a stale green gets reported. Unlike #113 this needs no follow-up pin move. One consequence worth stating plainly: #110 is safe to merge on its own. It was being held back on the grounds that it would create a drift this file said must not happen, and that reasoning rested entirely on the sentence being corrected here.
garymike
added a commit
that referenced
this pull request
Nov 17, 2026
…blished (#117) The follow-up half of #110, which took toolbox/gha's downloader stage to Python 3.15. Only gha-toolbox's fingerprint covers toolbox/gha, so unlike #113 this put 1 of 5 pins behind rather than all five: gha-security.yml inputs 3814fda70f2b -> 5fba9b54ee96 All five still move. The mover repoints every pin to the named commit's build once any one of them is behind, and that build rebuilt all six images, so the other four get functionally identical rebuilds at new digests. That is the same behaviour as the previous moves, not a change. gha-toolbox edef6c3c715e -> 4a82e44e8339 iac-toolbox c56d06a80c8c -> e09d25c28658 sast-toolbox 5b937edab76b -> 883b6720c8ac security-toolbox-base 19b34739f55a -> 92acc672ef2d skill-audit-toolbox 4a5ef990284a -> ef278f70d57a Pinned to 4f487a4 and not to current main, deliberately. #116 landed after #110 and is now main, but Build toolbox images is path-filtered to toolbox/** and .github/workflows/build-toolbox.yml, and #116 changed only .github/dependabot.yml. No build ran for it, so there is no sha-fb56f228 tag to resolve and naming the newest commit would simply fail. #116 changed no build input either, so the fingerprints are identical at both commits and 4f487a4's build is the right one to name. Verified against the pinned digests. Every build-inputs label read back matches the fingerprint this repo computes now: gha 5fba9b54ee96, skill-audit 0f70a0c57551, base ad7263c8eac8. The useful check this time is on gha, since #110 is what moved it: Python in gha-toolbox 3.14.8, Debian 12 (bookworm) zizmor 1.32.0 actionlint 1.7.12, built with go1.26.1 shellcheck 0.9.0 So the image ships base's 3.14 even though its downloader stage now builds on 3.15, which is what #116 corrected the dependabot.yml comment to say. That stage runs no Python and only produces the actionlint binary, and the binary works. The claim is now measured rather than reasoned. security-toolbox-base Python 3.14.8, osv-scanner 2.7.1, syft 1.57.1 skill-audit-toolbox SkillSpector v2.13.4, semgrep 1.184.0 gate-proof.sh 16 assertions PASS, 0 FAIL, exit 0 gecko-demo 64/100 exit 1, BLOCKS gecko-hook-demo 76/100 exit 1, BLOCKS config-injection-demo 100/100 exit 1, BLOCKS sibling-config-demo 51/100 exit 1, BLOCKS memory-poisoning-demo 27/100 exit 0, does NOT block Five non-blank score lines and zero command-not-found lines, both asserted separately, because a missing podman shim makes six assertions read a dead container as "blocked". The proof output is byte-identical to the one taken against the digests #114 pinned, which is the expected result: no scanner version changed, only the gha downloader's base image. Note for whoever reads the Tool drift badge next: it is red on real drift, not the zero-job case. betterleaks 1.10.1, trufflehog 3.99.9, semgrep 1.185.0, checkov 3.4.5 and skillspector 2.13.5 are all available. That is separate work and this commit does not touch it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The comment on the /toolbox/gha entry said the two Python pins are "built by the same CI
gate, so a drift between them fails the build rather than shipping". Nothing compares
them and nothing fails. #110 bumps the gha downloader stage to 3.15 against a 3.14 base
and is green on all nine checks, which is how this surfaced.
The claim was also aimed at the wrong thing. toolbox/gha's downloader stage runs no
Python at all: it curls actionlint, checksum-verifies it and installs the binary, and the
final stage builds FROM ${BASE}. The Python that ships in gha-toolbox is
security-toolbox-base's, never that pin's, so a difference between the two is cosmetic
rather than a runtime drift. Keeping them equal is housekeeping, one fewer upstream
digest to follow, and not an invariant.
Comment-only. The parsed YAML is asserted identical before and after, and no build input
changed, so the five image pins stay current. Verified with the edit staged, because the
build-inputs fingerprint reads the index and not the working tree: checking before
git addis how a stale green gets reported. Unlike #113 this needs no follow-up pin move.One consequence worth stating plainly: #110 is safe to merge on its own. It was being
held back on the grounds that it would create a drift this file said must not happen, and
that reasoning rested entirely on the sentence being corrected here.