Repository navigation
ci: run the Flow port parity gates and the corpus parity check - #1021
Merged
Merged
Conversation
A flowc-parity-gates job runs parity_lowering, parity_field_dsl, parity_shader_dsl, parity_dynamics_dsl, parity_flow_blocks and parity_effects in golden mode, then fmt_check --check. They need only a C compiler; the shader gate skips its Metal step without xcrun. A flowc-corpus-parity job runs corpus_parity.sh --check against the recorded Python goldens. parity_proofs and parity_mlir already run in flowc-selfhost, and parse_coverage --check has its own job.
…test_sort_nan fmt_check and corpus_parity built the bootstrap C without -lm, which fails to link on Linux. test_sort_nan made its positive NaN as 0.0 / 0.0, which is a negative NaN on x86-64, so totalOrder sorted it first and the test failed on the Linux runner while passing on arm64. It now sets the sign with copysign.
godofecht
force-pushed
the
ci/parity-gates
branch
from
September 29, 2026 10:58
c532820 to
7363af3
Compare
fzero / fzero is also a negative NaN on x86-64; copysignf makes it positive so the f32 totalOrder check holds on the Linux runner.
runtime_strict_abort printed "before" and then aborted. With stdout on a pipe the line stays in the buffer, which abort() drops, so the Linux runner lost it and the order of stdout and stderr depended on the platform. The fixture flushes stdout first, and the golden records the now fixed order.
godofecht
added a commit
that referenced
this pull request
Oct 1, 2026
Recover docs/design/denotational-mlir.md from the unmerged feat/denotational-mlir branch and update it: the Python emitter is retired, the flow.* dialect is a future slice for compiler/src/mlirgen.flow, and the related issues are #664, #665, #667 and #671. Add docs/project/archive-tags.md listing the archive/* tags that keep reference implementations written against the retired Python compiler. AGENTS.md: replace the stale denotational lane entry, mark #1021 and #1022 merged, and refresh the bootstrap suite numbers (254 files, 251 pass, 3 fail on 2026-10-01).
godofecht
added a commit
that referenced
this pull request
Oct 1, 2026
* docs: denotational MLIR design, archive tags, AGENTS.md refresh Recover docs/design/denotational-mlir.md from the unmerged feat/denotational-mlir branch and update it: the Python emitter is retired, the flow.* dialect is a future slice for compiler/src/mlirgen.flow, and the related issues are #664, #665, #667 and #671. Add docs/project/archive-tags.md listing the archive/* tags that keep reference implementations written against the retired Python compiler. AGENTS.md: replace the stale denotational lane entry, mark #1021 and #1022 merged, and refresh the bootstrap suite numbers (254 files, 251 pass, 3 fail on 2026-10-01). * docs: list the denotational MLIR page in nav.json and mark archive-tags unlisted
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.
Adds two CI jobs so the Flow ports cannot regress against the Python reference.
Already covered elsewhere: parity_proofs and parity_mlir (golden mode) run in flowc-selfhost, and parse_coverage.sh --check has its own job. scripts/check_pkg_parity.sh is left out because it runs the Python package manager as its reference side.
Each gate passed locally on this tree (macOS).