Skip to content

fix(cram): sanitize timed-out partial output#15354

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-ttnyosyrztmn
Open

fix(cram): sanitize timed-out partial output#15354
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-ttnyosyrztmn

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Record the build path prefix map when each cram command starts, so output from a command killed by a timeout can still be path-rewritten.

Keep started-but-incomplete commands as unreachable when the cram process did not time out, since shell errors such as syntax errors and explicit exits should not be reported as timeouts.

@rgrinberg rgrinberg force-pushed the push-ttnyosyrztmn branch from 3d33aa1 to 128ed4e Compare June 27, 2026 21:38
Record the build path prefix map when each cram command starts, so output from a
command killed by a timeout can still be path-rewritten.

Keep started-but-incomplete commands as unreachable when the cram process did
not time out, since shell errors such as syntax errors and explicit exits should
not be reported as timeouts.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg force-pushed the push-ttnyosyrztmn branch from 128ed4e to 7aff998 Compare July 1, 2026 23:10
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