Skip to content

ci(codegen): render with released tx3c and smoke-check the surface - #12

Merged
scarmuega merged 1 commit into
mainfrom
ci/codegen-released-tx3c
Sep 28, 2026
Merged

scarmuega merged 1 commit into
mainfrom
ci/codegen-released-tx3c

Conversation

@scarmuega

@scarmuega scarmuega commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Why

The codegen job built tx3c from tx3 commit 456f685 (pre-release) and only compiled the output. The SDK spec (sdk-spec/codegen/testing.md) requires tx3c from tx3-lang/actions/setup and a smoke check of the generated surface (step 4). tx3c 0.25.0 ships java-client and is on the stable channel.

Change

  • Replace the Rust toolchain + pinned tx3c build with tx3-lang/actions/setup@v1.
  • New .github/scripts/codegen-check.sh (mirrors rust-sdk's): installs this checkout as 0.15.0-SNAPSHOT, renders transfer and complex, asserts identity constants, Profile, *_TIR constants, *Params records, fromParts seeding, the transfer fixture's typed setters and method, and the absence of generic/builder-only setters, then mvn verifys each against the snapshot.

Verification

  • Render + smoke logic run locally against tx3c 0.25.0 (Maven calls stubbed; no local JDK): both fixtures pass.
  • bash -n, YAML parse. Compilation relies on this PR's generated Java client job.

🤖 Generated with Claude Code

Provision tx3c through tx3-lang/actions/setup (stable: tx3c 0.25.0)
instead of building a pinned pre-release commit, and move the check into
.github/scripts/codegen-check.sh. It now asserts the generated surface
(identity constants, Profile, TIR constants, Params records, typed party
setters, no builder-only setters) before compiling against this checkout,
as sdk-spec codegen/testing.md requires.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@scarmuega
scarmuega merged commit f6bb107 into main Sep 28, 2026
5 checks passed
@scarmuega
scarmuega deleted the ci/codegen-released-tx3c branch September 28, 2026 16:07
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