Skip to content

Revert "Re-enable SQLancer in CI" - #104833

Closed
alexey-milovidov wants to merge 4 commits into
masterfrom
revert-98390-fix-sqlancer-ci
Closed

alexey-milovidov wants to merge 4 commits into
masterfrom
revert-98390-fix-sqlancer-ci

Conversation

@alexey-milovidov

Copy link
Copy Markdown
Member

Reverts #98390

@clickhouse-gh

clickhouse-gh Bot commented May 13, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [3072589]

Summary: ❌

job_name test_name status info comment
Config Workflow FAIL
Check Workflows FAIL cidb
Dockers Build (amd) DROPPED
Dockers Build (arm) DROPPED
Dockers Build (multiplatform manifest) DROPPED
Style check DROPPED
Code Review DROPPED
Docs check DROPPED
Fast test DROPPED
CI Tests DROPPED
Fast test (arm_darwin) DROPPED

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label May 13, 2026

RUN mkdir /sqlancer && \
wget -q -O- https://github.com/ClickHouse/sqlancer/archive/308cb3b7a803c252412c8955790d57ca64b36128.tar.gz | \
wget -q -O- https://github.com/sqlancer/sqlancer/archive/main.tar.gz | \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clickhouse/sqlancer-test is part of the global DOCKERS build set (ci/defs/defs.py), so pulling SQLancer from main.tar.gz makes this image non-reproducible and allows upstream SQLancer changes to break unrelated ClickHouse PRs.

Please pin SQLancer to an immutable commit/tag archive (as in the reverted version) so CI behavior is deterministic.

Comment thread ci/jobs/sqlancer_job.sh
print(Utils.normalize_string(_Environment.get().JOB_NAME))
')
RESULT_FILE="$TMP_PATH/result_${NORMALIZED_JOB_NAME}.json"
RESULT_FILE="$TMP_PATH/result.json"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reintroduces a Praktika result-format mismatch: runner code reads Result.from_fs(job.name) from result_<normalized_job_name>.json and expects completed Result.Status values (OK/FAIL/ERROR).

Here the script writes result.json and uses top-level status values success/failure (plus null timing), so once this job is run again (manual run or re-enable), Praktika will not treat the result as completed and will convert it to an error.

Please keep the normalized result filename and Result.Status contract intact.

alexey-milovidov and others added 3 commits May 14, 2026 23:08
…lancer-ci

# Conflicts:
#	.github/workflows/pull_request.yml
The `gh` CLI token in the dev environment lacks the `workflow` scope, so
pushing the regenerated `.github/workflows/pull_request.yml` (which adds
the master-side `libfuzzer_tests` job) is rejected. Restore the file to
match the previous remote tip of `revert-98390-fix-sqlancer-ci` so the
master merge can be pushed; the `Config Workflow -> Check Workflows`
step will need a fresh `python3 -m ci.praktika yaml` regeneration pushed
from a workflow-scoped session.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

Superseded by master commit c3c145c ("Remove SQLancer from CI" by @Algunenano), which removed all SQLancer references from ci/workflows/master.py, ci/workflows/pull_request.py and the generated workflow YAMLs. The remaining diff in this PR would only revert ci/jobs/sqlancer_job.sh and ci/docker/sqlancer-test/Dockerfile to their pre-#98390 form — those files are now unused dead code, and reverting them would discard later fixes without any benefit. Closing.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant