Repository navigation
Hold the floor leg to a release cutoff, name the CPU integration job, and state the CHANGELOG rule - #783
Merged
Conversation
amazloumi
self-requested a review
December 5, 2026 21:01
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
This was referenced Dec 5, 2026
7 of 10 tasks
5 of 7 tasks
amazloumi
approved these changes
Dec 6, 2026
amazloumi
left a comment
Member
There was a problem hiding this comment.
Approve. The floor leg's install with the cutoff resolves exactly the 122 packages of main's last green floor run, the check and unit tests pass on it, the renamed job is not a required check, and the CHANGELOG rule matches the repo's policy.
5 of 7 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.
Summary
Three CI and contributor-guidance changes, one commit each. Nothing under
kempnerforge/,tests/orscripts/changes, andCHANGELOG.mdis untouched.#746 item 3: the floor leg installs only releases uploaded before a cutoff (
.github/workflows/ci.yml). The leg'suv pip install --resolution lowest-directholds its 19 direct requirements (the 17 declared dependencies and pytest with pytest-timeout) at their lowest allowed versions, but the other 102 packages it installs (122 in all, counting kempnerforge itself) resolved on every run to the newest release the requirements allowed, so an upstream release alone could turn the requiredunit-testscheck red on every PR. On 2026-12-05, main's floor leg installed fastapi 0.165.1 at 06:51 UTC and 0.165.2 at 15:31 UTC; between 2026-11-15 and 2026-12-05, 23 of those pins moved. The install now ends with--exclude-newer 2026-12-05T00:00:00Z, so uv considers only files uploaded before that time.rich<14.3.4constraint, the check step and the leg's place in the requiredunit-testscheck stay as they were.scripts/check_dependency_floors.pynor its test reads the install command, so neither changes.docs/getting-started/install.md(Dependency floors) andCONTRIBUTING.md(Dependencies) describe the cutoff and when to move it.#336, CPU part: the job that runs
tests/integration/on a CPU runner is named for it.gpu-testsis nowintegration-cpu, with the same trigger (manual dispatch only) and the same steps. Most of the tier skips there: at this head, the job's command passes 18 tests and skips 139 in a CPU replica of the job's environment (Python 3.14.2, torch 2.14.1), and the last dispatchedgpu-testsrun on GitHub (run 39974012567, 2026-10-23) passed 18 and skipped 85.Protect mainruleset requires onlyunit-testsandlint, the classic branch protection requires no checks, and on maingit grep gpu-testsfinds only the job and itsCONTRIBUTING.mdrow, both changed here.CONTRIBUTING.md: the CI table's row says the job runs on a CPU runner, where the integration tests that need a GPU skip. A new paragraph under the table says that every job runs on a CPU runner, that no workflow runs the GPU tiers (tests/distributed/,tests/e2e/,tests/smoke/) or the integration tests that need a GPU, and that the Codecov report and badge count the unit tests alone.README.md: the codecov badge's alt text and title say it counts the unit tests alone, and the Contributing section says so in a visible sentence.#492: PRs leave
CHANGELOG.mdalone, and GitHub's release notes group merged PRs by label.CONTRIBUTING.md(Step 5, PR guidelines): a PR leavesCHANGELOG.mdalone and puts every user-visible change and behavior note in its Summary. Each release's section ofCHANGELOG.mdis written when the release is cut, from GitHub's generated release notes and those Summaries..github/PULL_REQUEST_TEMPLATE.md: the Summary comment says the same in one line..github/release.yml(new): the generated notes list merged PRs under Enhancements (enhancement), Bug fixes (bug), Documentation (documentation), Dependencies (dependencies) and Other changes (*), and leave out PRs labeledduplicate,invalidorwontfix. The names matchgh label list. The catch-all matters here: 96 of the last 150 merged PRs (2026-11-04 to 2026-12-05) carry none of the four labels, 77 of them onlycoreor no label at all, and GitHub's docs saylabels: '*'is required to display a catch-all category.ci.yml: thechangesjob lists.github/release.ymlamong the files that do not run the unit tests.For the maintainer: defaults taken, each yours to reverse
[tool.uv] exclude-newerinpyproject.toml, which would also hold backuv lockfor everyone.integration-cpu, with no separate display name.release.yml: Enhancements before Bug fixes, the titles above, and the Other changes catch-all. It has no category forcore,vlmorimage_understanding, and Dependabot'spython:uvlabel is not added to Dependencies.--exclude-newer-package, which uv's own error hint suggests (see Testing). Every package then moves together, and per-package exceptions do not pile up.Merging: at 4dbfe32, on main 3899909,
git merge-treemerges cleanly with each open PR: #777, #776, #775, #770, #709 and #648, and none of them changes a file this branch changes. A latervideoextra (#399) would edit the same install line.Testing
uv run ruff check .passesuv run ruff format --check .passesuv run pyright kempnerforge/passes (0 errors)uv run pytest tests/unit/ -v --timeout=60: passes in the floor environment this PR's install command builds, apart from 42 failures that only the cluster has (below); not rerun in theuv.lockenvironment, since no Python file changes, and this PR's own CI runs all three unit legsuv run torchrun --nproc_per_node=4 -m pytest tests/distributed/ -v(not run: no distributed code changes)uv run pytest tests/e2e/ --e2e -v(not run: no such changes)After two independent reviews, 4dbfe32 rewords the cutoff's description in
ci.yml's comment,install.mdandCONTRIBUTING.md(it narrows candidates rather than choosing the newest release, and a moved date is a past UTC timestamp) and points the GPU-tier note at GPU Access on SLURM Clusters. At 4dbfe32 both YAML files parse, Sphinx-Wbuilds, andtest_check_dependency_floors.pywith the doc-pages test passes (31 passed).All on CPU, at 265a756 on main 3899909.
The floor environment, built by the floor leg's install command as this branch's
ci.ymlwrites it, run by uv 0.13.13 (the release main's floor jobs downloaded on 2026-12-05) on Python 3.12.11:scripts/check_dependency_floors.py --group video: exit 0, "All 17 declared dependencies are installed at their lower bounds."pytest tests/unit/ --timeout=60, with the temporary directory on the cluster's NFS scratch: 6627 passed, 15 skipped and 42 failed, every failure from one of two causes that only the cluster has. 38 are VLM and video dataset tests that load thegpt2tokenizer, which the cluster's offline Hugging Face cache no longer holds (LocalEntryNotFoundError); CI's runners download it. 4 aretest_hooks.py::TestActivationStoreParallelcases whose temporary directory on NFS cannot be removed at cleanup (OSError: [Errno 39] Directory not empty), the NFS race Declare numpy, pyarrow and pandas, and check that every floor installs #764 described at these floors; run alone, the file fails 4 cases the same way. CI's floor job installed this exact package set at 06:51 UTC on 2026-12-05 and passed 6634 tests with none failing.The cutoff, both ways (dry runs of the same install command, with uv 0.13.13 and uv 0.9.16 giving the same result in every row):
--exclude-newerfastapi>=0.165.2added to the dependencies, the install exits 1 withNo solution found when resolving dependenciesand uv's hint: "fastapiwas filtered byexclude-newerto only include packages uploaded before 2026-12-05T00:00:00Z. The latest version satisfying the requirement is v0.165.2, published at 2026-12-05T12:53:14.663Z. Consider usingexclude-newer-packageto override the cutoff for this package." Without the cutoff, the same install takes fastapi 0.165.2.--constraint, the capped install takes rich 15.0.0.Also checked:
ci.ymlandrelease.ymlparse withyaml.safe_loadat each commit, and validate against SchemaStore'sgithub-workflow.jsonandgithub-release-config.jsonwith thejsonschemalibrary: 0 errors each. As a control, a job idintegration cpuand a category withoutlabelseach fail. actionlint was not available.changesfilter, evaluated per file:.github/release.yml, the PR template,CONTRIBUTING.md,README.mdanddocs/are not code, andci.ymlis, so this PR's own CI runs all three unit legs, including the floor leg with the new install command.uv.lockenvironment (Python 3.14.2, torch 2.14.1):tests/unit/test_check_dependency_floors.pyand the doc-pages test (TestCliParsing::test_documented_commands_write_each_override_with_an_equals_sign) pass (31 passed), and theintegration-cpucommand passes 18 and skips 139, every skip for a missing CUDA device.sphinx-build -W --keep-going -b html docsbuilds, and the renderedcontributing.htmlandgetting-started/install.htmlcarry the new text.codebase-map.jsonneeds no entry (it lists no.githubfiles), andmap_counts.pyreports only main's known mismatches.Contribution terms
Closes #746
Closes #492
Part of #336 (the scheduled GPU runner remains)