Skip to content

Conversation

@abslock128w
Copy link

NumPy masked arrays default to a fill value of 999999, which cannot be
represented by small integer dtypes such as uint8 or uint16.

During distributed deserialization, this raises a TypeError when
reconstructing the masked array and may cause tasks to hang indefinitely.

Ensure that fill values are safely cast to the target dtype, falling back
to NumPy's default fill value when necessary.

Closes #12260

  • Tests added / passed
  • Passes pre-commit run --all-files

NumPy masked arrays default to a fill value of 999999, which cannot be
represented by small integer dtypes such as uint8 or uint16.

During distributed deserialization this raises a TypeError when
reconstructing the masked array and may cause tasks to hang indefinitely.

Ensure that fill values are cast safely to the target dtype, falling back
to NumPy's default fill value when necessary.
@abslock128w abslock128w requested a review from fjetter as a code owner February 6, 2026 08:55
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    31 files  ±0      31 suites  ±0   11h 15m 33s ⏱️ - 8m 52s
 4 113 tests ±0   4 003 ✅  - 3    104 💤 ±0  6 ❌ +3 
59 636 runs  ±0  57 156 ✅ ±0  2 474 💤 ±0  6 ❌ ±0 

For more details on these failures, see this check.

Results for commit 8866074. ± Comparison against base commit 4fb4814.

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