Skip to content

No batching of warning/errors #3810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 9, 2025
Merged

Conversation

mtzguido
Copy link
Member

This PR makes the error reporting module not batch nor deduplicate any errors, and just print them immediately instead. It improves response time in batch mode, since the warnings show up immediately as they are logged instead of after checking the whole module.

Marking WIP since
1- We should make sure to not raise so many errors for the same reason, which was the original reason why we deduplicate
2- We should make the IDE report immediately, it currently also batches.

This would make interactivity in Pulse much better by showing warnings over statements as soon as they are checked.

@mtzguido mtzguido changed the title (WIP) No batching of warning/errors No batching of warning/errors Jul 2, 2025
@mtzguido mtzguido marked this pull request as ready for review July 9, 2025 20:20
@mtzguido
Copy link
Member Author

mtzguido commented Jul 9, 2025

We'll leave 2 for the future. Check world running here: https://github.com/mtzguido/FStar/actions/runs/16179381999

@mtzguido mtzguido merged commit f3ef2df into FStarLang:master Jul 9, 2025
11 checks passed
@mtzguido mtzguido deleted the no_batch_errs branch July 9, 2025 22:25
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