Skip to content

feat(stovepipe): add queueconfig Store with default implementation#334

Open
mnoah1 wants to merge 1 commit into
mnoah1/stovepipe-process-coalescefrom
mnoah1/stovepipe-process-queueconfig
Open

feat(stovepipe): add queueconfig Store with default implementation#334
mnoah1 wants to merge 1 commit into
mnoah1/stovepipe-process-coalescefrom
mnoah1/stovepipe-process-queueconfig

Conversation

@mnoah1

@mnoah1 mnoah1 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What?

Introduce queueconfig.Store and wire process to resolve per-queue max_concurrent for use when checking if we are ready to admit another build.

Why?

MVP logic to enqueue builds has two constants that will need to become configurable per queue in the future:

  1. concurrent builds per queue (currently defaulting to 1)
  2. delay when we're not ready to build the latest head and need to re-enqueue it as a future process task to re-check

Test Plan

  • Unit tests below

@mnoah1 mnoah1 marked this pull request as ready for review July 10, 2026 16:25
@mnoah1 mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners July 10, 2026 16:25
@mnoah1 mnoah1 force-pushed the mnoah1/stovepipe-process-coalesce branch from 1a66cd1 to ee5ac0c Compare July 10, 2026 18:21
@mnoah1 mnoah1 force-pushed the mnoah1/stovepipe-process-queueconfig branch from 4d1f951 to c814927 Compare July 10, 2026 18:22
@mnoah1 mnoah1 force-pushed the mnoah1/stovepipe-process-coalesce branch from ee5ac0c to c1ee23a Compare July 10, 2026 18:51
@mnoah1 mnoah1 force-pushed the mnoah1/stovepipe-process-queueconfig branch from c814927 to acdd570 Compare July 10, 2026 18:52
@behinddwalls behinddwalls force-pushed the mnoah1/stovepipe-process-coalesce branch from c1ee23a to 7003035 Compare July 10, 2026 20:07
Introduce queueconfig.Store and wire process to resolve per-queue
max_concurrent at gate-check time. The default store returns global wiring
constants; admit lands in a follow-up PR.
@behinddwalls behinddwalls force-pushed the mnoah1/stovepipe-process-queueconfig branch from acdd570 to 98cef3f Compare July 10, 2026 20:07
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