Skip to content

ci(release): require explicit promotion holds and cap them at 4h - #1496

Merged
nixuuu merged 1 commit into
devfrom
fix/promotion-false-positive-detection
Nov 30, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/promotion-false-positive-detection

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 30, 2026

Copy link
Copy Markdown
Member

Change

Require an explicit Blocks-Promotion: #PR or Blocks-Promotion: SHA trailer in a fix or perf commit or its merged PR body. Ordinary references stay informational. Standard revert messages still identify the reverted commit, and promotion keeps eligible reverts with their originals.

Expire follow-up holds four hours after the original change qualifies for beta or stable, including in manual Promote. The promotion report shows the expiry. Use an open release-blocker issue when publication must wait for a repair beyond that window.

The false hold caused by the notification placement fix (#1468) motivated this change. The line it edited belonged to the theme builder (#1319), which caused the old blame heuristic to associate the two changes.

Verification

  • 51 focused promotion tests passed through check:tmp, including Git fixtures for edits to the same code, explicit trailers, expiry at the four-hour boundary, manual override and pre-push checks.
  • Edited-file lint, formatting and diff checks passed.
  • A read-only dry run against GitHub selected the current v0.11.0-beta.1 SHA 5f7f61645 for stable 0.11.0.
  • Full CI runs on the PR.

@nixuuu
nixuuu enabled auto-merge (squash) November 30, 2026 05:42
@nixuuu
nixuuu merged commit 6cc8238 into dev Nov 30, 2026
24 checks passed
@nixuuu
nixuuu deleted the fix/promotion-false-positive-detection branch November 30, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant