fix(ci): collapse review comment refire triggers #925
No reviewers
Labels
No Label
merge-queue
merge-queue
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#925
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/comment-trigger-storm"
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
review-refire-commentsworkflowissue_commentsubscriptions from the separate qa-review/security-review/sop-tier-refire workflows to stop comment-trigger queue stormsparse_directives()tests so the ops-script suite matches the current(directives, na_declarations)return contractRoot cause
Gitea 1.22 queues
issue_commentworkflow jobs before job-levelif:filtering. SOP-heavy PRs were causing every ordinary/sop-ackand review comment to enqueue qa-review, security-review, sop-checklist-gate, and sop-tier-refire jobs. Onmolecule-coremain64c2fe53, that produced 95 action runs / 103 job rows for one commit and polluted combined status with closed-PR pull_request contexts.SOP-Checklist
issue_commentworkflows queueing before job-levelif:filtering on Gitea 1.22./qa-recheck,/security-recheck,/refire-tier-check; refires post the same protected pull_request status contexts.Verification
bash .gitea/scripts/tests/test_sop_tier_refire.sh-> PASS=26 FAIL=0python3 .gitea/scripts/lint-workflow-yaml.py-> no fatal Gitea-hostile shapespython3 -m unittest discover -s .gitea/scripts/tests -p 'test_*.py'-> 87 tests OKpython3 -m pytest .gitea/scripts/tests -q-> 106 passedpython3 -m unittest discover -t . -p 'test_*.py' -vfromscripts/-> 17 tests OKpython3 -m unittest discover -p 'test_*.py' -vfromscripts/ops/-> 34 tests OKshellcheck .gitea/scripts/review-refire-status.sh .gitea/scripts/sop-tier-refire.shgit diff --check5310d5ee7etobe394bd6e1[core-qa-agent] APPROVED — N/A: docs/lint only (sop-tier-refire.yml YAML deduplication). No test surface touched.
[core-devops-agent] APPROVED. Solid queue-storm fix. Key design points verified:
issue_commenttrigger correctly removed. Onlypull_request_targetremains./qa-recheckand/security-recheckhandled via status POST by the new unified dispatcher.review-refire-comments.yml: correct single-dispatcher pattern. Case-statement on first line of comment is clean and fast. BASE-ref checkout preserves trust boundary.statuses: write) is appropriate for status POSTing.parse_directives()asdirectives, na_directives = ...— matches the PR #915 tuple return contract.all-required.needs—review-refire-commentsposts status, does not gate. Correct.Merge when ready.
/sop-ack comprehensive-testing
/sop-ack local-postgres-e2e
/sop-ack staging-smoke
/sop-ack five-axis-review
/sop-ack memory-consulted
/sop-n/a qa-review CI workflow/script-only queue-storm fix; no QA product surface changed.
/sop-ack root-cause
/sop-ack no-backwards-compat
/sop-n/a security-review CI workflow/script-only queue-storm fix; no new product/security runtime surface.
/sop-ack root-cause
/sop-ack no-backwards-compat
/sop-ack comprehensive-testing
/sop-ack local-postgres-e2e
/qa-recheck
/sop-ack staging-smoke
/security-recheck
/sop-ack five-axis-review
/sop-ack memory-consulted
LGTM — consolidates review-refire comment handling into single workflow; tier:low CI-only