Repository navigation
Add app scale-to-zero policy commands - #48
Closed
scottcrawford03 wants to merge 1 commit into
Closed
scottcrawford03 wants to merge 1 commit into
scottcrawford03 wants to merge 1 commit into
Conversation
scottcrawford03
marked this pull request as ready for review
November 6, 2026 19:45
nandiheath
approved these changes
Nov 6, 2026
Contributor
Author
|
🤖 Closing at Scott’s direction: scale-to-zero should become default platform behavior, so owner opt-in/out does not belong in the supported CLI. This command was used only for the bounded staging validation. No CLI release or installation is requested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Compose now supports owner opt-in to idle app sleep, but the CLI cannot read or change that policy. This blocks authenticated staging validation through the supported client.
What
Add
bl apps scale-to-zero get|enable|disable APP_IDwith an optional environment override.How
Use the existing control-plane client, authentication, origin checks and error handling. Preserve the response fields so a saved request is distinct from enabled scaling and successful application.
Risk
Only the new commands send these requests. The server retains ownership, eligibility and fleet-mode enforcement.
Testing
Against bb-block staging, read the live contract and enable two fresh owner-controlled fixtures, one process and one fetch-js. Both returned
requested:true,enabled:true,applied:true, andfleet_mode:opt-in.Generated with Codex