fix(fragment-check): classify pre-existing density failures during adoption #910
No reviewers
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit!910
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rigger/735-density-adoption"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
Refs #735. The density grader still grades every current fragment and keeps the existing #724 thresholds and check population unchanged. This adds only PR provenance to density findings:
git diff --name-only base head -- fragments_dirpath set and transports it asFRAGMENT_CHECK_CHANGED_FILES.fragment THIS PR touchedorpre-existing fragment. An empty path set is a real PR that changed no fragments; missing PR metadata is reported aschange status unavailablerather than guessed.Adoption decision record
Clean-then-adopt is the supported path; no baseline/grandfather mode is added. Grading only changed fragments would avoid the first-contact refusal but leave an old dense fragment to fail at cut time, restoring the latency #621 removed. The integration guide now tells adopters to grade and clean
changelog.d/before wiring the reusable, and explains why apaths:filter is not an adoption workaround. Both provenance classes remain subject to the same gate; a density FAIL remains blocking.Controls
fragment THIS PR touched.pre-existing fragmentand still exits 1.change status unavailableand still exits 1.changelog.d/<file>matching.Exact lineage
rigger/735-density-adoption47471df81ea3e883058e2ac22ac5896233a677c2mainat32f4bfe49d571da407d6740c97b19e8780b3bb95569751929847c87ca28fb78b969ebf0fc0ebf327block_on_outdated_branch=falseis active.Verification
go test ./... -count=1- PASSgo vet ./...- PASSgolangci-lint run --timeout=5m- PASS (0 issues)bats tests/- PASS (73/73)find scripts -type f ... | xargs -0 shellcheck --severity=warning- PASSgofmt -l .- emptygit diff --check- PASSforgejo-runner validate --directory .- PASS; all workflow/action files schema-validNo review requested and no merge performed. #876, #852, and #862 are untouched.
Reviewed release-toolkit#910 at exact head
5697519298.The handoff review-time base was
32f4bfe49d. Forgejo's final live base field now reportsd442f22b9aas main advanced; the reviewed head did not change.Decision: APPROVE.
Verification at this exact head: go test -count=1 ./..., go vet ./..., workflow Bats 42/42, fragment-check density PASS, gofmt/diff checks. Mutation checks made the empty-path inverse and unavailable-metadata tests fail when their respective protections were removed. No blocker found.
Reviewed release-toolkit#910 at exact head
5697519298.The handoff review-time base was
32f4bfe49d. Forgejo's final live base field now reportsd442f22b9aas main advanced; the reviewed head did not change.Decision: APPROVE.
Verification at this exact head: go test -count=1 ./..., go vet ./..., workflow Bats 42/42, fragment-check density PASS, gofmt/diff checks. Mutation checks made the empty-path inverse and unavailable-metadata tests fail when their respective protections were removed. No blocker found.