JuliaParallel / JuliaParallel/Dagger.jl

On scheduler exit, throw error to all waiting wait and fetch calls

Open
#384 1 comment 0 reactions 0 assignees View on GitHub
eager api enhancement error handling scheduler
Dominant language
Julia
Stars
723
Forks
90
Avg merge
1d 37m
Merged PRs (30d)
9

Description

During development, it's easy to cause an error in the scheduler, which then hangs any tasks that are doing a `wait` or `fetch` on a Dagger task from `Dagger.@spawn`. We should instead throw a `SchedulingException` on all those tasks so that they can return.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.