Skip to content

Enqueue initial batch jobs atomically#76

Merged
mgomes merged 2 commits into
masterfrom
fix/batch-initial-enqueue-script
Jun 5, 2026
Merged

Enqueue initial batch jobs atomically#76
mgomes merged 2 commits into
masterfrom
fix/batch-initial-enqueue-script

Conversation

@mgomes
Copy link
Copy Markdown
Owner

@mgomes mgomes commented Jun 5, 2026

Why

Initial batch enqueue should not leave some jobs visible in queues when a later queue write fails.

Using the same validation-first Lua approach as dynamic batch adds keeps batch job tracking and queue pushes together, so a rejected destination queue fails the batch enqueue before any partial queue mutation is made.

@mgomes
Copy link
Copy Markdown
Owner Author

mgomes commented Jun 5, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mgomes
Copy link
Copy Markdown
Owner Author

mgomes commented Jun 5, 2026

@codex review

@mgomes mgomes merged commit 0c1094f into master Jun 5, 2026
7 checks passed
@mgomes mgomes deleted the fix/batch-initial-enqueue-script branch June 5, 2026 02:08
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

1 participant