Skip to content

Use LIST_ITERATE instead of default iterator in many places. - #4550

Open
dthain wants to merge 11 commits into
cooperative-computing-lab:masterfrom
dthain:list-remove-default-iterator
Open

dthain wants to merge 11 commits into
cooperative-computing-lab:masterfrom
dthain:list-remove-default-iterator

Conversation

@dthain

@dthain dthain commented Oct 27, 2026

Copy link
Copy Markdown
Member

Proposed Changes

Converted (almost) all uses of list_first_item/list_next_item into LIST ITERATE.
This has several effects:

  • Fixed some latent bugs in Work Queue regarding checking of task input/output files.
  • Allows for safe nesting when iteration is nested.
  • Simplifies reading code.

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 dthain added bug For modifications that fix a flaw in the code. Work Queue cleanup For non-functional changes involving reformatting, refactoring, comments, and the like. labels Oct 27, 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. cleanup For non-functional changes involving reformatting, refactoring, comments, and the like. Work Queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant