-
Notifications
You must be signed in to change notification settings - Fork 215
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
Add TLAi linter. #6098
Add TLAi linter. #6098
Conversation
mku-tlai@83226 aka 20240326.30 vs main ewma over 20 builds from 82798 to 83199 Click to see tablemain
mku-tlai
|
The script seems to run but the upload to SARIF fails: https://github.com/microsoft/CCF/actions/runs/8442480667/job/23123973469
It sounds like github/codeql-action#2117, but the repo is definitely public, so perhaps not? |
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
@@ -20,7 +20,8 @@ | |||
SerialiseCoverageConstraint == | |||
LET interval == 500000 | |||
IN IF TLCGet("distinct") % interval = 0 | |||
THEN Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>]) | |||
THEN /\ Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>]) |
Check warning
Code scanning / genaiscript
TLAi-linter Warning
tla/StatsFile.tla
Outdated
@@ -20,7 +20,8 @@ | |||
SerialiseCoverageConstraint == | |||
LET interval == 500000 | |||
IN IF TLCGet("distinct") % interval = 0 | |||
THEN Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>]) | |||
THEN /\ Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>]) | |||
/\ PrintT("Writing stats to file: " \o CoverageFilename) |
Check notice
Code scanning / genaiscript
TLAi-linter
@@ -20,7 +20,8 @@ | |||
SerialiseCoverageConstraint == | |||
LET interval == 500000 | |||
IN IF TLCGet("distinct") % interval = 0 | |||
THEN Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>]) | |||
THEN /\ Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>]) |
Check failure
Code scanning / genaiscript
TLAi-linter Error
I'm not 100% certain that this automation will have always access to the env secrets. Unfortunately, I don't know how to check it without deploying it.