Repository navigation
ci(dependabot): run monthly in 1 entry for each ecosystem (core ADR-0089) - #109
Merged
Merged
Conversation
client, ui, shell and dev/mcp-e2e each had an npm entry with its own group, so Dependabot opened up to 4 npm PRs a week. 1 npm entry now lists the 4 directories in directories, with 1 group (npm, patterns *), so it opens at most 1 npm PR a week across them. The @types/node major ignore moves to the shared entry (dev/mcp-e2e has no @types/node). TestDependabotCoversManifests reads directories as well as directory, refuses an entry that sets both, and wants exactly 1 npm entry: it fails on the old file (4 npm entries). AGENTS.md says so (Brian, 2026-11-21).
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. The gomod entries for / and /kit join 1 entry, and every entry runs monthly. internal/workflowcheck's dependabotEntryGaps checks the 1-entry rule, the schedule and the group of every entry; TestDependabotEntryGaps makes it find each gap on purpose. The comments no longer cite a person for the rule: they cite ADR-0089.
bketelsen
approved these changes
Nov 22, 2026
This was referenced Nov 28, 2026
Merged
Merged
Merged
Merged
bketelsen
pushed a commit
to frostyard/porter
that referenced
this pull request
Nov 28, 2026
…089) (#60) 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. Co-authored-by: frostyard-machines <[email protected]>
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. lodge had 7 weekly entries: 2
gomod(/,/kit) and 4npm(/client,/ui,/shell,/dev/mcp-e2e), each opening its own PR..github/dependabot.yml: 3 entries, 1 for each ecosystem.gomodlists/and/kitindirectories;npmlists the 4 npm directories. Everyscheduleis onlyinterval: monthly. Each entry keeps 1 group withpatterns: ["*"]and noapplies-to, so security updates stay ungrouped and immediate (ADR-0075). Commit prefixes and the@types/nodesemver-major ignore are unchanged; the ignore now also coversdev/mcp-e2e, which has no@types/node.internal/workflowcheck:dependabotUpdatereadsdirectoriesas well asdirectory, and the entry'sscheduleandgroups. 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 dependency paragraph and the B13 line say so.When this merges, Dependabot regroups at its next run, on the 1st of the month.
Risk tier
Risk tier: 3 —
risk:high(L2). Matched path:internal/workflowcheck/baseline_test.go(internal/{workflowcheck,repocheck,packagecheck}/**, governance). Safe: the test only reads more of each entry and refuses more shapes; it still fails on any uncovered manifest (checked by removing/dev/mcp-e2efrom the list:dev/mcp-e2e/package.json has no Dependabot entry)..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 check race crossgreen (host). The diff touches noclient/,ui/orshell/file; CI runs their nsl checks..github/dependabot.ymlfromorigin/main(7 weekly entries),go test -count=1 -run TestDependabotCoversManifests ./internal/workflowcheckfails with 9 gaps (schedule map[interval:weekly], want only interval: monthlyfor each entry, andpackage-ecosystem gomod in 2 or more entriesand the same fornpm). With this file it passes (6 manifests, 3 Dependabot entries).TestDependabotEntryGaps: 16 subtests pass.