fix(ci): add labeled/unlabeled to sop-checklist-gate triggers (mc#817) #818
No reviewers
Labels
No Label
merge-queue
merge-queue-hold
release-blocker
release-test
security
test-label-sre
tier:high
tier:low
tier:medium
triage-test
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#818
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/sop-gate-labeled-trigger"
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?
Summary
Adds
labeledandunlabeledtopull_request_targettypes insop-checklist-gate.yml.Problem
When a
tier:*label is added to a PR after the initial gate run, the gate does not re-evaluate. This leaves a stalefailurestatus (from when no tier label was present → mode=hard → failure), requiring manual compensatingsuccessstatuses every time a label is applied.Fix
This triggers a fresh gate evaluation on every label add/remove, so tier:low PRs automatically get
successand tier:medium PRs get re-evaluated.Test plan
types:listSOP Checklist
Comprehensive testing performed
This is a workflow-trigger-only change; no business logic changed. The added triggers (
labeled,unlabeled) are standard Gitea pull_request_target event types.Local-postgres E2E run
N/A — workflow metadata only, no backend logic.
Staging-smoke verified or pending
Pending — will verify that adding a tier label triggers the gate on next run.
Root-cause not symptom
Root cause: missing
labeledtype in trigger list. Fixed by adding it. Closes mc#817.Five-Axis review walked
pull_request_targetevent model.LGTM — 2-word trigger extension, no logic changes. Fixes mc#817 stale-status problem cleanly.