Skip to content

Add bounded UCI generated-code compile check - #2

Merged
nth-bailey merged 1 commit into
mainfrom
test/uci-generated-compile
Sep 28, 2026
Merged

nth-bailey merged 1 commit into
mainfrom
test/uci-generated-compile

Conversation

@nth-bailey

Copy link
Copy Markdown
Contributor

What changed

Add scripts/check_uci_codegen.py, a reproducible UCI 2.5 generated-code compile check. It uses the exact four-schema corpus module, builds one target at a time in a temporary directory, and runs Python, Go, TypeScript, Java, and C# compilers with per-command timeouts and the PolyXML memory-cap wrapper (35% of available RAM). Document the command in the README.

Verification

A full local run passed all five selected targets with the compiler changes in polyxml/PolyXML#93. The check does not modify the existing validation runner or its CI job.

Follow-up

This is a staged part of #1. Wire it into CI after polyxml/PolyXML#93 is merged. Rust and C++ full UCI compilation require source-splitting/resource work in polyxml/PolyXML#92 before they can join a bounded gate.

@nth-bailey
nth-bailey marked this pull request as ready for review September 28, 2026 23:48
@nth-bailey
nth-bailey merged commit 7124574 into main Sep 28, 2026
1 check passed
@nth-bailey
nth-bailey deleted the test/uci-generated-compile branch September 28, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant