Skip to content

fix(retirement): use warm runners and expand production pool to four - #320

Merged
lweberru merged 2 commits into
mainfrom
fix/retirement-warm-pool
Nov 28, 2026
Merged

lweberru merged 2 commits into
mainfrom
fix/retirement-warm-pool

Conversation

@lweberru

@lweberru lweberru commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Retirement Plans and Applies now use the same prepared one-shot Runner pool as Platform and Application jobs, instead of always copying and starting a cold CF Runner. The strict encrypted assignment adds the Retirement broker profile and routes it to the existing separate Retirement worker. Migration 112 releases only exactly bound consumed reserves after confirmed process stop and durable job reconciliation; unresolved recovery remains protected. Existing owner/generation/State/approval checks and immutable package identity remain authoritative; failed or ambiguous assignments are not replayed. Cold startup remains the fallback when no reserve is ready.

Production capacity increases from two to four shared reserves, with matching deployment configuration, release guards, smoke-test expectations and bilingual operations documentation. The folder-finalization runbook also explains the current manual final approval and upstream hidden-project retention window; scheduled reminders and automatic finalization are not claimed.

Validation:

  • Full application check: 2,353 passed, 105 separately gated skips.
  • Targeted Runner/Retirement gates after additional fallback/stop-proof fixtures: 124 passed; typecheck passed.
  • Real isolated PostgreSQL: 36 pool/Retirement tests, including four concurrent mixed-broker assignments, consumption/replenishment and Retirement cleanup before/after reconciliation with scope/source/recovery guards; 87 Platform Plan/Apply tests passed.
  • Production/release/environment guards: 41 passed; workflow documentation generator, freshness check and 8 generator tests passed.
  • No customer Retirement Plan/Apply was started. Native packaging and hosted smoke tests remain mandatory in the release pipeline.

Release v2.3.9 is prepared for Dev verification followed by the authorized production rollout.

@lweberru
lweberru merged commit bfb7185 into main Nov 28, 2026
16 checks passed
@lweberru
lweberru deleted the fix/retirement-warm-pool branch November 28, 2026 22:16
lweberru added a commit that referenced this pull request Nov 28, 2026
)

Production deployment checks out the selected published release. Forcing
the newest warm-pool size in the workflow makes redeploying an older
release fail its source-bound preparation guard (older releases expect
two reserves; v2.3.9 expects four).

Let runtime preparation use that release’s reviewed stage default and
read the same stage for the hosted smoke-test expectation. Current
production remains four for v2.3.9, while older source revisions keep
their own reviewed capacity. No runtime authority or release provenance
gate is weakened.

Validation: 51 release/runtime guards pass, including executing the
actual workflow capacity-selection command against synthetic
two/four-capacity release modules, rejecting invalid capacities, and
preparing the current production default with four while rejecting stale
overrides. Workflow documentation generation, freshness checks and all
eight generator tests pass. Application code is unchanged from #320. The
previous build was cancelled before Dev deployment; the final build will
include this fix.
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