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

Futures executor working done and running #3929

Merged

Conversation

BarrySlyDelgado
Copy link
Contributor

@BarrySlyDelgado BarrySlyDelgado commented Sep 9, 2024

Proposed Changes

For part of #3920. Calling future.done() or future.running() on a future would fail as cvine.vine_task_state(self._taskvine, task_id) was removed. This adds bindings to check a task's state. NOTE: there is no cancelled state for a task so this still has to be fixed.

Give an overall description of the changes, along with the context and motivation.
Mention relevant issues and pull requests as needed.

Merge Checklist

The following items must be completed before PRs can be merge.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update Update the manual to reflect user-visible changes.
  • Type Labels Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM Mark your PR as ready to merge.

@dthain
Copy link
Member

dthain commented Sep 16, 2024

If this is RTM, please check the various things.

@BarrySlyDelgado
Copy link
Contributor Author

RTM

@dthain dthain merged commit 46a68cb into cooperative-computing-lab:master Sep 23, 2024
8 checks passed
colinthomas-z80 pushed a commit to colinthomas-z80/cctools that referenced this pull request Oct 15, 2024
…3929)

* Futures executor working done and running

* lint

* update futures doc
btovar pushed a commit that referenced this pull request Oct 21, 2024
* Futures executor working done and running

* lint

* update futures doc
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.

2 participants