feat(bake): customize composed contract bundles without rebuilding - #39
Conversation
|
Rebased onto the rebased #38, which is itself now on
Conflicts resolved (5 files)
Compatibility fix (separate commit)
One thing to confirm
|
7196c0b to
4d4511c
Compare
e7f9134 to
56dfaf0
Compare
The bundle inputs landed pointing at ghcr.io/offchainlabs/arbitrum-testnode-ci, which is private and no longer the published name. Consumers of the bake action would need a token for what is now a credential-free pull, and the repository they pulled from would not be the one a release writes to. bundle-image-repository and the CLI default now resolve DEFAULT_TESTNODE_IMAGE_REPOSITORY, so the bake path and the boot path agree on where bundles come from, and moving registries again stays a one-line change. Two tests pasted the old ref as a literal and now import the constant. The latest-alias step also publishes to both registries rather than GHCR alone; an alias that exists in one registry and not the other makes the same tag name resolve differently depending on where it is pulled from. Its assertion checks that, rather than a specific command string. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
56dfaf0 to
ec09a0b
Compare
testnode.Dockerfile now takes the Token Bridge workspace from a named context defaulting to `scratch`, so a build that omits it copies nothing into /workspace and dies at `git commit` with an empty tree. test-l3-eth-action passed the context; test-nitro-image-rebase-action still used the old plain build and failed. The pin now lives in one workflow-level env rather than being repeated per job, since the next job to build the image would hit the same trap. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Summary
latest-<variant>the valid consumer default while retaining versioned tags and exact Nitro/Token Bridge provenance labelsdocker committhe customized statelatestaliases only after the full release image matrix succeedsStack
feat/nitro-contracts-source-workspaces; merge feat(init): source Nitro contracts from release or workspace #38 first.origin/mainwas checked atfcb17ecbefore the latest update.Consumer workflow
startand the run action resolvelatest-<variant>by default.bakepulls that bundle (or an explicitbundle-image-ref), boots it, and runs the downstream setup command against live RPCs.Validation
pnpm lintpnpm typecheckpnpm buildpnpm test:run(27 files, 239 tests)git diff --checkCodex assisted with this implementation; the submitter remains responsible for reviewing and validating the code.