Repository navigation
Add the ci-llvm-coverage label: run the LLVM coverage jobs only - #125647
Merged
Merged
Conversation
With the label a pull request runs the LLVM coverage family and nothing else: `Build (llvm_coverage_build)`, the `amd_llvm_coverage` stateless, integration and unit test shards, the `excluded_from_llvm` jobs with their `Build (amd_binary)`, and the `LLVM Coverage` merge job. The flaky check of the changed tests runs on the `amd_binary` build, because the coverage shards run without random settings and never fail the pipeline. The style check stays. Every other job is skipped. Made for pull requests that only add tests and need the coverage report, such as the pull requests of the coverage agent. They use `ci-force-all` so far: about 4,400 machine minutes per push, against about 1,400 with this label. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Workflow [PR], commit [2e2dfb6] Summary: ✅ AI ReviewSummaryThis PR introduces a dedicated Final Verdict✅ No new findings. |
maxknv
approved these changes
Oct 13, 2026
…ed; keep the flaky checks Review: the label narrowed the CI like `ci-functional-test`, but `can_be_merged.py` did not know it, so a pull request could merge with most checks skipped. Now the label blocks the merge unless every changed file is under `tests/queries/0_stateless/`; unknown changed files block too. Such a pull request has a binary identical to master's, so the skipped builds, stress tests, fuzzers and performance tests would find nothing new. To run the changed tests under every sanitizer, the label now keeps all stateless flaky checks with their builds (`FUNCTIONAL_TEST_FLAKY_CHECK_JOBS`), not only the `amd_binary` one. The coverage agent's pull requests switch from `ci-force-all` to `ci-llvm-coverage` (`AGENT_PRS`). Co-Authored-By: Claude Fable 5.1 <[email protected]>
…nt jobs Review: the `ci-llvm-coverage` rule skipped `COVERAGE_REPLACEMENT_JOBS` before the replacement rules saw them, so with `ci-no-coverage` on top the coverage family was skipped and nothing replaced it: a stateless-only pull request would have run only the style check and the flaky checks and still have been mergeable. Now the replacement jobs and their build (`COVERAGE_REPLACEMENT_BUILDS`, `Build (arm_binary)`) pass the rule when `ci-no-coverage` is present and go on to the replacement rules, as with `ci-coverage` + `ci-no-coverage`. Co-Authored-By: Claude Fable 5.1 <[email protected]>
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 14, 2026
This was referenced Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #124393
With the
ci-llvm-coveragelabel a pull request runs the LLVM coverage jobs, the stateless flaky checks and nothing else. Theci-coveragelabel adds the coverage jobs to the normal CI;ci-force-allruns every job. A pull request that only adds tests and needs the coverage report (for example a pull request of the coverage agent) needs neither.Jobs that run with the label:
Style checkBuild (llvm_coverage_build), and the builds of the flaky checks:Build (amd_binary),Build (amd_debug),Build (amd_asan_ubsan),Build (amd_tsan),Build (amd_msan)Stateless tests (amd_llvm_coverage, ...),Integration tests (amd_llvm_coverage, ...),Unit tests (amd_llvm_coverage)Stateless tests (amd_binary_excluded_from_llvm)andIntegration tests (amd_binary_excluded_from_llvm): the tests the coverage shards skipStateless tests (..., flaky check)for the five builds above: the changed tests under every sanitizer. The coverage shards cannot serve as the flaky check: they run without random settings and sanitizers and never fail the pipeline (functional_tests.py)LLVM Coverage: the merge job and its coverage commentEvery other job is skipped with the reason
Skipped, labeled with 'ci-llvm-coverage' - run the LLVM coverage jobs only.ci-no-coveragestill wins over the coverage jobs, as it does overci-coverage: with both labels thearm_binaryreplacement jobs andBuild (arm_binary)run instead of the coverage family.Merge rule (
can_be_merged.py): a pull request with the label can merge only when every changed file is undertests/queries/0_stateless/. Its binary is identical to master's, so the skipped builds, stress tests, fuzzers and performance tests would find nothing new, while the coverage shards run the whole suite in every configuration and the flaky checks run the changed tests under every sanitizer. Any other change blocks the merge with the label, as the otherci-*labels do; unknown changed files block too.The coverage agent's pull requests (
clickgapai, branchescovgap/) getci-llvm-coverageinstead ofci-force-allfrom the label hook (AGENT_PRS).The label changes nothing without changed files (the hook does not filter then), nothing on master, and nothing in pull requests without the label: a local run of
should_skip_jobover the 168 jobs of thePRworkflow keeps the same job set as before for an unlabeled pull request and for one withci-coverage.Machine minutes per push for a pull request that adds one stateless test (CI DB, 2026-10-13):
ci-force-all(coverage agent today, PR 124202)ci-llvm-coverage(this PR; coverage family as in PR 125583, flaky checks and builds as in PR 125318)The integration coverage shards are about 590 of the 1,500 minutes; the
LLVM Coveragejob needs all shard profiles for a complete measurement, so they stay.The workflow YAML does not change.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Add the
ci-llvm-coveragelabel: a pull request with it runs only the LLVM coverage jobs, the jobs for the tests excluded from coverage, the stateless flaky checks of the changed tests, and the style check. A pull request that changes only stateless tests can merge with the label.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/125647]
Version info
26.10.1.2359-master(included in26.10and later)