Skip to content

feat(sandboxes): floo sandboxes create --keep-warm - #449

Merged
pdonohoe02 merged 1 commit into
mainfrom
claude/project-thread-k58ju8
Nov 30, 2026
Merged

pdonohoe02 merged 1 commit into
mainfrom
claude/project-thread-k58ju8

Conversation

@pdonohoe02

Copy link
Copy Markdown
Contributor

Requested by Patrick · project thread

Summary

  • floo sandboxes create --keep-warm SECONDS: seconds the sandbox's machine stays attached after its last command, 0 to 86400. Default stays floo's (30 s).
  • Needs getfloo/floo#5060 (REST create takes keep_warm) in prod before a CLI release carries it.

Issue Closure (Required)

N/A: spun out of Patrick's Rakazo findings in the project thread, no ticket.

Changes

  • src/cli.rs: the flag, with a parser that refuses anything outside 0 to 86400 (and NaN/inf) before the API is asked.
  • src/commands/sandboxes.rs: sends keep_warm only when given, since the API refuses unknown fields even as null.
  • tests/sandboxes_tests.rs: create sends keep_warm: 5.0; 86401 is refused with no API call.

Test Plan

  • cargo test --test sandboxes_tests (15 passed)
  • cargo fmt --check, cargo clippy --all-targets

Discovered Issues

None


Generated by Claude Code

Seconds its machine stays attached after the last command, 0 to 86400,
refused before the API is asked when out of range. Sent only when given,
so an API from before the field still takes a plain create.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Eufw49FxjEvjnPwH2t3M4n
@pdonohoe02 pdonohoe02 self-assigned this Nov 30, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T03:37:44.837912Z cc58205 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pdonohoe02
pdonohoe02 merged commit 8884412 into main Nov 30, 2026
8 checks passed
@pdonohoe02
pdonohoe02 deleted the claude/project-thread-k58ju8 branch November 30, 2026 03:46
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.

2 participants