Skip to content

implement batching#135

Merged
OwenPriceSkelly merged 10 commits intomainfrom
owen/implement-batching
Mar 9, 2026
Merged

implement batching#135
OwenPriceSkelly merged 10 commits intomainfrom
owen/implement-batching

Conversation

@OwenPriceSkelly
Copy link
Member

closes #37 and closes #134

biggest lift was paying off a little bit of tech debt: previously, the shell command we register with globus compute hard-coded the payload string into the heredoc, but that meant that we couldn't batch submit anything without registering N functions. We refactored the templated script to include a bare {payload} (without any special escaping) so that the call to cmd.format will populate it after we register the function just once per batch. We also run the tasks in a separate temporary directory automatically so there aren't collisions between parallel tasks.

@OwenPriceSkelly OwenPriceSkelly merged commit b18d786 into main Mar 9, 2026
1 check passed
@OwenPriceSkelly OwenPriceSkelly deleted the owen/implement-batching branch March 9, 2026 18:39
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.

don't hardcode payload string in shell command support batching

1 participant