Skip to content

fix(runner): clean up completed Application pool runners - #148

Merged
lweberru merged 1 commit into
mainfrom
fix/application-runner-pool-cleanup
Oct 23, 2026
Merged

lweberru merged 1 commit into
mainfrom
fix/application-runner-pool-cleanup

Conversation

@lweberru

@lweberru lweberru commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Completed Application jobs left consumed one-shot CF web processes running. Ten retained runners filled the Dev organization memory quota and prevented the next Runner template from staging, despite standby capacity being set to one.

Pool maintenance now retires Application leases only after a durable succeeded/failed dispatch with the same job, app and source droplet. The existing scoped CF deletion path handles those leases and retries failures. Running jobs and reconciliation cases remain untouched; state and saved plan artifacts are retained. Migration 067 adds a narrowly scoped function without exposing tenant job records. English and German operating guidance explains cleanup and staging headroom.

Validation: complete Configurator check (1056 passed, 71 gated skips); real PostgreSQL identity and pool regressions, including active jobs, mismatched scope/app/droplet, completion and idempotency. Final database run: 66 passed, including the unresolved-job regression. Final focused pool run: 12 passed, including deletion failure/retry; platform database suite: 63 passed. Final typecheck and lint pass.

Refs #147. Historical Dev cleanup and a successful release remain required before closing that issue. No customer Plan/Apply or State unlock is included.

CI attempt 1 exceeded the existing 15-minute job budget after OS browser dependencies took 8m11s to download. All preceding checks passed; UI execution was incomplete. Only that failed job is rerun on the unchanged commit with the complete suite and unchanged limits.

@lweberru
lweberru merged commit 1f7b2da into main Oct 23, 2026
22 of 23 checks passed
@lweberru
lweberru deleted the fix/application-runner-pool-cleanup branch October 23, 2026 15:02
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