Repository navigation
feat: group Dependabot updates and sync skills once a day (ADR-0075) - #219
Merged
Merged
Conversation
Baseline row B13 now requires 1 group with patterns ["*"] for each Dependabot entry; security updates stay ungrouped. The skills sync runs once a day at 05:23 UTC and on dispatch, with no push trigger, and does not push a sync branch that already holds the same tree on the same parent. The replay in core#218 shows that the number of pull requests, not merge time, is the cost.
A catch-all group beside a specific group makes 2 version-update PRs, and an item that starts with a standalone '-' was skipped, so the check passed on an ungrouped entry. ungroupedEntries now requires exactly 1 group, reads standalone items, and reports a file it cannot read.
bketelsen
approved these changes
Nov 7, 2026
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
Two sources make most routine pull requests in frostyard: ungrouped Dependabot updates (1 PR for each dependency; 215 of 1229 PRs from 2026-10-07 to 2026-11-06) and the skills sync (13 push-triggered runs on 2 days in the same window, each one force-pushing every open sync PR and restarting its CI). The merge-lane replay in #218 showed that a faster merge path saves less than 1 minute a day: the number of PRs is the cost. New ADR-0075 amends ADR-0071 item 13 and ADR-0026 in part.
.github/dependabot.ymlentry has 1 group withpatterns: ["*"], as lodge, frostmail, frostnotes and porter do. A group with noapplies-tocovers version updates only, so security updates stay 1 PR each. The spec gives the read-only check;ungroupedEntriesintest/repository-baseline.test.mjsimplements it, with fixtures, and holds core's owndependabot.yml(grouped here) to it.sync-skills.ymldrops thepushtrigger and runs at23 5 * * *(05:23 UTC: 00:23 or 01:23 in New York) plusworkflow_dispatchfor an urgent sync.scripts/lib/skills-sync-repo.shalready updated an open sync PR instead of opening a second one (it lists open PRs on the head branch first). But each run makes a new commit (new timestamp, new SHA), so a daily run would force-push an unchanged open sync PR every day. The script now reads the remotechore/sync-core-skills(ls-remote --exit-code, then a depth-1 fetch) and skips the push when its tree and parent equal the new commit's. A changed tree or a moved default branch still force-pushes; a current branch with no open PR still gets a PR.Docs: the spec row,
docs/design/skills-sync-operations.md,docs/design/shared-skills.md,docs/org-adrs.md, the onboard skill's "next sync run" line, and link-only "Amended in part by" lines in ADR-0026 and ADR-0071 (ADR-0033).Follow-up, outside this PR: the other repositories get their grouping PRs from their owners; the conformance sweep files the remaining gaps as
baseline-B13.Risk tier
Risk tier: 3 —
risk:high. Matched risk paths and why the change is safe:.github/workflows/sync-skills.yml(workflow-and-permissions): only the triggers change (thepushblock goes, the cron goes from weekly to daily).permissions: {}, the pinned checkout,persist-credentials: false, the concurrency group and the token mapping are unchanged. Fewer runs, never more writes per run.scripts/lib/skills-sync-repo.sh(workflow-and-permissions): adds 2 read operations (ls-remote,fetch) through the same credential helper; the token is never in a URL or argument. The only new behavior is skipping a push. Anyls-remotestatus other than 0 or 2, or a failed fetch, fails that repository as before. The PR list/create logic is unchanged.Docs housekeeping
TEMPLATE.mddocs/README.mdVerification
make ci: 420 tests pass, docs gate oknode --test .agents/skills/frostyard-docs-site/tests/*.test.mjsgreenpermissions: {},persist-credentials: falsekeptscripts/lib/skills-sync-repo.shreverted tomain, 2 new tests intest/sync-skills.test.mjsfail ("an open sync PR with no change in core or in the consumer: the run pushes nothing", "a current sync branch with no open PR gets a new PR and no push"); with the change, all 22 pass.Review
b40d872d.1ac6ec73: Not ready, 2 blocking points inungroupedEntries: (1) a specific group beside a catch-all passed, which makes 2 PRs; (2) an item that starts with a standalone-was skipped, so an ungrouped entry passed. Fixed inbbe56f63: exactly 1 group, standalone items read, and the check fails closed with(unparsed) updates. Guards: thepip,bundlerandcomposerfixtures and the fail-closed test (they fail with the old function), and 1 line in.memory/corrections.jsonl.bbe56f63(re-review 1): Ready, blocking none.scripts/lib/skills-sync-repo.shand.github/dependabot.ymlfrom the base, tests kept):node --test test/sync-skills.test.mjs test/repository-baseline.test.mjsfails 3 tests on assertions: "an open sync PR with no change in core or in the consumer: the run pushes nothing", "a current sync branch with no open PR gets a new PR and no push", "B13: core's Dependabot configuration groups every entry (ADR-0075)".ungroupedEntriesatbbe56f63returns[]for the currentdependabot.ymlof lodge, frostmail, frostnotes and porter.make ciatbbe56f63: 421 pass.