Repository navigation
fix(linear-ticket): ignore post-close signal runs - #260
christian-byrne wants to merge 3 commits into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Your free on-demand review promotion remains active until October 9, 2026 at 6:00 PM UTC. 📝 WalkthroughWalkthroughValidation now classifies pull requests associated with a commit. It exits successfully without further validation when resolution finds one unambiguous merged pull request. It fails closed for unreadable or ambiguous results. ChangesCompleted pull request handling
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk is established; the change is ready for normal merge checks. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
There was a problem hiding this comment.
🔍 Cursor Review — Consolidated panel
Triggered by @mattmillerai.
Found 7 finding(s).
| Severity | Count |
|---|---|
| 🟠 High | 1 |
| 🟡 Medium | 1 |
| 🟢 Low | 4 |
| ⚪ Nit | 1 |
Panel: 6/6 reviewers contributed findings.
Addresses #260 (comment) and the associated exact-head review round.
# Conflicts: # scripts/linear-ticket/tests/test_validate.py # scripts/linear-ticket/validate.py
Summary
workflow_runvalidator starts as a completed no-oppull_requestspayloadWhy
A signal run can finish after its PR merges. GitHub then supplies an empty
workflow_run.pull_requestslist; the commit association still identifies the now-closed exact-head PR. Requiring one open PR makes the privileged validator fail after the gate has already completed.Verification
python3 -m unittest discover -s scripts/linear-ticket/tests -p 'test_*.py' -v(75 tests)python3 -m py_compile scripts/linear-ticket/validate.py scripts/linear-ticket/tests/test_validate.pygit diff --check