Skip to content

Close the cheap Dependabot config gaps in .github/dependabot.yml #4132

Closed

Description

@pithead-developer

What's the problem

Several pins sit outside what .github/dependabot.yml reaches, or inside a block that hides updates. Each fix is a config edit or a tiny file move.

  • The github-actions entry uses only directory: "/" (dependabot.yml:10-11). The three composite actions under .github/actions/* are not reached. They hold setup-trivy (install-trivy/action.yml:27, 37, 45) and trivy-action (retry-trivy-scan/action.yml:28).
  • /tests/runner sits in the shipped-image docker entry (dependabot.yml:47). That entry ignores major and minor bumps (:53-57). It hides node 20 to 22 and every uv 0.x minor, against the file's own test-harness policy (:97-110).
  • tests/integration/mergemine/Dockerfile (debian and rust digests, :12 and :19) is in no entry.
  • tests/integration/mini-stack/docker-compose.fake.yml:157 (Tari wallet digest) is in no entry. The docker-compose entry covers / only (:84-85).
  • .pre-commit-config.yaml has two hook repos with rev: pins (gitleaks :7, pre-commit-hooks :13). There is no pre-commit ecosystem.
  • os/rootfs/Dockerfile:34-35 hard-code go1.26.10. A Dependabot golang patch PR fails the build until someone edits them.
  • dashboard/Dockerfile:48 and tests/runner/Dockerfile:127 use COPY --from=ghcr.io/astral-sh/uv:0.12.13@sha256:.... Whether Dependabot reads COPY --from is unknown. Its docs say nothing. No past PR bumps that pin, and the minor ignore would hide it anyway, so history proves nothing.

What it impacts

Missed or broken bump PRs for CI scanner actions, the test-runner image, the mergemine and mini-stack harnesses, and pre-commit hooks. The golang patch PR fails on arrival. The uv pin may never move. None of this ships to users except the dashboard uv stage.

How I found it

From the 2026-11-15 audit, with an adversarial verifier on each slice. The owner ruled that day: "we should have it managed by dependabot and those dependabot prs should always be highest priority to get in first". They asked that we are "maximally covering dependencies with dependabot". Citations are re-checked against the pithead develop snapshot at eb929ce. The verifier confirmed the composite-action gap. It also corrected retry-trivy-scan from "partial" to "not covered".

How important is it

Medium. These are cheap, and they stop silent drift. The Trivy composite pins feed the CVE scanner used in CI. The golang failure is certain on the next patch. Nothing here is a release blocker. Placed in v2.0.5 under the supply-chain rule, and 2.0.4 stays focused.

Acceptance criteria

  • github-actions uses directories: ["/", "/.github/actions/*"]. Dependabot opens a PR for the composite-action pins within one weekly cycle, or its Insights page lists the three action.yml files.
  • /tests/runner is in the test-harness entry (no ignore block) and not in the shipped-image entry.
  • /tests/integration/mergemine is in a docker entry and /tests/integration/mini-stack is in a docker-compose entry. Insights shows both manifests detected.
  • A pre-commit entry exists for /. Insights shows .pre-commit-config.yaml detected.
  • A simulated golang patch bump (digest and tag changed) builds os/rootfs without editing any Go version literal.
  • The uv pin in the dashboard and runner Dockerfiles is a named FROM ... AS uv stage. Insights shows it detected. If it is not, the issue records that and the fallback taken.
  • Every new entry labels its PRs dependencies, or leaves the default label in place.

Possible solutions

  • Use the directories list with a glob for the composites. The singular directory key does not take globs.
  • Add the new directories to the test-harness docker group. Add a docker-compose entry for mini-stack with the same group and no ignore.
  • Replace the two go1.26.10 asserts with a check against go env GOVERSION from the builder image. Do the same for the klauspost and go-jose literals at :36-37 by reading them from COSIGN_GO_RAISES.
  • Replace COPY --from=ghcr.io/astral-sh/uv:TAG@sha256 with FROM ghcr.io/astral-sh/uv:TAG@sha256 AS uv plus COPY --from=uv. Dependabot does read FROM. Check Insights after one cycle.
  • The quadlet duplication (Image= literals in lib/pithead/36-quadlet-units.sh and the os/quadlet fixtures) moves to the sibling issue for restructured pins. It rewrites the shipped renderer and touches 27 fixture files, so it is not a cheap config edit.

Activity

  1. added this to the v2.0.5 milestone on Nov 15, 2026
  2. added
    infra
    dependencies
    on Nov 15, 2026
  3. pithead-developer commented on Nov 19, 2026

    @pithead-developer
    ContributorAuthor

    Bench-wait reconciliation (close as verified complete) — the outstanding wait for this issue's proof jobs quotes coordinator-global ids 4256/4257; resolved through the two submission keys, both jobs are completed and verified:

    • tier4-e2e → 996@c3ba5829662320b94a4cd57ac898091601cc92a5 — completed, conclusion failure, exit 1, baseline verified, rig restored. The failure cause is known, not unknown: exactly one row, the one-click upgrade reaches a real applied terminal (#1237) in the rigforge-control phase — expected applied, got [rejected] — the signature tracked by pithead#4116 (evidence posted there; its job 614 hit the identical row the same way). All 189 other rows pass, including every row this diff's path needs: branch deployed; stack reconciled, stack is healthy (pithead status), status exit code is 0 (healthy), doctor and the dashboard rows. The three downstream phase-skips are that phase's own by-design rig-baseline guard. This is a product row inside a completed job with baseline verified and rig restored, not a bench fault, so no bench-ci issue applies (and none has been filed, in line with the downtime-unavailability hold).
    • tier4-kvm phases=boot → 759@c3ba5829662320b94a4cd57ac898091601cc92a5 — completed, conclusion success, exit 0, 294 pass / 0 fail — the appliance image build from this head ran the reworked GOVERSION/COSIGN_GO_RAISES gobuild guards for real, and the image boots.

    Both unedited bench-ci evidence blocks are pasted in the PR #4248 body, GitHub checks on head c3ba582 are 47 pass / 2 skipping / 0 fail, and #4116 is recorded as the owner of the one red row. Nothing is queued or running for this issue; no resubmission is warranted — both jobs are completed and verified, and rerunning the battery to flip a row owned by #4116 is the flaky-test loop the rules forbid.

  4. pithead-developer commented on Nov 19, 2026

    @pithead-developer
    ContributorAuthor

    Waiting on a transient bench_outage condition, not on another issue. the runner could not read the bench to confirm that no job still runs on the PR head (the fleet listing is incomplete; a peer could not be read). The runner re-checks it (first at 2026-11-19T21:43Z, at most 5 times).

  5. pithead-developer commented on Nov 20, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #4291. PR #4248 is blocked on #4291. At head 4e9f437, "Build + scan the appliance rootfs" (run 44711159794) fails its Trivy gate with one finding: CVE-2026-95839 (HIGH, fixable) in containerd v2.3.4, bundled in the rootfs's docker-compose, which is built from the Compose v5.5.1 pin. This PR does not change that pin, and every os/** PR has the same red check. #4291 owns the finding, and PR #4279 is fixing it by moving to Compose v5.7.2. The review findings are addressed: the comments are removed in 4e9f437, and the local guards pass. tier4-e2e 1007 and tier4-kvm 759 passed on the previous head, which differs only in comments. To unblock, the #4291 fix has to reach develop-v2.0.5; then I merge the base into this branch, and the rootfs check and the rest of GitHub CI need to come back green. I've posted this explanation on the PR.

    The runner resumes this issue when that one closes.

  6. added
    blocked
    on Nov 20, 2026
  7. removed
    blocked
    on Nov 20, 2026
  8. pithead-developer commented on Nov 20, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    #4291 is closed, but it was fixed by #4279 on develop, and PR #4248's base develop-v2.0.5 still pins Compose v5.5.1, so "Build + scan the appliance rootfs" still fails on CVE-2026-95839 there. No open PR or issue backports #4279 into develop-v2.0.5. Can the owner confirm the route? Default: a separate backport of #4279 (the Compose v5.7.2 pin) into develop-v2.0.5, which I would merge into this branch once it lands, rather than merging develop into #4248 and dragging unrelated commits into the PR. Alternative: I open that backport PR myself against develop-v2.0.5, if you want it as part of this issue.

  9. added
    question
    on Nov 20, 2026
  10. pithead-architect commented on Nov 20, 2026

    @pithead-architect

    Ruling: Take the separate backport, but not under #4132. One PR per issue, and #4248 should stay limited to dependabot.yml gaps. Steps: (1) File a new issue on v2.0.5 with the six sections: "Backport PR #4279 (golang 1.26.11, Compose v5.7.2) into develop-v2.0.5". Its evidence is the CVE-2026-95839 red on "Build + scan the appliance rootfs" at #4248's head. Add a native blocked-by link from #4132 to it. (2) The backport cherry-picks #4279's squash commit onto a branch cut from develop-v2.0.5, with the same pins and the same _COMMIT values and no other change. Version metadata is untouched. Its rootfs scan must be green. It needs a tier4-kvm job on its own head because it touches os/. Both later forward merges then carry identical content. (3) Do not merge develop into #4248. Return blocked on the new issue. When the backport lands, the runner updates #4248's branch. Resolve any conflict on the os/rootfs/Dockerfile go-version lines your branch touches (issue lines 34-35) on your own branch. If #4248 touches os/, it needs its own tier4-kvm job on the updated head. The 2.0.4 forward merge is not a reason to wait: the forward merge only happens after 2.0.4 is published.

  11. removed
    question
    on Nov 20, 2026
  12. pithead-developer commented on Nov 20, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #4301. PR #4248 is blocked on #4301, "Backport PR #4279 (golang 1.26.11, Compose v5.7.2) into develop-v2.0.5", which I filed this session. The rootfs scan on develop-v2.0.5 fails on CVE-2026-95839 because the base still pins Compose v5.5.1. #4301 has the six sections, the v2.0.5 milestone, CVE evidence from #4248's head, and acceptance criteria. Those criteria are a cherry-pick of 7af8769 with no other change, a green rootfs scan, and a tier4-kvm job on its own head. #4132 now has a native blocked-by link to #4301. I did not merge develop into #4248 and I made no code change this round. #4248 stays limited to the dependabot.yml gaps. Its head 4e9f437 had tier4-e2e 1007 and tier4-kvm 759 pass on the previous head, which differs only in comments. When #4301 lands, the runner updates this branch. I will then resolve any conflict on the os/rootfs/Dockerfile go-version lines, recheck, and add a tier4-kvm job on the new head. I posted this on the PR and updated its body.

    The runner resumes this issue when that one closes.

  13. added
    blocked
    and removed
    blocked
    on Nov 20, 2026
  14. added a commit that references this issue on Nov 21, 2026
  15. pithead-developer commented on Nov 21, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #4248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesinfra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions