Skip to content

[python] Drop unoptimized profile from platform config tests - #6874

Open
gz wants to merge 1 commit into
mainfrom
fix-unoptimized-profile-churn
Open

[python] Drop unoptimized profile from platform config tests#6874
gz wants to merge 1 commit into
mainfrom
fix-unoptimized-profile-churn

Conversation

@gz

@gz gz commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

CI compilers precompile dependencies only for the default optimized profile. A platform test pipeline requesting profile: unoptimized with cache: false forced a cold build of the full dependency tree (~4 minutes) that serially blocked every other queued Rust build on its compiler replica. Under parallel test load that backlog consumed the start timeout of unrelated tests and made them flake.

Changes in python/tests/platform/test_pipeline_configs.py:

  • test_pipeline_runtime_config: delete the second pipeline creation. It carried the unoptimized + cache: false config, its SQL compiled (comment-only program), and nothing ever read it back: the subsequent PATCH and all assertions target the first pipeline. Dead code whose only observable effect was the queue-hogging build.
  • test_pipeline_program_config: assert the profile round-trip with dev instead of unoptimized. The test's SQL intentionally fails to compile, so no Rust build runs either way; dev still exercises a non-default profile through PUT/PATCH.

No test under tests/platform sets unoptimized anymore.

CI compilers precompile dependencies only for the default optimized profile. A test pipeline requesting profile=unoptimized with cache=false forced a cold build of the full dependency tree (~4 minutes) that serially blocked every other queued Rust build on its compiler replica, timing out unrelated tests under parallel load.

test_pipeline_runtime_config created that pipeline and never used it: the subsequent PATCH targets the first pipeline. Delete the dead creation. test_pipeline_program_config asserts a non-default profile round-trips; 'dev' covers that and its SQL never compiles, so no Rust build runs either way.

Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
@gz
gz enabled auto-merge August 16, 2026 19:52
@gz
gz requested a review from mihaibudiu August 16, 2026 19:52
@gz
gz added this pull request to the merge queue Aug 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants