-
Notifications
You must be signed in to change notification settings - Fork 201
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
Added CI step to check proofs #68
Conversation
There is very high variance in how long it takes to check the proofs. Possible we could only check the ones that finish very quickly:
I think they finish quickly no matter what when the fingerprints file is present, so another option is to cache the fingerprint files in between CI runs. |
Not sure if it's a good idea to check proofs as part of a CI run. As you observed, proof checking can require considerable CPU time. We could indicate modules that have proofs that can be checked fast (similar to the "small models" that TLC is run on), but I'm not sure if it's worth the effort. |
@muenchnerkindl if I could cache the proof fingerprints would that be useful? |
Signed-off-by: Andrew Helwer <[email protected]>
Signed-off-by: Andrew Helwer <[email protected]>
Signed-off-by: Andrew Helwer <[email protected]>
Signed-off-by: Andrew Helwer <[email protected]>
Signed-off-by: Andrew Helwer <[email protected]>
@lemmy @muenchnerkindl I think this draft PR is now good to merge if you think it's a good idea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep the TLAPS.tla files to prevent parse errors for those users who do not care about proofs, unless the committed TLAPS.tla modules break the CI.
Signed-off-by: Andrew Helwer <[email protected]>
@lemmy I tested it out and they don't seem to break the CI; I think maybe they broke with the 1.4.5 TLAPS release which is why I removed them. Oh well added back! |
Signed-off-by: Andrew Helwer <[email protected]>
Signed-off-by: Andrew Helwer <[email protected]>
I think this is worth including so existing (and future) proofs will be checked. There are a number of proofs that are commented out in the script due to the following issues:
Once these are fixed those comments can be removed. I added a step to cache the proof fingerprints which greatly speeds up checking for proofs that have already been checked.