Skip to content

Conversation

@Alizter
Copy link
Collaborator

@Alizter Alizter commented Oct 30, 2025

We add locations for timed out commands.

@Alizter Alizter changed the title refactor(cram): lex locations in cram tests preview location changes for cram tests Oct 30, 2025
@Alizter Alizter force-pushed the push-mpprqltvlztr branch 3 times, most recently from af6e1f5 to 591487b Compare November 13, 2025 21:36
Signed-off-by: Ali Caglayan <[email protected]>
@Alizter Alizter changed the title preview location changes for cram tests cram: locations for timeouts Nov 13, 2025
@Alizter Alizter marked this pull request as ready for review November 13, 2025 22:59
@Alizter Alizter requested review from rgrinberg and removed request for rgrinberg November 13, 2025 23:05
@Alizter Alizter marked this pull request as draft November 13, 2025 23:05
@Alizter
Copy link
Collaborator Author

Alizter commented Nov 13, 2025

Actually not so happy with this on second thoughts. Will think it over a bit.

@rgrinberg
Copy link
Member

In this case, the location is less important than producing the partial output that will hopefully help the user debug their test.

@Alizter
Copy link
Collaborator Author

Alizter commented Nov 14, 2025

I think the location is important since it gives the editor diagnostic information. I'm experimenting with introducing both the error and the partial diff for both timeout and exit errors.

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.

2 participants