Skip to content

Fast Test: drop non-core contribs that are never built - #108512

Merged
alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
Algunenano:fast-test-remove-noncore-contribs
Jun 25, 2026
Merged

alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
Algunenano:fast-test-remove-noncore-contribs

Conversation

@Algunenano

@Algunenano Algunenano commented Jun 25, 2026 •

Copy link
Copy Markdown
Member

ci/jobs/fast_test.py configures the build with -DENABLE_LIBRARIES=0 plus a short explicit allow-list of -DENABLE_*=1 flags. Several submodules in clone_submodules are gated by ENABLE_X = ${ENABLE_LIBRARIES} and are not on that allow-list, so they are checked out but never built: base64, rapidjson, fastops, libcpuid, simdcomp.

libpng was the only one of these actually compiled, via an explicit -DENABLE_LIBPNG=1. Its tests (04326-04339_png_*) are already tagged no-fasttest (the PNG format also needs base64, which Fast Test does not enable), so building libpng produced nothing the job uses.

This removes all six from the submodule checkout list and drops -DENABLE_LIBPNG=1. No test changes are needed: the five gated-off libraries were already disabled, and the PNG tests are already excluded.

Changelog category (leave one):

  • CI Fix or Improvement (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.7.1.81

`ci/jobs/fast_test.py` configures the build with `-DENABLE_LIBRARIES=0`
and only a short explicit allow-list of `-DENABLE_*=1` flags. Several
submodules in `clone_submodules` are gated by `ENABLE_X = ${ENABLE_LIBRARIES}`
and are not on that allow-list, so they are checked out but never built:
`base64`, `rapidjson`, `fastops`, `libcpuid`, `simdcomp`.

`libpng` was the only one of these actually compiled, via an explicit
`-DENABLE_LIBPNG=1`. Its tests (`04326`-`04339_png_*`) are already tagged
`no-fasttest` (the `PNG` format also needs base64, which Fast Test does not
enable), so building libpng produced nothing the job uses.

Remove all six from the submodule checkout list and drop `-DENABLE_LIBPNG=1`.
No test changes are needed: the five gated-off libraries were already
disabled, and the PNG tests are already excluded.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [eb70eec]

Summary: ✅


AI Review

Summary

This PR trims Fast Test by no longer initializing base64, rapidjson, fastops, libcpuid, simdcomp, and libpng, and removes the unused -DENABLE_LIBPNG=1 flag. Static review found no changed-line correctness issue: the removed contribs are either still disabled by -DENABLE_LIBRARIES=0 or were only useful for PNG, whose tests are already tagged no-fasttest.

Missing context / blind spots
  • ⚠️ The current Praktika PR report has zero test rows and GitHub still shows Fast test pending, so the actual CI run has not yet proved that the reduced submodule checkout configures and builds. A passing Fast test check would close this gap.
Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Jun 25, 2026
@Algunenano Algunenano mentioned this pull request Jun 25, 2026
1 of 21 tasks
@alexey-milovidov alexey-milovidov self-assigned this Jun 25, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Jun 25, 2026
Merged via the queue into ClickHouse:master with commit e6623bd Jun 25, 2026
167 checks passed
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jun 25, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
…-noncore-contribs

Fast Test: drop non-core contribs that are never built
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci 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.

3 participants