You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deps: fetch a default-branch dependency by its admitted commit, not by name #5199
bugLegacy classification name; prefer type/bug. Retained while discovery consumers are migrated.status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/bugSomething does not work as documented.
After #5195, every named dependency ref is fetched by the commit it was admitted at. A dependency that names no ref (the default branch) is still cloned by name and verified afterwards, so if the default branch moves between admission and the download, the fetched commit can differ from the admitted one and the install fails on verification instead of installing the admitted commit.
Decision: approve
Area: project
Scope: Stricter only (follow-up to #5195; the #5138 rule extended to default-branch dependencies). A dependency that names no ref is fetched by the commit admitted for its default branch, through the same by-commit paths #5195 uses for named refs, so the fetched commit always equals the admitted one, and the lockfile records it. If the admitted commit cannot be fetched, the install fails closed with a named message and never falls back to fetching by name. How the default branch is admitted is unchanged.
Done when: A red-first cell moves the default branch after admission and asserts that the lockfile and the deployed content match the admitted commit. A cell where the admitted commit is no longer reachable fails with the named message. Fetch cost stays within the #5013 budget. W3d, then QL H8. A CHANGELOG fragment and CI green.
Out of scope: Changing how the default branch is admitted. Sequenced after #5195.
Review contact: Daniel Meppiel (@danielmeppiel)
bugLegacy classification name; prefer type/bug. Retained while discovery consumers are migrated.status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/bugSomething does not work as documented.
Activity
danielmeppiel commentedon Nov 23, 2026
Decision: approve
Area: project
Scope: Stricter only (follow-up to #5195; the #5138 rule extended to default-branch dependencies). A dependency that names no ref is fetched by the commit admitted for its default branch, through the same by-commit paths #5195 uses for named refs, so the fetched commit always equals the admitted one, and the lockfile records it. If the admitted commit cannot be fetched, the install fails closed with a named message and never falls back to fetching by name. How the default branch is admitted is unchanged.
Done when: A red-first cell moves the default branch after admission and asserts that the lockfile and the deployed content match the admitted commit. A cell where the admitted commit is no longer reachable fails with the named message. Fetch cost stays within the #5013 budget. W3d, then QL H8. A CHANGELOG fragment and CI green.
Out of scope: Changing how the default branch is admitted. Sequenced after #5195.
Review contact: Daniel Meppiel (@danielmeppiel)
test(deps): a default branch that moves after admission installs the …
docs(changelog): the #5308 fixed line also closes #5189 and #5199
Revert #5199: fetch a dependency that names no ref by its admitted co…
test(deps): a default branch installs its admitted commit, also from …
test(deps): a default branch installs its admitted commit, also from …
test: re-anchor the #5310 mutation and discard a leaked verdict stage
fix(deps): keep a retried default branch's admitted commit; check it …
fix(deps): a default branch that cannot be resolved is fetched by nam…