Skip to content

Conversation

@pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Sep 10, 2025

The imap implementation will be
as lazy as one could expect in
Python 3.15, but until then
it is more eager than one would
expect.

Switch from imap_unordered to
using apply_async instead, but
print the results in a deterministic
order and remove the special
case where a different code path
is taken when running on a single
core.


📚 Documentation preview 📚: https://datacube-explorer--862.org.readthedocs.build/en/862/

@codecov
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.06%. Comparing base (27e8564) to head (2a3179b).
⚠️ Report is 1 commits behind head on develop.

❌ Your project check has failed because the head coverage (77.06%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (27e8564) and HEAD (2a3179b). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (27e8564) HEAD (2a3179b)
4 3
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #862      +/-   ##
===========================================
- Coverage    84.23%   77.06%   -7.18%     
===========================================
  Files           35       35              
  Lines         4199     4194       -5     
  Branches       526      523       -3     
===========================================
- Hits          3537     3232     -305     
- Misses         471      768     +297     
- Partials       191      194       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pjonsson pjonsson force-pushed the always-pool branch 2 times, most recently from a448649 to 0feb551 Compare September 10, 2025 21:30
@pjonsson
Copy link
Contributor Author

This is failing because the Click CLI runner does not flush stderr as it should until Click 8.2.1, so the test output is not appearing as expected.

Unfortunately Explorer cannot use Click 8.2.1 because that changed something else causing multiple test failures, but I believe Click 8.3.0 will fix that issue.

Putting this as a draft for now until Click 8.3.0 is released.

@pjonsson pjonsson marked this pull request as draft September 10, 2025 21:32
@omad omad force-pushed the always-pool branch 2 times, most recently from 648e8b6 to c0697ab Compare September 16, 2025 01:03
@pjonsson pjonsson force-pushed the always-pool branch 2 times, most recently from f8acd9a to 1c4c68d Compare September 20, 2025 10:32
This should fix the IO errors
that were happening with 8.2
and 8.3.
The imap implementation will be
as lazy as one could expect in
Python 3.15, but until then
it is more eager than one would
expect.

Switch from imap_unordered to
using apply_async instead, but
print the results in a deterministic
order and remove the special
case where a different code path
is taken when running on a single
core.
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.

1 participant