Skip to content

connect: live setup-script output under 'Starting sandbox…' + cache tier on sandbox_ready#62

Merged
hbrooks merged 1 commit into
mainfrom
setup-output-streaming
Jul 20, 2026
Merged

connect: live setup-script output under 'Starting sandbox…' + cache tier on sandbox_ready#62
hbrooks merged 1 commit into
mainfrom
setup-output-streaming

Conversation

@hbrooks

@hbrooks hbrooks commented Jul 19, 2026

Copy link
Copy Markdown
Member

Pairs with ellipsis-dev/ellipsis#5903 (backend streams sandbox_setup_output lifecycle chunks + stamps cache_tier/phase_timings on sandbox_ready).

  • connect: while the sandbox spawns, a dim sub-line under ✻ Starting sandbox… (50s) shows the setup script's latest output line, live:

    ✻ Starting sandbox… (34s)
      ⎿ image.setup · Installing pandas (3.0.3)
    

    Driven by the streamed sandbox_setup_output records; cleared when sandbox_ready lands. The chunks stay off the transcript (the activity line carries them), matching how the other lifecycle rows are handled.

  • session records / steps view: a setup-output chunk renders as image.setup · <last line>; sandbox_ready now appends the image-cache tier (cached image / incremental build / full build) so a slow start explains itself.

Inert against backends that don't send the new records (no frames → no sub-line). Typecheck clean; 237 tests pass (new coverage for both record renderings).

…ier on sandbox_ready

Pairs with ellipsis-dev/ellipsis#5903, which streams a session's
image.setup / post_start / post_clone output into the session feed as
chunked sandbox_setup_output lifecycle records and stamps sandbox_ready's
payload with the image-cache tier.

- connect: while the sandbox spawns, a dim sub-line under
  '✻ Starting sandbox… (Ns)' shows the setup script's latest output line
  ('⎿ image.setup · Installing pandas (3.0.3)'), cleared on sandbox_ready.
- session records/steps: a setup-output chunk renders as
  'image.setup · <last line>'; sandbox_ready appends the tier
  ('cached image' / 'incremental build' / 'full build').

Inert against backends that don't send the new records.
@hbrooks
hbrooks merged commit 01a781c into main Jul 20, 2026
1 check 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.

1 participant