Repository navigation
Pin the Tests workflow's runner image and use uv's managed Python - #1576
Merged
Merged
Conversation
GitHub placed #779's engine-free (3.14) leg on an ubuntu-26.04 runner on 2026-11-10 (job 130198769545). uv took that image's Python 3.14.4, and test_spawned_workers_score_identically_to_sequential_cli failed, because the head-to-head scorer refuses --worker-max-slices below 3.14.7. The same leg of #1568's run that day ran on ubuntu-24.04, where uv downloaded 3.14.10. Every job now runs on ubuntu-24.04, and the workflow sets UV_MANAGED_PYTHON=1, so uv never takes an image's own Python. A test holds both. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
Author
|
I merged this at 897e021. All 12 checks passed on that head, every job on |
18 of 19 tasks
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.
Four
engine-free (3.14)jobs that started on 2026-11-10 between 22:37 and 23:48 UTC, one each on #779, #1567, #1572 and #1575, each failed one test on anubuntu-26.04runner. uv took that image's Python 3.14.4, andtest_spawned_workers_score_identically_to_sequential_clifailed, because the head-to-head scorer refuses--worker-max-slicesbelow Python 3.14.7. The same job on anubuntu-24.04runner downloaded Python 3.14.10 and passed.What changes
.github/workflows/test.ymlruns onubuntu-24.04. Each saidubuntu-latest, which names whichever image GitHub assigns.UV_MANAGED_PYTHON=1. uv's help says uv uses a system Python when it holds no managed one, and that this option disables system Pythons. With it, uv takes only a Python it manages, and it downloads one when it holds none.docs/agent-guide.mdgains two sentences on the image and the setting, andchangelog.dgains one fragment.Invariant
Every job's
runs-onreadsubuntu-24.04, and the workflow'senvholdsUV_MANAGED_PYTHON: "1". A new test intest_ci_integration_job.pyreads both from the workflow with PyYAML. The test fails when I put one job back onubuntu-latest, and it fails when I delete the variable.Limits
ubuntu-26.04. A later pull request moves every job at once and updates the test.ubuntu-26.04withUV_MANAGED_PYTHON=1, so I haven't watched uv download its own Python on that image.select-countries,verifyand thecijob'srequire-resultsrun on the image's ownpython3, which this pull request leaves alone.Tests
test_ci_test_plan.py,test_ci_integration_job.py,test_run_engine_test_categories.py): 279 tests pass locally.python3 tools/ci_test_plan.py verifyprintsverification=ok,verify-workflowprintsworkflow=ok, andruff checkandruff format --checkpass on the test file.axiom: n/a: CI infrastructure
🤖 Generated with Claude Code