Repository navigation
fix(tests): remove orphaned heterogeneous pool probe test - #4393
Merged
jundot merged 1 commit intoOct 9, 2026
Merged
Conversation
0b07e88 removed benchmarks/heterogeneous_pool_probe.py, but this test still imports _parse_rank_set and _supernode_failures from it. Pytest fails at collection with "No module named 'benchmarks'", so the unit test step fails on main for Python 3.11, 3.12 and 3.13. Both functions exist only in the deleted module, and nothing else in the repository refers to it, so the file has no remaining target. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2 tasks done
DT-HJ
marked this pull request as ready for review
October 9, 2026 10:58
jundot
approved these changes
Oct 9, 2026
jundot
left a comment
Owner
There was a problem hiding this comment.
The test only covered _parse_rank_set and _supernode_failures from the probe script that 0b07e88 removed, and nothing under omlx/ reuses them, so dropping it is the right fix. I missed this import when I removed benchmarks/. With this on top of current main, test collection is clean again. LGTM, merging.
2 of 3 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
Fixes the collection error that fails the unit test step on
mainfor Python 3.11, 3.12 and 3.13.0b07e88e("chore: remove unused benchmarks and scripts, reorganize docs") deletedbenchmarks/heterogeneous_pool_probe.py, buttests/test_heterogeneous_pool_probe.pystill imports_parse_rank_setand_supernode_failuresfrom it. Pytest stops at collection withModuleNotFoundError: No module named 'benchmarks'.This PR deletes only that test file. Both functions it exercises are defined solely in the deleted module, and nothing else in the repository refers to the probe. After this change, no test covers those two functions, because neither is defined anywhere else in the repository.
Failing runs
main, Python 3.11, 3.12 and 3.13: https://github.com/jundot/omlx/actions/runs/37911045900main, Python 3.11: https://github.com/jundot/omlx/actions/runs/37898263968perf/q8a8-native-metadata): https://github.com/jundot/omlx/actions/runs/37911314780Reproduction and validation
The reproduction is the
mainruns above, which fail atERROR collecting tests/test_heterogeneous_pool_probe.py. A regression test does not apply, because the change removes the only test of the deleted module.Local check at this commit with
pytest tests/ apps/omlx-web/tests apps/omlx-mac/Tests/python --collect-only(the paths of the unit test step, Python 3.11.15): 18083 of 18168 tests collected, 85 deselected, 0 errors.CI on pull requests runs Python 3.11 only. Python 3.12 and 3.13 run in the scheduled daily job, so this PR's checks do not verify them.
🤖 Generated with Claude Code