test: remove flaky skipped test_basic_deployment#2630
Merged
spomichter merged 1 commit intoJun 26, 2026
Conversation
test_basic_deployment was marked skipif_in_ci so it never ran in CI, and failed locally for timing reasons: it deploys two modules in separate worker processes over LCM and asserts a sustained ~10Hz message rate (>=8 messages in a fixed window). That wall-clock throughput assertion races worker startup and is inherently flaky. The cross-process deploy + LCMTransport/pLCMTransport publish/subscribe + RPC behavior it exercised is already covered by CI-active tests (test_stream.py reuses the same MockRobotClient; test_rpcstress.py, test_module_coordinator.py, test_async_module_dispatch_serialization.py). Drop the now-unused MockRobotClient/LCMTransport/pLCMTransport/pytest imports along with it.
Contributor
paul-nechifor
approved these changes
Jun 26, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## release/0.0.13 #2630 +/- ##
===============================================
Coverage 71.00% 71.00%
===============================================
Files 892 892
Lines 79256 79234 -22
Branches 7081 7081
===============================================
- Hits 56274 56264 -10
+ Misses 21144 21130 -14
- Partials 1838 1840 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
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.
What
Deletes
test_basic_deploymentfromdimos/core/test_core.py(and its now-unusedMockRobotClient/LCMTransport/pLCMTransport/pytestimports).Why
@pytest.mark.skipif_in_ci, so it never ran in CI — it gated nothing.>= 8messages in a fixed sleep window). That wall-clock throughput assertion races worker-process startup and is inherently flaky — locally it returns anywhere from 1 to passing across consecutive runs.deploy()+LCMTransport/pLCMTransportpublish/subscribe + RPC counters) is already covered by CI-active tests:test_stream.pyreuses the sameMockRobotClient;test_rpcstress.py,test_module_coordinator.py, andtest_async_module_dispatch_serialization.pycover the cross-process LCM + RPC paths.The only unique thing it added was the throughput/rate guarantee, which CI never enforced anyway.
Test
dimos/core/test_core.py::test_classmethodsstill passes;ruff checkclean (no unused imports left).