Skip to content

feat(orchestrator): support creating batches - #453

Open
ubettigole wants to merge 1 commit into
abettigole/batch_assignment_storefrom
abettigole/creating_batch_compat
Open

feat(orchestrator): support creating batches#453
ubettigole wants to merge 1 commit into
abettigole/batch_assignment_storefrom
abettigole/creating_batch_compat

Conversation

@ubettigole

@ubettigole ubettigole commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Making batch creation resumable requires persisting a batch before all request assignments and dependency reverse indexes are initialized. Existing readers assume every persisted batch is ready, so exposing a partially initialized batch could start speculation or cancellation before its storage invariants are complete.

This PR introduces the Creating batch state and prepares downstream readers for the later writer change. Creating batches remain visible for ownership and cancellation recovery, but are excluded from dependency analysis and normal speculation until initialization transitions them to Created.

Test Plan

Unit tests

Issues

#354

Stack

  1. feat(storage): add request batch assignments #452
  2. @ feat(orchestrator): support creating batches #453
  3. fix(cancel): resolve durable batch ownership #454
  4. feat(batch): make creation resumable #455

Add a pre-processing batch state and make downstream readers safely tolerate batches whose reverse indexes are still being initialized.

Jira Issues: CODEM-304
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