Fix differential CI reference version drift - #14
Merged
ShawnChen-Sirius merged 1 commit intoAug 14, 2026
Conversation
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.
Fixes the scheduled differential CI failure caused by
chdb-core 26.7.0moving chDB's ClickHouse baseline to26.7.2while the workflow still extracted a fixedclickhouse-server:26.5.1.882reference binary.The differential job now installs the chDB test stack before choosing the reference binary, derives the ClickHouse Docker tag from
SELECT version(), and falls back fromX.Y.ZtoX.Ywhen the exact patch tag is unavailable. The version-skew guard stays in place, but future chdb-core baseline bumps will pull a matching reference binary instead of failing on a stale hard-coded tag.Verified with:
pytest -q tests/differentialruff check tests/differentialgit diff --checkclickhouse/clickhouse-server:26.7.2exists on Docker HubNote
Fix differential CI version drift by detecting chDB's ClickHouse version at runtime
SELECT version()via chdb and exportsCHDB_CLICKHOUSE_VERSION,CLICKHOUSE_TAG_PATCH, andCLICKHOUSE_TAG_MINORinto the GitHub environment.pip install -e .[dev,test-differential]) is moved earlier in the job, before the version detection step that requires chdb to be importable.Macroscope summarized 5c4e96f.