Repository navigation
CI: run the full test suite only when review threads are resolved - #114729
Conversation
While a PR has unresolved review threads, run only builds and the preliminary checks (`Style check`, `Fast test`, `Code Review`), and turn the `Mergeable Check` red via the `can_be_merged.py` post-hook. The per-run verdict is recorded in a new `Review Threads` commit status. When the threads get resolved (or the new `ignore-unresolved-threads` label is added), `rerun_on_review_threads.yml` re-runs the last completed `PR` workflow run for the head commit: previously succeeded jobs are restored from the CI cache, so only the previously skipped jobs actually run. Review-thread events on PRs from forks carry a read-only token, so they are relayed through the trivial `Review Threads Signal` workflow and handled on its `workflow_run` completion in the trusted default-branch context. The `Code Review` job keeps running in the limited pipeline so the AI review can resolve its own addressed threads, which re-triggers the full suite automatically. Issue: #114724 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Workflow [PR], commit [12aceda] Summary: ✅ AI ReviewSummaryPR #114729 limits CI while blocking review threads remain unresolved and preserves the distinction between skipped testing, review-policy failures, and infrastructure failures. Reviewed the current diff at Missing context / blind spots
Final Verdict✅ Approve for the reviewed Python and documentation changes. No new inline comments or thread changes are needed. |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
Only the stripped binary is compared: the official master build keeps debug symbols while PR builds strip them, so the other binaries differ by construction. Compile time of recompiled translation units6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline. |
Address review feedback on the ci-force-all bypass, limited build allowlist, reconciliation, and infra retries.\n\nPR: #114729
…ed-review-threads
A thread is informational when its first comment starts with a non-blocking severity tag (`[Major]`, `[Minor]`, `[Nit]`, `[P2]`, `[P3]`, `Nit:`); such threads no longer hold the full test suite or the merge. The same predicate is used by every consumer: the config pre-hook, `can_be_merged.py` (both via `get_unresolved_review_threads_count`) and `rerun_on_review_threads.yml`. The AI review is asked to tag its inline findings with `[Blocker]` or `[Major]`, so that its majors do not block. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🕵 @alexey-milovidov, about your two points (833ed57, also merged
|
Yes, this is a usability problem. One option is to add this scheduled run. |
…r the run GitHub Actions has no review-thread event, so resolving the last blocking thread after a limited `PR` run had finished left the PR blocked until someone re-ran CI by hand. Add a scheduled `poll` job to `rerun_on_review_threads.yml`: every ten minutes it lists open PRs whose `Review Threads` marker (written for the PR itself) is failing on the head commit, counts their unresolved blocking threads, and for the ones with none left dispatches this workflow through `workflow_dispatch` with the PR number and head commit. The `reconcile` job then decides between a status refresh and a re-run, as for the other events, and the dispatch keys the concurrency group on the head commit, so it is serialized with label events and `PR` workflow completions for the same head. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🕵 Re: re-triggering CI when the last blocker is resolved after the run (b06df9c, also merged
I checked the GraphQL candidate query and the jq filter against the live repository and against synthetic data. The scheduled path itself only runs once this is on |
Resolve the conflict in `filter_job.py`: keep the small-PR rules factored out into `_small_pr_skip_decision` and place master's Iceberg performance skip in `should_skip_job` right before the small-PR decision, as on master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
alexey-milovidov
left a comment
There was a problem hiding this comment.
Now it looks good.
Closes: #114724
This change limits the PR CI pipeline to builds and preliminary checks while review threads are unresolved, and records the gate in
Review ThreadsandMergeable Checkstatuses. The gate re-evaluates at workflow completion and after changes to theignore-unresolved-threadslabel. GitHub Actions has no supported review-thread event, so thread changes after a completed workflow require a manual CI re-run; the documentation states that limitation.A failed pre-hook marker write leaves filtering disabled, so the full suite runs. The final review-thread marker preserves whether a limited pipeline needs replay even when another post-hook fails.
Only blocking threads count: a thread whose first comment starts with a non-blocking severity tag (
[Major],[Minor],[Nit],[P2],[P3],Nit:) does not hold the gate.Changelog category (leave one):
Workflow [PR]
Sync PR [sync-upstream/pr/114729]
Version info
26.11.1.1576-master(included in26.11and later)