Skip to content

fix(runtime): give sandbox boundary wait a time budget - #4387

Open
MarkGus0 wants to merge 1 commit into
apache:mainfrom
MarkGus0:fix/sandbox-boundary-wait-deadline
Open

fix(runtime): give sandbox boundary wait a time budget#4387
MarkGus0 wants to merge 1 commit into
apache:mainfrom
MarkGus0:fix/sandbox-boundary-wait-deadline

Conversation

@MarkGus0

Copy link
Copy Markdown

Fixes #4383. Test-only: waitForBoundaryRequest now polls until a 5s wall-clock deadline instead of 100 macrotask ticks. Production runtime is unchanged. 15/15 sandbox-boundary tests passed locally. Generative tooling made a substantive contribution (Cursor implemented the helper at MarkGus0 direction). No behavior change.

Poll waitForBoundaryRequest against a wall-clock deadline so loaded CI
filesystem work can still emit sandbox_boundary_request before the helper
gives up. Test-only; production runtime is unchanged.

Fixes apache#4383

Generated-by: Cursor

Co-authored-by: MarkGus0 <MarkGus0@users.noreply.github.com>
@github-actions github-actions Bot added the effort/S Under 100 readable lines label Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/S Under 100 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(runtime): sandbox boundary request wait has no time budget and flakes on CI

1 participant