Repository navigation
Conversation
added 4 commits
October 10, 2026 23:14
added 7 commits
October 11, 2026 00:02
This branch has not been deployed
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.
Managed Session latency spans HTTP admission, background provisioning, Runtime discovery, Executor preparation and native startup. This adds reservation-derived trace correlation and bounded stage observations across Core, E2B helper/guest startup, Runtime transport and Codex initialization. Logs exclude request contents, credentials, catalog contents and raw SDK/native diagnostics.
Depends on #642 at
a166c8223bacd9e65949b42718abf50d46f15820, which includes native E2B pause/resume, opaque retained-state ownership, direct capacity and zero-Turn idle suspension. That prerequisite is merged normally into this branch. Review the 43-file tracing increment asa166c8223bacd9e65949b42718abf50d46f15820..53e4e12c4234aa1c4a8ac93463c14235ef96ce60. This PR targets main, so the aggregate diff includes the prerequisite. Both branches preserve upstream main601da24829386c03bd06b3557f3bd1afd09d33ee, including Runtime wire 0.16.0, schema 99 and native-session/workspace recovery.Core links HTTP submission to durable reservation identity and carries traces on existing Runtime envelopes. Fixed observations cover preparation/control/first text and provider create/resume. Provider and guest timings use bounded stage allowlists, duration/output limits and request-owned correlation. The child-output buffer handles ReaderFrom so streaming cannot bypass its byte limit. Runtime/Codex observations preserve process exit, cancellation/join, pinned catalog validation and initialization deadlines.
The English and Chinese operations guide explains unavailable versus zero observations, nested/cumulative intervals, export-time timestamps, queue-clock skew and process-accounting limits. Guest/Runtime timing requires rebuilt, qualified templates; updating Core alone does not instrument existing sandboxes.
Validation after merging the current prerequisite and upstream main:
601da248baseline and remain documented rather than treated as passing.No live E2B allocation, model call or deployment was performed. These are controlled instrumentation checks, not measured cloud latency improvements or production acceptance.