Skip to content

fix(tests): remove orphaned heterogeneous pool probe test - #4393

Merged
jundot merged 1 commit into
jundot:mainfrom
DT-HJ:fix/remove-orphan-heterogeneous-pool-test
Oct 9, 2026
Merged

jundot merged 1 commit into
jundot:mainfrom
DT-HJ:fix/remove-orphan-heterogeneous-pool-test

Conversation

@DT-HJ

@DT-HJ DT-HJ commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the collection error that fails the unit test step on main for Python 3.11, 3.12 and 3.13.

0b07e88e ("chore: remove unused benchmarks and scripts, reorganize docs") deleted benchmarks/heterogeneous_pool_probe.py, but tests/test_heterogeneous_pool_probe.py still imports _parse_rank_set and _supernode_failures from it. Pytest stops at collection with ModuleNotFoundError: 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

Reproduction and validation

The reproduction is the main runs above, which fail at ERROR 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

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>
@DT-HJ
DT-HJ marked this pull request as ready for review October 9, 2026 10:58

@jundot jundot left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jundot
jundot merged commit bd14fc8 into jundot:main Oct 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants