Skip to content

configure.sh Asserts Dependabot Security Updates and Not Version Updates, So a Fleet-Wide Version-Update Outage Reported Clean Everywhere #1418

Closed

Description

@ptr727

repo-config/configure.sh asserts the two Dependabot security features and nothing about Dependabot version updates, which are the ones that keep a repository's hub reusable-workflow pins current. A fleet-wide outage of version updates therefore ran for weeks with every conformance surface reporting clean.

What happened

Account-level Code security > Dependabot > "Dependabot on self-hosted runners" was enabled. That routes Dependabot security and version update jobs to self-hosted Actions runners, and there are none, so on a private repository the jobs never ran. Public repositories were unaffected. The setting has since been disabled.

Measured 2026-09-07, across this fleet:

Repositories github-actions version-update PRs, all time
6 public carrying a dependabot.yml every one has them
6 private carrying a dependabot.yml none, except Financial-Modeling, which has uv bumps only

HomeAutomation-Config was consequently frozen at hub pin 389f5b9 (2.0.392, 2026-08-19) while Utilities and PlexCleaner sat at 2.0.560.

Why nothing caught it

Every per-repository probe reports healthy, because each one is measuring something else:

  • .github/dependabot.yml is present and correct on both branches, and structurally identical to the working public repositories' own.
  • repos/{owner}/{repo}/vulnerability-alerts returns 204.
  • repos/{owner}/{repo}/automated-security-fixes returns enabled: true.
  • configure.sh asserts exactly those two, at lines 414 and 415, and applies them at 235 and 236.

There is no REST endpoint for version updates at all. They are enabled by the presence of the committed config, so nothing in the repository or its settings distinguishes "configured and running" from "configured and silently dead". The killer is an account-level setting rather than a repository one, so a per-repository assert cannot read it even in principle.

Why it matters beyond the outage itself

A frozen pin means a repository runs a stale copy of every hub-hosted gate. That is #1412: HomeAutomation-Config's CI raised three dead-path findings that reproduced against no local run, because its pin predated the HUB_HOSTED exemption that silences them by exactly one commit. Those findings were carried into the #1399 resync pilot as real work before being checked. #1417 makes each verdict name its own copy so that specific confusion is cheap to resolve, and it does nothing about the pin drift that produced it.

Candidate checks, since the direct one does not exist

None of these reads the account setting, so each is a proxy. They are listed in the order I would weigh them rather than as a proposal.

  1. Assert the pin, not the mechanism. An audit check that a repository's ptr727/ProjectTemplate reusable-workflow pins are not more than some bound behind the hub. This measures the consequence anyone actually cares about, catches every cause including a Dependabot PR that opened and was never merged, and would have flagged a 185-version gap immediately. It needs a bound, and a deliberately held-back pin needs a way to say so.
  2. Assert that the mechanism has produced output. A repository carrying a dependabot.yml with a github-actions entry should have at least one Dependabot pull request within some window. Directly detects a dead mechanism, and is noisy for a repository whose actions genuinely have no updates due.
  3. Assert the account setting once, outside the per-repository loop. Not reachable from the REST API as far as I could determine, and my token could not list app installations to check further, so this may be a documentation note in the standup checklist rather than a check.

Option 1 looks strongest to me because it is the only one measuring the property the fleet depends on rather than a mechanism that happens to supply it.

Also worth noting: the "Automatically enable for new repositories" checkbox under that account setting is unchecked, so a newly created private repository should not inherit the broken state. That is worth confirming on the next repository stood up rather than assuming, since it is the same class of invisible failure.

Not a duplicate of #1055, which is about Dependabot pull requests that open and then stall at BLOCKED rather than about updates that never run.

Found while diagnosing #1412 during the #1399 fleet resync pilot.

🤖 Generated with Claude Code

Activity

  1. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Decision needed (decision triage, 2026-11-01)

    Question: Which check should catch a downstream repo whose hub reusable-workflow pins have stopped advancing: a bounded pin-age check in spec/audit.py with an opt-out, a requirement for a recent Dependabot PR, or only the existing standup and audit text?

    Options, recommended first:

    1. Bounded pin-age audit finding, driftNote opt-out (recommended): Measures what the fleet depends on and catches every cause (account-level self-hosted routing as in Dependabot: Five Private Repositories Still Stalled, and ESPHome-NonRoot Misses the devcontainers Ecosystem #1609, bump PRs stuck BLOCKED as in Dependabot PRs stuck BLOCKED despite auto-merge enabled and all checks green (PhotoCleaner, homeassistant-purpleair, ESPHome-Config) #1055, the stale-gate confusion in A dead-path Violation CI Reports Cannot Be Reproduced Locally, So the Fix Loop Is Push and Guess #1412). Time-based bound since releases are frequent; an audit report, not a PR gate, so reproducibility is unaffected. A driftNote naming the check ID marks an intentional hold (the Gate Each Declared Python Directory on Its Code #1914 pattern). No work in flight.
    2. Close as covered by AUDIT.md section 6 and STANDUP.md: Routing is covered (STANDUP.md:214, Document the Dependabot Self-Hosted-Runners Account Setting #1022; AUDIT.md section 6 reads whether the newest Dependabot run was routed and cancelled, Fix the Pre-Existing Defects a Whole-Unit Read of AUDIT.md Section 6 Found #1611), but neither catches a bump opened and never merged, and both run by hand. No work in flight.
    3. Require a Dependabot PR within a window: Detects a dead mechanism directly, but the issue itself rates it noisy for repos with no updates due, and AUDIT.md section 6 covers the main case more precisely. No work in flight.

    Evidence: spec/audit.py has check_dependabot_ecosystems (:1888) and no pin-age check, nor any in spec/checks.json. AUDIT.md:163-190 is the routed-job query (bf3b629, #1611, after this issue was filed). catalog/snippets/configs/dependabot.yml sets github-actions daily, so a healthy pin lags by days. The issue's own analysis rates option 1 strongest.

    Blocks: none

  2. added
    decision
    on Nov 1, 2026
  3. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer (decision triage, 2026-11-01): Option 1: a time-bounded pin-age finding in spec/audit.py, with a driftNote naming the check id as the opt-out for a pin held back on purpose. This is now work for the next burndown round.

  4. removed
    decision
    on Nov 1, 2026
  5. ptr727 commented on Nov 20, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim (2026-11-19 attended run, round 1, group 8): branch burndown/audit-pin-age.

    Issues: #1418, #4137.

    Predicted file set:

    • spec/audit.py
    • spec/checks.json
    • tests/test_audit_helpers.py
    • RESYNC.md
    • spec/audit_pins.py (granted by the orchestrator, 2026-11-19: the new check's module, since spec/audit.py sits at its size ceiling)
    • tests/test_audit_size.py (granted by the orchestrator, 2026-11-19: the new module's own ceiling)
    • tests/test_audit_pins.py (granted by the orchestrator, 2026-11-19: the new module's tests, one test file per module)

    Generated from those: none.

    Claim extended (2026-11-19): AUDIT.md.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions