[python] resolve MacOS CI OOM failure#4148
Merged
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4148 +/- ##
===========================================
+ Coverage 66.25% 89.47% +23.21%
===========================================
Files 161 60 -101
Lines 19842 7165 -12677
Branches 1238 0 -1238
===========================================
- Hits 13147 6411 -6736
+ Misses 6287 754 -5533
+ Partials 408 0 -408
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
added 24 commits
June 26, 2025 08:55
added 23 commits
June 27, 2025 08:20
jp-dark
approved these changes
Jun 30, 2025
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.
Fixes SOMA-335
There has been a long-standing crash in the MacOS CI. The root cause was an OOM in tests caused by the 7GiB runner config. It occurred primarily in MacOS because max resident memory usage in MacOS is higher than Linux.
As part of this, also found a bug in ExperimentAxisQuery.to_anndata obsm/varm reading, where it would incorrectly determine the shape of the second (feature) dimension (this would only occur in cases where a feature had only zeros, and was therefore not written as part of the sparse array).
Changes: