Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side-effect-free way of checking on task status #663

Open
ericmjonas opened this issue Jan 10, 2022 · 0 comments
Open

Side-effect-free way of checking on task status #663

ericmjonas opened this issue Jan 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ericmjonas
Copy link

Per a conversation on slack, there is no current side-effect-free way of checking on task status. This makes it difficult as an end user to write correct, reliable code, especially when get_result() can potentially propagate a task-internal exception (or raise a funcx/globus/network-related exception). And when exceptions occur while getting tasks, the task IDs can also be lost depending on how people have written their code.

So my request would be:

  1. Side-effect-free way of querying task status
  2. better documentation that the existing operations are NOT side-effect free (note for people used to building distributed systems, this can be quite surprising!)
@ericmjonas ericmjonas added the enhancement New feature or request label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant