fix(merge-queue): reject volume-skipped pending as genuine soft-fail (sop-checklist HOLD) #2368
Reference in New Issue
Block a user
Delete Branch "fix/sop-checklist-hold"
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?
Rebases the sop-checklist tail fix onto current main (
d768d866), removing stale review-check.sh + audit-force-merge collateral.Refs: internal#219 §1
REQUEST_CHANGES: this still does not remove the GENERAL pending-as-green override.
Merge-base diff is scoped to
gitea-merge-queue.py+ test, but the implementation atgitea-merge-queue.py:296-324still returnsTruefor any tier:lowsop-checkliststatus whose state ispendingunless the description contains[volume-skipped]. That only special-cases the volume-skipped symptom; a plain pending required sop-checklist still satisfiesrequired_contexts_green.Required fix shape: remove the generic tier:low pending acceptance (or restrict it to a positively identified genuine soft-fail state); pending required sop-checklist must HOLD / appear in
missing_or_bad, not pass.REQUEST_CHANGES on head
0e87fde0a3.Full-diff-scope is clean: .gitea/scripts/gitea-merge-queue.py plus .gitea/scripts/tests/test_gitea_merge_queue.py only, no review-check.sh collateral.
Blocking spec gap: this only rejects pending sop-checklist when the description contains
[volume-skipped]. The generic tier:low pending-as-green override remains:_is_tier_low_pending_ok()still returns True for any other pending sop-checklist status. The requested fix was broader: ANY pending/non-success required sop-checklist must HOLD and be added to missing_or_bad, not only volume-skipped pending. Please remove the generic pending-as-green override so pending sop-checklist never counts green.APPROVED. Independent merge-base review on
63c25d4c: diff is scoped to .gitea/scripts/gitea-merge-queue.py plus its test. The tier:low sop-checklist pending override is removed generally: _is_tier_low_pending_ok now always returns False, so any pending required sop-checklist is held/recorded as missing_or_bad, not just the [volume-skipped] case. Tests cover plain pending and volume-skipped pending rejection. No review-check collateral found.Reviewed current head
63c25d4c. Fresh merge-base diff is scoped to .gitea/scripts/gitea-merge-queue.py and its tests. _is_tier_low_pending_ok() now hard-returns False, so any pending/non-success required sop-checklist remains in missing_or_bad and HOLDS; success still passes through normal required_contexts_green. No remaining pending-as-green path found.