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
Commit admission: attribute a commits-API tip observation to the Git destination it admits #5056
Commit admission (#4970) records a verdict that a commit is reachable from a branch or tag of a dependency's origin. The verdict is keyed by the origin and the URL Git actually contacts. When the tip comes from a git ls-remote listing, the verdict is now recorded for the destination that answered.
When the tip comes from the hosting service's commits API, the verdict is keyed to the Git endpoint the consumer predicts it will contact. That endpoint was not contacted, so a later fetch through a different Git destination (for example a configured insteadOf mirror) reuses an observation made against the API host.
Proposal
Record a commits-API observation only for the destination it establishes. Either key it to the API host, or verify once at the Git destination before a later fetch reuses it. Keep the extra cost within the measured budget (see #5013).
Acceptance
A cell where a commits-API tip is observed and the later fetch goes through a different Git destination: the commit is verified at that destination before it is admitted.
No extra request when the API host and the Git destination are the same origin.
Decision: approve
Area: project
Scope: Approved by the Regent under delegation A. Follow-up to #4970. A commit-admission verdict established from the hosting service's commits API is recorded only for the destination it establishes: either keyed to the API host, or verified once at the Git destination before a later fetch through that destination (for example a configured insteadOf mirror) reuses it. A verdict from a git ls-remote listing stays keyed to the destination that answered, as today. Admission only becomes stricter; any doubt verifies at the Git destination or refuses.
Done when: Red-first cells: an API-established verdict is not reused for a fetch through an insteadOf mirror without verifying at that destination; a listing-established verdict is unchanged. The extra cost stays within the #5013 budget on the CI bench. W3d review, then QL H8, a CHANGELOG fragment and CI green.
Out of scope: Proxy routes, which follow the accepted #5021 residual and never fail silently; changes to what admission accepts for a single destination.
Review contact: Daniel Meppiel (@danielmeppiel)
Activity
danielmeppiel commentedon Nov 23, 2026
Decision: approve
Area: project
Scope: Approved by the Regent under delegation A. Follow-up to #4970. A commit-admission verdict established from the hosting service's commits API is recorded only for the destination it establishes: either keyed to the API host, or verified once at the Git destination before a later fetch through that destination (for example a configured insteadOf mirror) reuses it. A verdict from a git ls-remote listing stays keyed to the destination that answered, as today. Admission only becomes stricter; any doubt verifies at the Git destination or refuses.
Done when: Red-first cells: an API-established verdict is not reused for a fetch through an insteadOf mirror without verifying at that destination; a listing-established verdict is unchanged. The extra cost stays within the #5013 budget on the CI bench. W3d review, then QL H8, a CHANGELOG fragment and CI green.
Out of scope: Proxy routes, which follow the accepted #5021 residual and never fail silently; changes to what admission accepts for a single destination.
Review contact: Daniel Meppiel (@danielmeppiel)
Verify a commit the commits API expanded at the Git destination (micr…