Repository navigation
Serve the playground from a Cloudflare Worker and publish conformance results - #4
Merged
Merged
Conversation
… results - Replace the GitHub Pages workflow. The playground is served from a Cloudflare Worker, deployed manually from a local, git-ignored deploy folder, and the README points at the deployed URL. - Add `openiac-conformance status`, which parses every fixture and writes conformance/status.json plus the shields.io badge the README renders. CI runs it with -check so the published numbers cannot drift. - Render the minimum-Terraform-version distribution in the README.
be-thomas
commented
Oct 26, 2026
be-thomas
left a comment
Owner
Author
There was a problem hiding this comment.
Independent review of the conformance status tooling, corpus reproducibility and docs.
Verified: openiac-conformance status -check passes; regenerating status.json/badge.json in a clean scratch copy of HEAD produces byte-identical files; repeat runs are identical; gofmt -l, go vet ./... and go test ./... are clean; the fixture corpus is committed (853 inputs / 6471 files) and verify succeeds; deploy/ is untracked and matched by .gitignore.
Findings below, all low severity.
Mark the README chart with start/end comments so `status` rewrites it and `status -check` verifies it alongside status.json and badge.json. Compare every generated artifact after normalising line endings, and pin the generated files to LF in .gitattributes so a Windows checkout does not report a false stale summary. Also document the Worker deployment from a fresh clone, move the parse summary to the end of the corpus section, refresh the add-a-source steps, and cover the section helpers with tests.
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
The playground moves off GitHub Pages. The Pages workflow is deleted and the
site is disabled. The playground is served by a Cloudflare Worker at
https://openiac.cwz.workers.dev, with static assets coming straight from
playground/and a/api/healthendpoint the observability panel can build on.The Wrangler project and its state live in a local
deploy/folder that.gitignorenow excludes, so no deployment data is committed. Deployment ismanual, as requested:
Conformance results are published.
openiac-conformance statusparses everyfixture and writes
conformance/status.json(corpus size, parse counts,minimum-version distribution) plus
conformance/badge.json(the shields.ioendpoint the README renders). CI runs
status -check, so the published numberscannot drift from the corpus.
README gains a live conformance badge and a chart of the minimum Terraform
version each fixture needs. All 853 modules parse into schema 0.2 IR.
Checks
gofmt -l .,go vet ./...,go test ./...make conformance-verify— 853 fixtures, 6,471 filesmake conformance-status-check— summary current/200 text/html,/api/health200 JSON,/main.wasm200application/wasm,
/app.jsand/styles.css200