Skip to content

feat: Reach per-service sleep from the CLI - #15

Open
nfebe wants to merge 1 commit into
feat/service-settingsfrom
feat/service-sleep
Open

nfebe wants to merge 1 commit into
feat/service-settingsfrom
feat/service-sleep

Conversation

@nfebe

@nfebe nfebe commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Add deployments services-sleep.

`flatrun deployments services-sleep NAME SERVICE` turns idle sleep on or off
for one service, so a worker can sleep while the rest of the deployment
stays up.
@sourceant

sourceant Bot commented Oct 26, 2026

Copy link
Copy Markdown

Code Review Summary

The change registers a single new generated endpoint entry mapping the deployments family operation services-sleep to a PUT request on /deployments/:name/services/:service/sleep, taking name and service as arguments. The diff supplies no command handler logic, validation, or argument parsing beyond this table entry, so the table is the only observed change.

🚀 Key Improvements

  • Makes the per-service sleep endpoint reachable through the existing generated endpoint table with no additional wiring.

@sourceant sourceant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review complete. See the overview comment for a summary.

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