Skip to content

feat(stovepipe): add Queue coordination entity#309

Draft
mnoah1 wants to merge 1 commit into
mnoah1/process-docs-updatefrom
mnoah1/stovepipe-queue-entity
Draft

feat(stovepipe): add Queue coordination entity#309
mnoah1 wants to merge 1 commit into
mnoah1/process-docs-updatefrom
mnoah1/stovepipe-queue-entity

Conversation

@mnoah1

@mnoah1 mnoah1 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Why?

Implementing process step. This change creates a Queue entity to keep track of queue-level state.

Additional details: https://github.com/uber/submitqueue/blob/mnoah1/process-docs-update/doc/rfc/stovepipe/steps/process.md

What?

Add the per-queue Queue control row that backs the process stage's concurrency gate and backlog coalescing: last_green_uri (incremental baseline), in_flight_count and max_concurrent (the concurrency gate), latest_request_seq (the coalescing pointer), and version for optimistic-locking CAS. Matches the entity model in the process RFC.

Test Plan

-Subsequent PRs will build out functionality that we can test

Add the per-queue Queue control row that backs the process stage's
concurrency gate and backlog coalescing: last_green_uri (incremental
baseline), in_flight_count and max_concurrent (the concurrency gate),
latest_request_seq (the coalescing pointer), and version for
optimistic-locking CAS. Matches the entity model in the process RFC.

No timestamps, consistent with the existing Request entity. Pure data
struct with no message-payload serialization (Queue is a persisted
control record, not a queue message).
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