Repository navigation
fix(ci): skip superseded workflow runs without PR bindings - #2814
oliver-mee wants to merge 1 commit into
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Resolve stale runs and validate behavior .github/workflows/semantic-review.yml, scripts/semantic-review-stale-run.test.js, Makefile |
Both workflow steps check the full pull-request list for a unique stale match when exact-head resolution fails. Tests cover current, superseded, closed, invalid, ambiguous, and unmatched cases. The script-test target runs the new tests. |
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Bug fix · Severity of issue fixed: Medium
Suggested reviewers: liangshuo-1
Merge Risk: 
Minimal · previous review 9ea0b
-
No actionable merge-blocking risk is identified; the change is ready for normal checks.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passedFull details: Docstring Coverage
-
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (2 skipped: 2 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
8094ad01-00d1-4567-8247-77f140efe2b8
📒 Files selected for processing: 3
-
.github/workflows/semantic-review.yml
Makefile
scripts/semantic-review-stale-run.test.js
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
8094ad01-00d1-4567-8247-77f140efe2b8
📒 Files selected for processing: 3
-
.github/workflows/semantic-review.ymlMakefilescripts/semantic-review-stale-run.test.js
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
-
PR Quality SummaryCI did not complete successfully. Use the failed check links below to decide whether this PR needs a code change or a rerun. CI status
|
9ea0b36 to
d203920
Compare
Summary
Skip superseded CI workflow runs when their PR bindings and historical commit associations are empty. The current fallback throws before reaching the stale-head check.
Changes
make script-test.Test Plan
make script-test: 181 tests passed, plus workflow shell checks.Related Issues
Fixes #2812
🤖 Generated with GPT-6.1 Sol
🧑💻 Ideated, directed and reviewed by a human, @oliver-mee
Summary by CodeRabbit