Skip to content

Conversation

@jrbourbeau
Copy link
Member

So this should fix test_resubmit_nondeterministic_task_different_deps (it does for me locally). I'll admit that I don't fully understand what change in dask/dask#11945 is causing this test to fail...

Currently Future._state isn't being set, but our code expects it to be, so the change here might actually just be mask over something (why _state isn't being set in the first place) instead of fixing the underlying issue

cc @jacobtomlinson @TomAugspurger for vis and thoughts (if you happen have any here)

Closes #9080

@jrbourbeau jrbourbeau requested a review from fjetter as a code owner June 2, 2025 19:26
Copy link
Member

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

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

At a glance, this looks like a fine improvement. My limited understanding is that Future._state is set after the Future is created, and so callers of Future.status and type should be expected to handle the case where they aren't set yet.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

Unit Test Results

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

    27 files  ±0      27 suites  ±0   11h 9m 23s ⏱️ - 21m 0s
 4 113 tests ±0   4 000 ✅ + 5    111 💤 ±0  2 ❌  -  4 
51 569 runs   - 1  49 283 ✅ +28  2 284 💤 ±0  2 ❌  - 28 

For more details on these failures, see this check.

Results for commit 3ad943c. ± Comparison against base commit 801d0ed.

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

Seems fine to me

@jrbourbeau jrbourbeau merged commit 6d3f6eb into dask:main Jun 3, 2025
57 of 62 checks 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.

test_resubmit_nondeterministic_task_different_deps fails consistently on CI

3 participants