Skip to content

Vine/WQ: Factory shutdown bug - #4601

Open
dthain wants to merge 2 commits into
cooperative-computing-lab:masterfrom
dthain:vine-factory-shutdown-bug
Open

dthain wants to merge 2 commits into
cooperative-computing-lab:masterfrom
dthain:vine-factory-shutdown-bug

Conversation

@dthain

@dthain dthain commented Dec 5, 2026

Copy link
Copy Markdown
Member

Proposed Changes

In critical location, both vine_factory and work_queue_factory were using uint64_t to represent a jobid, and so the factory would get stuck in an infinite loop in shutdown because "no more processes" could not be represented. For some reason, this bug is more easily tickled on OSX than on Linux.

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.

we get a lot of spurious things showing up from CI.
…x (and possibly elsewhere.)

Use (signed) batch_queue_id_t instead of uint64_t, otherwise you can't represent "no more processes".
@dthain dthain added bug For modifications that fix a flaw in the code. Work Queue critical TaskVine labels Dec 5, 2026
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. critical TaskVine Work Queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant