Repository navigation
Exclude thevar1able's, rschu1ze's PRs from continue-all-prs scope - #115163
Conversation
|
Workflow [PR], commit [7cfa723] Summary: ❌
AI ReviewSummaryThis PR extends the repo-wide Findings💡 Nits
Final VerdictMinor follow-up requested before merge: make the extra |
|
@groeneai could you fix invoking |
thevar1able's PRs from continue-all-prs scopethevar1able's, rschu1ze's PRs from continue-all-prs scope
|
Acknowledged. The only gate on |
|
Fix: #115221 |
Requested in ClickHouse#115163 (comment): the job ran on changes that involve no builds. That PR changes only utils/exclude-authors.txt, yet the job was scheduled, found no profile data for the head, posted nothing and completed OK. Job.Config.digest_config answered two independent questions. is_affected_by reads "no digest" as "always affected", while the cache hooks read "has digest" as "cacheable". This job was introduced with a focused digest in 4e62df6; e64133b removed it to stop a cache hit skipping the job, because its output is a PR comment about one concrete commit. Defeating the cache was the intent, but the changed-file filtering went with it, and the only_docs special case in filter_job.py compensated for docs-only diffs only. So every other build-free diff still scheduled a comparison that cannot exist. Split the two meanings. Job.Config gains enable_cache, defaulting to True and listed in the digest's drop_fields so that no existing job's digest changes and no cache is invalidated; it is honoured at both cache seams, the lookup and the push. Build profile diff gets its original focused digest back together with enable_cache=False: the digest decides whether the job runs, the flag keeps every selected run running. Whether the profiled build can produce data for this head arrives through requires=["Build (arm_release)"], which already covers the build's sources, submodules, docker image and packaging, so none of that is duplicated on the consumer. The only_docs gate and helper are deleted, docs-only diffs now being covered by the same generic mechanism. One consequence is worth naming: no longer unconditionally affected, the job stops rescuing Build (arm_release) through requires, so that build is also skipped on build-free diffs. Those two jobs are the whole newly-skipped set, and this already happens today on the only_docs path. Generate LLVM Coverage Diff Report was asked about in the same request. It has no such hole: it is a Result produced inside llvm_coverage_job.py, and the llvm_coverage family is already gated on build affectedness. Not fixed here, and widened rather than introduced: a filtered job and a cache hit are indistinguishable to the runner, so on a skip the job's comment writer does not run and the build-profile-diff comment can outlive the head it describes. That window exists today for docs-only PRs. Closing it needs a live head read before every comment mutation, or workflow-level concurrency, both of which change comment semantics for every job. Verified that ci/tests/ passes with the same two unrelated pre-existing failures as the base tree, that praktika yaml produces no diff, and that Build (amd_debug)'s digest is byte-identical to master's. The new tests pin the scheduling matrix, both cache seams and the digest stability; each assertion was checked to fail under a deliberate mutation of the thing it pins. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Correction to my earlier link: #115221 was merged and then reverted (#115762). What you asked for is on master anyway, via @ maxknv's |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Version info
26.8.1.1583(included in26.8and later)