Skip to content

ci(dependabot): run monthly in 1 entry for each ecosystem (core ADR-0089) - #60

Merged
bketelsen merged 1 commit into
mainfrom
irulan/dependabot-monthly
Nov 28, 2026
Merged

bketelsen merged 1 commit into
mainfrom
irulan/dependabot-monthly

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

frostyard/core ADR-0089 (baseline row B13) runs Dependabot version updates monthly, in exactly 1 entry for each ecosystem. This follows frostyard/lodge#109. porter's 3 entries are already 1 for each ecosystem; they ran weekly.

  • .github/dependabot.yml: every schedule is only interval: monthly. The entries stay github-actions /, gomod / and npm /web, each with 1 group of patterns: ["*"] and no applies-to, so security updates stay ungrouped and immediate (ADR-0075). Commit prefixes are unchanged.
  • internal/workflowcheck/baseline_test.go: dependabotUpdate reads directories as well as directory, and the entry's schedule and groups. The new dependabotEntryGaps lists every gap of row B13: an ecosystem in 2 or more entries, an entry with both directory and directories or neither, a schedule other than exactly interval: monthly, and an entry without exactly 1 group of patterns: ["*"] with no group-by and no applies-to. TestDependabotCoversManifests runs it on the real file and still fails on any uncovered manifest. TestDependabotEntryGaps makes it find each gap on purpose (16 cases: 1 good shape, 1 empty list, 14 gaps).
  • AGENTS.md: the B13 bullet names the new shape.

When this merges, Dependabot runs on the 1st of each month.

Risk tier

Risk tier: 3 — risk:high (L2). Matched path: internal/workflowcheck/baseline_test.go (internal/{workflowcheck,packagecheck}/**, governance). Safe: the test only reads more of each entry and refuses more shapes; it still fails on any uncovered manifest. .github/dependabot.yml is not in risk-paths.json; it changes which PRs the bot opens and when, not what CI runs or who may write.

Verification

  • make check green (host); make race green. make web-check (nsl) not run: the diff touches no file under web/; CI runs it.
  • Revert test: in a scratch worktree with .github/dependabot.yml from origin/main (3 weekly entries) and the new test, go test -count=1 -run TestDependabotCoversManifests ./internal/workflowcheck fails with 3 gaps, schedule map[interval:weekly], want only interval: monthly for each entry. With this file it passes (2 manifests, 3 Dependabot entries).
  • TestDependabotEntryGaps: 16 subtests pass.

…089)

frostyard/core ADR-0089 (baseline row B13) wants each package-ecosystem in
exactly 1 entry, its manifests' directories in that entry's directories,
a schedule of only interval: monthly, and 1 catch-all group with no
group-by and no applies-to. porter's 3 entries are already 1 for each
ecosystem; each now runs monthly.

internal/workflowcheck reads directories as well as directory, and
dependabotEntryGaps checks the 1-entry rule, the schedule and the group of
every entry, as frostyard/lodge#109 does; TestDependabotEntryGaps makes it
find each gap on purpose. AGENTS.md's B13 bullet names the new shape.
@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json labels Nov 28, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review

  • Reviewer: anthropic/claude-sonnet-5-5. Coder: openai/gpt-6.2-sol.
  • Reviewed: base 89c41424519a41bb59fe313fe40ba908ed32aaa9, head e4663a894c9efd6a3ea58159349ff697b16a43e3 (the current head). Paths: .github/dependabot.yml, AGENTS.md, internal/workflowcheck/baseline_test.go (the risk:high path).
  • Verdict: Ready. Blocking: none.

Findings, both low and not blocking, and what the author did with each:

  1. docs/org-adrs.md has no ADR-0089 line. It has no ADR-0075 line either, so the file stays consistent. No change.
  2. dirs() does not expand a glob in directories (core ADR-0089 allows globs). The file has no glob; a glob entry later makes the coverage test report a manifest as uncovered, a false failure, never a false pass. No change.

No finding needs a follow-up issue. Required checks are green at e4663a89.

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants