ci: on-demand TLA+ model check workflow + fast profile - #58
Open
jghoman wants to merge 1 commit into
Open
Conversation
Not a default PR gate — the full model is ~85M distinct states (~18 min on 12 perf cores, 60-90 min on a standard runner): - workflow_dispatch (full by default, fast selectable) — the receipt for spec changes - pull_request touching tla/**: fast profile automatically (~3M states, minutes) as a non-required smoke signal - nightly full run on main for spec/code drift Viaduck.fast.cfg = MaxOps 3 (~28x smaller; 55s locally, all 7 invariants). tla2tools pinned + cached; log uploaded as artifact with a step summary. just tlc-fast mirrors the profile locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
GitHub Actions workflow for the TLA+ spec check — deliberately not a default PR gate (the full model is ~85M distinct states: ~18 min on 12 local perf cores, 60–90 min on a standard 4-vCPU runner):
workflow_dispatchfastselectable)tla/**Viaduck.fast.cfgis the new smoke profile:MaxOps 3, ~3M distinct states, 55s locally, all 7 invariants — validated green before this PR. The fullViaduck.cfgstays authoritative for spec changes; the two files are identical exceptMaxOps(noted in the header comment).just tlc-fastmirrors it locally.Mechanics:
tla2tools.jarpinned (v1.7.4) + cached, temurin 21,-workers auto, log uploaded as an artifact with the state-count/verdict lines in the step summary — the "did anyone actually run TLC?" review question becomes a link.Cost
Standard runner private-repo minutes: fast ≈ pennies, full ≈ $0.50–0.75/run. If the full run's wall time ever matters,
runs-oncan point at a larger runner (16-core ≈ 15–20 min, ~$1.30/run) — left onubuntu-latestuntil someone cares.