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

Vine: Function Calls Should Fail on Missing Library #4022

Merged

Conversation

dthain
Copy link
Member

@dthain dthain commented Jan 13, 2025

Proposed Changes

Add check for missing library into expire_tasks_waiting. Causes function call tasks that cannot possibly match a library to be returned to the called with error MISSING_LIBRARY. Now, if the user submits a library that fails (and is removed), the corresponding function calls will also return and fail, so that we end up with a concrete failure instead of an endless application hang.

Merge Checklist

The following items must be completed before PRs can be merged.
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 Author

dthain commented Jan 13, 2025

Hold on, putting together a little test and discovering some corner cases...

@dthain
Copy link
Member Author

dthain commented Jan 13, 2025

Fixes #3789

@dthain dthain requested a review from btovar January 13, 2025 20:24
@dthain dthain changed the title Vine: Function Calls Fail on Missing Library Vine: Function Calls Should Fail on Missing Library Jan 13, 2025
@dthain dthain added the bug For modifications that fix a flaw in the code. label Jan 13, 2025
@btovar
Copy link
Member

btovar commented Jan 14, 2025

ready to merge?

@dthain
Copy link
Member Author

dthain commented Jan 14, 2025

I'm done with this one, please merge at your discretion..

@btovar btovar merged commit 4d6cc18 into cooperative-computing-lab:master Jan 14, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For modifications that fix a flaw in the code. enhancement TaskVine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants