Skip to content

feat(devboxes): use optimistic create endpoint - #829

Merged
adam-rl merged 1 commit into
nextfrom
adam/optimistic-devbox-create
Aug 20, 2026
Merged

feat(devboxes): use optimistic create endpoint#829
adam-rl merged 1 commit into
nextfrom
adam/optimistic-devbox-create

Conversation

@adam-rl

@adam-rl adam-rl commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • use the optimistic devbox create endpoint inside sync and async create_and_await_running
  • return immediately when the server observes running
  • retain the existing long-poll fallback for transitional responses
  • keep the raw endpoint out of the generated public API surface

Testing

  • Ruff lint and format checks
  • mypy on the modified resource
  • 14 focused sync/async pytest cases

Depends on runloopai/runloop#10859.

@adam-rl
adam-rl requested review from dines-rl and tode-rl August 14, 2026 00:28
@adam-rl
adam-rl force-pushed the adam/optimistic-devbox-create branch from 660506c to 7640585 Compare August 20, 2026 01:30
@adam-rl
adam-rl merged commit 3f47b22 into next Aug 20, 2026
6 checks passed
@adam-rl
adam-rl deleted the adam/optimistic-devbox-create branch August 20, 2026 01:36
@stainless-app stainless-app Bot mentioned this pull request Aug 20, 2026
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