Repository navigation
CI: every committed port must compile against the current generator (#4423) - #4434
Merged
Merged
Conversation
…4423) tests/tools/ports_compile_check.py generates each crucible case's project (cics_crucible.forge) and each equivalence corpus's project (h2, as equivalence_java.prepare_project does), lays the committed ports over it and compiles -- no Docker, no COBOL run -- naming each port that fails (crucible:<case>/<PROGRAM>, equivalence:<case>). 45 ports today: 17 crucible, 28 equivalence (CardDemo / CBSA / GenApp). Workflow ports-compile.yml runs it, blocking. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
squid-protocol
marked this pull request as ready for review
October 5, 2026 12:17
This was referenced Oct 5, 2026
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.
Draft. Fixes #4423.
Problem
#4390 shipped with the committed crucible ports no longer compiling against the generator, and #4342/#4349 changed the generated surface again. Nothing in CI said so by name: it showed up only as ratcheted
java-portedcells in the CICS Crucible job (Docker + GnuCOBOL, reported per scenario) or as stale evidence records.Fix
tests/tools/ports_compile_check.py: generates each project with the generator at HEAD, lays the committed ports over it, compiles, and fails naming each broken port. No Docker, no COBOL run.tests/cics_crucible/ports/<case>/<PROGRAM>/overlay, 17): the same path ascics_crucible.py forge(refactor, cobol-to-java h2, overlays,mvn compile). A port is named when the compiler's errors name one of its files, else every port of the case is named.tests/equivalence/<case>/port, 28: CardDemo, CBSA, GenApp): each corpus's project is generated once, the wayequivalence_java.prepare_projectdoes it (h2, the case's culture), and built with Maven. Then each port's files (after the files of itsuses_ports) are compiled with javac against that build, which is how the harness's--reusecompiles a port..github/workflows/ports-compile.yml, job committed ports compile. It reuses cics-crucible.yml's pin clone, setup-java 17 and the Maven cache, plus java-compile.yml's corpora cache and fetch. It is blocking (no continue-on-error), because every port compiles on main since Prove crucible ports through their deployed entry points (Spring facades) (#4343) #4425.tests/cics_crucible/test_ports_compile_check.py: checks the port discovery (every committed equivalence port,uses_portsorder) and the culprit naming.Proof (local, JDK 17, cics-crucible v0.2.0)
all 45 committed port(s) compile against the generator at HEAD(4m08s; corpora already fetched, scans cached).PcwizWsStaterenamed in PCWIZ, a type error appended to COSGN00C), then reverted:::errorannotations naming each port.🤖 Generated with Claude Code