Repository navigation
ci: drop three Python test jobs that repeat the Check workflow's work - #489
Merged
Merged
Conversation
on the same OS and Python, selecting the same tests: - reload-servers ran `pytest test_server_reload.py --durations 10` on Linux with Python 3.14. check.py's "pytest reload servers" phase runs the same command in the Check workflow, which runs on every pull request with no path filter. - windows-contracts ran three citry_lsp test files, test_embedded_provider and two test_format_command tests on Windows with Python 3.14. All 118 of those tests are in the suite the `test (3.14, windows-latest)` cell runs (none is marked e2e); the cell runs them with four workers instead of one at a time. - The `test (3.14, ubuntu-latest)` cell ran the non-browser suite that the Check workflow also runs on Linux with Python 3.14, there with coverage and the Vue render-parity collector, and with the qualification tests in their own phase. Together these took about 40 job-minutes per pull request. A manual workflow_dispatch of Python tests no longer covers Linux 3.14 or the reload tests; dispatch Check for those. The Rust tests Linux cell stays, because it links PyO3 against the runner's Python, not 3.14. A workflow test now ties the left-out matrix cell to the Check workflow's Python, and checks that Check still runs on every pull request and that both select the same tests, and the reload test checks that only check.py runs the reload tests; docs/codebase.md says where they run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
JuroOravec
force-pushed
the
ci/drop-repeated-jobs
branch
from
October 28, 2026 16:13
2b2f78e to
cec33a4
Compare
This was referenced Oct 28, 2026
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.
Part of #405, step 3, which Juro approved. This drops three jobs from
py--tests.yml, about 40 job-minutes per pull request; the main run 40096171657 spent 6 + 13 + 19 minutes on them. The Rust tests Linux cell stays, because it links PyO3 against the runner's own Python, not 3.14.Each dropped job and what already proves the same thing
reload-serverspytest packages/py/citry/tests/test_server_reload.py --durations 10on Linux, Python 3.14scripts/check.py,_reload_server_pytest_command). It is the identical command, OS, Python,uv syncoptions and uv version, in the Check workflow, which runs on every pull request with no path filter. check.py runs every phase even after one fails.windows-contractstest_embedded_provider.pyand twotest_format_command.pytests on Windows, Python 3.14test (3.14, windows-latest)cell. All 118 of those tests are in its-m "not e2e"selection (collected locally: 118 with no filter, 118 with it, 0 marked qualification), there are no worker-id skips, and the job had no extra env vars or steps. The only difference is that the cell runs them with four workers instead of serially.test (3.14, ubuntu-latest)-m "not e2e", without the reload file) on Linux, Python 3.14-m "not e2e and not qualification"phase plus its separate-m "qualification and not e2e"phase select exactly the same tests. It also adds coverage and the Vue render-parity collector. The reviewer measured all frame-budget shapes with and without the collector and got identical results.What no longer runs
node_modules: the dropped cell was the only Linux 3.14 run without them. The other Linux, Windows and macOS cells still cover that setup.workflow_dispatchof Python tests no longer covers Linux 3.14 or the reload tests. Dispatch Check for those.Tests and docs
test_ci_workflows.pyties the left-out matrix cell to the OS and Python of the Check workflow. If Check moves to 3.15, the test fails until the left-out cell moves too. It also asserts the two premises this relies on:pull_requesttrigger has no path filter, and the check.py step has noif:;test_repo_check_script.pyreplaces the test that pinned thereload-serversjob with one that checks that no workflow step runs the reload tests outside check.py.docs/codebase.mddescribes the left-out cell and where the reload tests run, and fixes the matrix command. The_frame_budget.pydocstring now says where the frame-budget tests run for 3.14.Evidence
checkcontext is required by the main ruleset, and nothing else in the repository names the dropped jobs.test_ci_workflows.pyandtest_repo_check_script.pypass (14), andscripts/validate.pypasses.🤖 Generated with Claude Code