Skip to content

TaskHandle::is_finished == true does not mean that TaskHandle is Poll::Ready #2879

@tillrohrmann

Description

@tillrohrmann

During a verification run (https://github.com/restatedev/e2e-verification-runner/actions/runs/13742949412/job/38434376749#step:5:3082), a Restate server panicked here

match task_handle.now_or_never().expect("should be finished") {
. It seems that the assumption that if TaskHandle::is_finished() == true, then the TaskHandle is Poll::Ready, does not hold true.

What's the exact state of the system at the time of panicking, is unclear from the logs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions