You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently experiencing timeouts when saving some oleans (leanprover-community/lean#749). Since Lean does not error out when deterministic timeouts happen during olean generation (leanprover-community/lean#750) and we already run Lean twice when compiling mathlib, Ben Toner suggested the following clever hack: Increase the timeout, but only on the second lean run. This effectively means anything that was reported as a timeout before is still reported as a timeout (by the first call), while olean generation gets more heartbeats.
Co-authored-by: Ben Toner <bentoner@bentoner.com>
Prerequisites
or feature requests.
Description
The olean compilation process emits user-friendly messages for several failure scenarios, such as https://github.com/leanprover-community/lean/blob/v3.45.0/src/library/module_mgr.cpp#L128. However, the failure is not notified to the user. This includes heartbeat exception reporting, as in #749.
Steps to Reproduce
lean --make
to compile something that would overwrite the above fileExpected behavior: Non-zero exit code and a message
Actual behavior: No reported error
Reproduces how often: 100%
Versions
Lean (version 3.45.0, commit 22b09be, Release)
The text was updated successfully, but these errors were encountered: