Skip to content

Exclude thevar1able's, rschu1ze's PRs from continue-all-prs scope - #115163

Merged
thevar1able merged 2 commits into
masterfrom
thevar1able-patch-2
Aug 17, 2026
Merged

thevar1able merged 2 commits into
masterfrom
thevar1able-patch-2

Conversation

@thevar1able

@thevar1able thevar1able commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

...

Version info

  • Merged into: 26.8.1.1583 (included in 26.8 and later)

@clickhouse-gh

clickhouse-gh Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7cfa723]

Summary: ❌

job_name test_name status info comment
Code Review ERROR
Build profile diff ERROR

AI Review

Summary

This PR extends the repo-wide utils/exclude-authors.txt list used by continue-all-prs.sh to skip stale --related PRs. The mechanism itself is straightforward, but the current diff broadens the global exclusion scope beyond what the PR title/body describe, so I left one inline nit on that mismatch.

Findings

💡 Nits

  • [utils/exclude-authors.txt:13] The PR title/body promise to exclude only thevar1able, but this line also excludes all rschu1ze-authored PRs from every user's default --related queue. Either document the expanded scope or keep the change limited to the stated author.
Final Verdict

Minor follow-up requested before merge: make the extra rschu1ze exclusion explicit in the PR contract, or drop it from this change.

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 17, 2026
@thevar1able
thevar1able enabled auto-merge August 17, 2026 17:09
@rienath rienath self-assigned this Aug 17, 2026
@thevar1able

Copy link
Copy Markdown
Member Author

@groeneai could you fix invoking Build profile diff CI job on changes that don't involve any builds?

Comment thread utils/exclude-authors.txt Resolved
@thevar1able thevar1able changed the title Exclude thevar1able's PRs from continue-all-prs scope Exclude thevar1able's, rschu1ze's PRs from continue-all-prs scope Aug 17, 2026
@groeneai

Copy link
Copy Markdown
Collaborator

Acknowledged. The only gate on Build profile diff today is only_docs() in ci/jobs/scripts/workflow_hooks/filter_job.py, so a change like this one (utils/exclude-authors.txt) is not docs and still schedules the job even though Build (arm_release) is skipped. The coverage family right below it already uses the right predicate (_has_build_digest_changes, built from build_digest_config.include_paths); I'll follow up here with a PR aligning this job with it.

@thevar1able
thevar1able added this pull request to the merge queue Aug 17, 2026
Merged via the queue into master with commit b92cc80 Aug 17, 2026
355 of 357 checks passed
@thevar1able
thevar1able deleted the thevar1able-patch-2 branch August 17, 2026 21:16
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 17, 2026
@groeneai

Copy link
Copy Markdown
Collaborator

Fix: #115221

pull Bot pushed a commit to peijunlin2008/ClickHouse that referenced this pull request Aug 21, 2026
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]>
@groeneai

Copy link
Copy Markdown
Collaborator

Correction to my earlier link: #115221 was merged and then reverted (#115762). What you asked for is on master anyway, via @ maxknv's 0922fe661, which scopes the BUILD_PROFILE_DIFF digest to its own script. Build profile diff is now skipped for build-free diffs, including a utils/exclude-authors.txt-only change like this PR. Nothing further from me here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants