Repository navigation
CI: resolve the performance reference build under its workflow prefix - #117715
Merged
fm4v merged 2 commits intoSep 2, 2026
Merged
Conversation
find_prev_build and find_base_release_build hand-spelled REFs/master/<sha>/build_<type>/clickhouse. Praktika now appends the normalized workflow name to every static S3 prefix, so the artifacts live under REFs/master/<sha>/masterci/build_<type>/clickhouse and the old key resolves for no commit in the tracking window. The loop takes the first sha that resolves, so every run pinned its "master head" reference to the last commit built under the old layout, 2026-08-31 08:23, and reported two days of master changes as the pull request's own. Once that commit fell out of the 100-commit window the job took the silent fallback to master/<arch>/clickhouse instead, an unrelated artifact at an unrecorded sha. Ask praktika for the prefix instead of restating it, and drop the fallback: an unresolved reference now fails the job rather than producing numbers measured against an unknown baseline. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Contributor
|
Workflow [PR], commit [b1ae34e] Summary: ✅
AI ReviewSummaryRoutes the master-reference build lookup and the previous-master perf-result lookup through Praktika's workflow-prefixed S3 layout, and removes the silent fallback to Final Verdict✅ No remaining findings. |
fm4v
enabled auto-merge
September 2, 2026 15:27
The release_base delta gate walks REFs/master/<sha>/result_*.json on the report bucket, which the same prefix cutover moved under masterci/. Every predecessor now reads as missing, so the walk classifies the whole tracking list as never scheduled and the gate silently degrades to the absolute slower-count threshold. Verified against the live window: result_masterci.json resolves for none of the last 8 master commits under the old key and for 7 of them under the new one, the eighth having published no report at all. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
maxknv
approved these changes
Sep 2, 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.
Performance Comparisonmeasures against a referenceclickhousebuilt from master.find_prev_buildandfind_base_release_buildinci/jobs/performance_tests.pyhand-spell that artifact's key asREFs/master/<sha>/build_<type>/clickhouse. Praktika builds it with_Environment.get_s3_prefix_static, which now appends the normalized workflow name unconditionally after_should_include_workflow_name_in_s3_prefixwas deleted in #110081 (merged 2026-08-31). The artifact lives atREFs/master/<sha>/masterci/build_<type>/clickhouse.The loop returns the first sha in
master_track_commits_shathat resolves, so the failure was silent and had two phases.Until 2026-09-02 13:55 every run pinned its "master head" reference to
2abd0f27(2026-08-31 08:23), the last master commit built under the old layout, and every master change landed after it was reported as the pull request's own. On #117619, abase58change, 51 queries came back faster across 12 shards, 124 first-parent master commits of drift:preliminary_distinct_abandoning #0at 1.53x is #116508, merged inside that window, andhashes,uniq_to_count,distinct_high_cardinality,promql_set_operator_presence_maskandwide_integer_divisionare the same story.From 13:56 the window slid past that commit, nothing resolved, and the job took its fallback:
WARNING: No build found for master track commits, falling back to latest master build, thenmaster/aarch64/clickhouse, a 185 MB stripped artifact from a different publishing job at an unrecorded sha, against the 1.2 GB CI build the comparison expects. Both themaster_headpull request runs and theMasterCIruns that feed the dashboard baseline are affected.So I ask praktika for the prefix rather than restating it, and drop the fallback. It is what turned a hard resolution failure into two days of quietly wrong numbers; an unresolved reference now asserts, as the
release_basearm already did.release_baseitself has not broken yet only because the release base shas predate the cutover, and it would have failed loudly rather than drifted.Validation, calling the real function against the live 100-commit window:
build_arm_release0/100 resolve before the change and 58/100 after, first at depth 5;build_amd_release0/100 and 52/100, first at depth 1.The same cutover also broke the
release_basedelta gate in this file:find_prev_master_slower_countandclassify_missing_prev_master_runreadREFs/master/<sha>/result_*.jsonfrom the report bucket, which moved undermasterci/too. Every predecessor now reads as missing, the walk classifies the whole tracking list as never scheduled, and the gate degrades to the absolute slower-count threshold.result_masterci.jsonresolves for none of the last 8 master commits under the old key and for 7 under the new one, the eighth having published no report at all. Second commit.Caused by: #110081
Related: #117718
Related: #117701
Related: #117580
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix the performance comparison measuring against a stale or unrelated reference binary after the CI S3 prefix change.
Workflow [PR]
Sync PR [sync-upstream/pr/117715]
Version info
26.9.1.554(included in26.9and later)