Journeys 07–10: codegen-consume, interface-consume, protocol-fixture, live-network - #1
Merged
Conversation
…work Fill the journey gaps that became the sole real-binary coverage after tx3-lang/trix#129 hermeticized trix's local suite: - 07-codegen-consume: real `tx3c codegen` with the published codegen-v1beta0 templates, compile the generated ts-client in a host package, then resolve a transfer through it against a local devnet. - 08-interface-consume: build a real TII, prime the interface cache byte-for-byte as `trix use` writes it, then real `tx3c decode` via `inspect tir` (alias + full ref) and codegen-for-interface. - 09-protocol-fixture: the acme/hydra-heads production-scale protocol through check/build/inspect. No `trix test` slice yet: every upstream protocols/ fixture ships a stale scaffold tests/basic.toml referencing a `transfer` tx none of them define (tracked in the umbrella plans). - 10-live-network: secrets-gated preprod resolve via a Demeter TRP endpoint, mirroring the sdks live-e2e env contract. Skips green without the env; new dx-e2e-live.yml runs it weekly + on dispatch. Also: graduate 04-devnet-roundtrip to the stable job (the trix#123 expect fix ships in trix 0.26.2 on both channels — verified locally), add 07/08 to the beta cherry-pick, and add pull_request triggers so journey changes are validated pre-merge now that this is its own repo. All journeys verified green in isolation and in the full suite against trix 0.26.2 / tx3c 0.23.0 (the current stable channel), no leaked daemons. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Fills the journey gaps from the umbrella plan dx-e2e-journeys-remaining, which became the sole real-binary coverage of these surfaces after tx3-lang/trix#129 hermeticized trix's local suite (every tx3c interaction there now runs against a fake).
New journeys
07-codegen-consumetx3c codegen+ publishedcodegen-v1beta0templates → generated ts-client compiles in a host package (npm install+tsc) → resolves a transfer through the generated client against a local devnet TRP08-interface-consumetrix usewrites it, then realtx3c decodeviainspect tir(alias + full-ref forms) and codegen-for-interface from the cached TII09-protocol-fixtureacme/hydra-headsproduction-scale protocol (~1000 lines) throughcheck→build→inspect tir10-live-networktrix invoke -p preprod --skip-submitagainst a live Demeter TRP endpoint, mirroring the sdks live-e2e env contract (TRP_ENDPOINT_PREPROD,TRP_API_KEY_PREPROD,TEST_PARTY_A/B_ADDRESS)CI changes
04-devnet-roundtripgraduates to the stable job: the trix#123 expect fix ships in trix 0.26.2, which is what the stable channel now installs — verified locally (Test Passed). Its README's "add to stable once fixed" trigger has fired.07/08also join the beta cherry-pick (they're the drift-detectors for the contracts trix#129 stubs).dx-e2e-live.yml: weekly + manual, forwards the four live secrets to10-live-network. Until those secrets are configured on this repo it's a green no-op (the journey logs the skip).pull_requesttriggers added to the stable/beta workflows — this repo had no pre-merge validation at all (the push-to-main-only triggers predate the extraction).Verified locally (trix 0.26.2 / tx3c 0.23.0 — the current stable channel)
./run.sh --journey <name> --verbose) and the full suite green: 10 passed, 0 skipped, no leaked dolos daemons.[networks.preprod]override was smoke-tested against the public Demeter preprod TRP (reaches the endpoint; fails only on the unfunded probe address, as expected).Known findings (tracked umbrella-side)
trix testslice in09: every upstreamprotocols/fixture ships a stale scaffoldtests/basic.tomlreferencing atransfertx none of them define (unknown tx: transfer). The round-trip slice unblocks when the fixtures grow real scenarios.10needs theTRP_*/TEST_PARTY_*secrets (same values as the sdks repo) added to this repo.🤖 Generated with Claude Code