Repository navigation
ci: leave out the LoKI tests that run on real data - #266
Merged
Merged
Conversation
The test job on main lost its runner three times since 2026-11-20 (the merges of #245, #249 and #261), and pull requests hung in the same step: the tests of essinstruments under `pytest -n auto`. GitHub's note is "The hosted runner lost communication with the server". The tests that reduce esssans' tutorial data hold 10 GB with one worker, 17 GB with two and 24 GB with four, measured as the summed Pss of pytest and its workers. A hosted runner has 16 GB and four cores. What a real reduction computes is not what these packages are tested for. The tests that fetch the tutorial data carry the mark `real_data`: by their fixtures, or by hand where other code fetches the data. CI runs the rest (26 of 57, 0.7 GB). The marked tests still run with a plain `pytest`. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 23, 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.
The test job lost its runner three times on
mainsince 2026-11-20 (the merges of #245, #249 and #261), and pull requests hung in the same step: the tests ofessinstrumentsunderpytest -n auto. GitHub's note on those jobs is "The hosted runner lost communication with the server", which it gives when a job starves the runner of CPU or memory. No log is kept for such a job.Cause: memory. The summed memory (Pss) of pytest and its workers, for the tests of
essinstruments:A hosted runner has four cores and 16 GB. The peak depends on which tests run at the same time, which fits a job that fails only sometimes. Restricted to four cores (
taskset -c 0-3), the same tests peak at 10.2 GB with one worker and 27.0 GB with four. By file, alone:client_test.py9.3 GB,bindings_test.py8.0 GB,app_test.py7.5 GB, the others on real data 4 to 4.5 GB. The cause is inferred from these numbers and from GitHub's note, not seen on a runner.Change. The tests that reduce esssans' tutorial data carry the mark
real_data, and CI runs the rest:A test gets the mark from its fixtures: a hook in
conftest.pymarks each test that takes a fixture of the tutorial files, directly or through another fixture. Two tests fetch the data through other code (the arrivals demo, the batch notebook) and carry the mark by hand.What a real reduction computes is not what these packages are tested for (Simon, 2026-11-23). What CI no longer checks: that LoKI's bindings give the I(Q) of plain esssans, the beam centre of the tutorial, and that the batch notebook runs. These run on a developer's machine.
🤖 Generated with Claude Code