Skip to content

Add app expiration and renewal commands - #42

Merged
nathan-thillairajah merged 1 commit into
block:mainfrom
scottcrawford03:scrawford/app-lifetime-commands
Nov 2, 2026
Merged

nathan-thillairajah merged 1 commit into
block:mainfrom
scottcrawford03:scrawford/app-lifetime-commands

Conversation

@scottcrawford03

Copy link
Copy Markdown
Contributor

Why

Compose supports owner-authorized expiration reads and renewals, but the Apps CLI cannot call them. This blocks end-to-end lifetime tests in bb-block staging.

What

Add bl apps expiration and bl apps renew. Keep the full server response, including deadlines, eligibility, and replay receipts.

How

Reuse the existing authenticated control-plane client and host allowlist. Renewal requires an explicit request ID, incarnation, revision, and positive day count. It never retries a conflict with a newer revision.

Risk

Only the new commands change behavior. Renewal extends a site's existing deadline when the server permits it; these commands cannot enroll, recover, or delete a site.

Testing

The local binary authenticates to bb-block staging. Live renewal validation awaits lifetime gate activation and the renewal window. The staging rollout is https://github.com/squareup/builderbot-platform-core-infrastructure/pull/3123.

Generated with Codex

@scottcrawford03
scottcrawford03 marked this pull request as ready for review November 2, 2026 19:35
@scottcrawford03
scottcrawford03 requested a review from a team as a code owner November 2, 2026 19:35
@nathan-thillairajah
nathan-thillairajah merged commit 5e307e1 into block:main Nov 2, 2026
4 checks passed
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.

3 participants