Repository navigation
ci(dependabot): run monthly in 1 entry for each ecosystem (core ADR-0089) - #60
Merged
Merged
Conversation
…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.
Contributor
Author
Cross-review
Findings, both low and not blocking, and what the author did with each:
No finding needs a follow-up issue. Required checks are green at |
bketelsen
approved these changes
Nov 28, 2026
This was referenced Nov 28, 2026
Merged
Merged
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.
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: everyscheduleis onlyinterval: monthly. The entries staygithub-actions/,gomod/andnpm/web, each with 1 group ofpatterns: ["*"]and noapplies-to, so security updates stay ungrouped and immediate (ADR-0075). Commit prefixes are unchanged.internal/workflowcheck/baseline_test.go:dependabotUpdatereadsdirectoriesas well asdirectory, and the entry'sscheduleand groups. The newdependabotEntryGapslists every gap of row B13: an ecosystem in 2 or more entries, an entry with bothdirectoryanddirectoriesor neither, a schedule other than exactlyinterval: monthly, and an entry without exactly 1 group ofpatterns: ["*"]with nogroup-byand noapplies-to.TestDependabotCoversManifestsruns it on the real file and still fails on any uncovered manifest.TestDependabotEntryGapsmakes 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.ymlis not inrisk-paths.json; it changes which PRs the bot opens and when, not what CI runs or who may write.Verification
make checkgreen (host);make racegreen.make web-check(nsl) not run: the diff touches no file underweb/; CI runs it..github/dependabot.ymlfromorigin/main(3 weekly entries) and the new test,go test -count=1 -run TestDependabotCoversManifests ./internal/workflowcheckfails with 3 gaps,schedule map[interval:weekly], want only interval: monthlyfor each entry. With this file it passes (2 manifests, 3 Dependabot entries).TestDependabotEntryGaps: 16 subtests pass.