Skip to content

feat(ci-lease): reuse_account_id to skip acquire/release while debugging#401

Merged
chrisns merged 1 commit into
mainfrom
chore/serialize-and-svc-catalog
May 22, 2026
Merged

feat(ci-lease): reuse_account_id to skip acquire/release while debugging#401
chrisns merged 1 commit into
mainfrom
chore/serialize-and-svc-catalog

Conversation

@chrisns
Copy link
Copy Markdown
Member

@chrisns chrisns commented May 22, 2026

Add a workflow_dispatch input that reuses an existing lease. Stop burning accounts during CFN iteration.

… debug

We're churning leases hard while iterating on the CFN deploy. Each
failed run burns a pool account (Available -> Active -> CleanUp cycle).
Add a workflow_dispatch input that takes a pre-existing leased account
ID; the workflow skips acquire+release and just runs:
  assume CIDeployRole -> deploy -> smoke

Usage during iteration:
  isb assign                    # gets a lease, prints account_id
  gh workflow run scenario-council-chatbot.yml \\
    --ref main \\
    -f reuse_account_id=<that-id>
  # iterate as many times as needed against the same account
  isb terminate                 # release when done

Lease isn't released by the workflow — operator's responsibility.
Janitor still picks up genuine orphans (>3h old).
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:33 — with GitHub Actions Failure
@chrisns chrisns added this pull request to the merge queue May 22, 2026
Merged via the queue into main with commit 7fb9f3d May 22, 2026
4 of 5 checks passed
@chrisns chrisns deleted the chore/serialize-and-svc-catalog branch May 22, 2026 09:33
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:33 — with GitHub Actions Failure
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