connect: live setup-script output under 'Starting sandbox…' + cache tier on sandbox_ready#62
Merged
Merged
Conversation
…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.
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.
Pairs with ellipsis-dev/ellipsis#5903 (backend streams
sandbox_setup_outputlifecycle chunks + stampscache_tier/phase_timingsonsandbox_ready).connect: while the sandbox spawns, a dim sub-line under
✻ Starting sandbox… (50s)shows the setup script's latest output line, live:Driven by the streamed
sandbox_setup_outputrecords; cleared whensandbox_readylands. 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_readynow 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).