-
Notifications
You must be signed in to change notification settings - Fork 213
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
Iteration on TLC wrapper script #6513
Conversation
The .tla specifications validate the environment variables and define their valid values. |
They do for the values to some extent, but not the variables themselves, so if something is unset or mistyped, a default is picked, and it's easy to miss because the output is very verbose. There is also no way to --help and get a documented list. |
Co-authored-by: Heidi Howard <[email protected]>
Co-authored-by: Heidi Howard <[email protected]>
Co-authored-by: Heidi Howard <[email protected]>
We have centralised some useful things in
tlc.sh
, but a lot of flags remain expanded inline in YAML, and tend to be copy-pasted per invocation. We then require extra descriptions, which can fall out of sync, to get readable CI steps. We also increasingly rely on environment variables, which are not necessarily validated nor discoverable.tlc.py
sets context-appropriate defaults, and exposes as CLI flags all options we currently use:The following subcommands are available:
Model Checking
Trace Validation
Simulation
This PR also includes some renaming to follow platform conventions, and remove the ambiguity caused by Limit variables with regards to the state space being explored.