Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2f321df
ci: import .rwx and ops/ci verbatim from #23151 at 2216cd4069
teddyknox Oct 29, 2026
d2cf8a0
ci: run the RWX shadow against unchanged CircleCI recipes
teddyknox Oct 29, 2026
e1b5b96
ci: document the RWX shadow and assign its owners
teddyknox Oct 29, 2026
3e784c8
ci: record unset RWX routing flags as false
teddyknox Oct 29, 2026
bdb59c1
ci: mirror develop's CI changes since the RWX import
teddyknox Nov 6, 2026
1b4923d
Merge remote-tracking branch 'origin/develop' into claude/rwx-additiv…
teddyknox Nov 6, 2026
3600c45
ci: fix the failures from a hosted RWX run of the PR gates
teddyknox Nov 9, 2026
69a1bbd
ci: drop the RWX scripts' CircleCI mode and check the Rust E2E gate
teddyknox Nov 9, 2026
a3db1e6
ci: run the RWX shadow on every branch push, like CircleCI
teddyknox Nov 9, 2026
05d27a6
docs: record which RWX vault branch patterns match
teddyknox Nov 9, 2026
d068c97
Merge remote-tracking branch 'origin/develop' into claude/rwx-additiv…
teddyknox Nov 9, 2026
786a647
ci: align the RWX E2E gate with CircleCI's split release build
teddyknox Nov 9, 2026
14dab2b
ci: check the RPC proxy's start schedule instead of upstream arrival …
teddyknox Nov 9, 2026
3533960
ci: leave the RWX paths with the default code owners
teddyknox Nov 10, 2026
55045ef
Merge remote-tracking branch 'origin/develop' into claude/rwx-additiv…
teddyknox Nov 10, 2026
6f9417c
ci: give the forge-build fixtures an op-deployer script
teddyknox Nov 10, 2026
8f582bb
Merge branch 'develop' of https://github.com/ethereum-optimism/optimi…
teddyknox Nov 16, 2026
287f3fb
ci: mirror develop's required-rust-ci changes in RWX
teddyknox Nov 16, 2026
c9d670b
ci: port develop's CircleCI changes since the last merge to RWX
teddyknox Nov 16, 2026
7db6600
ci: copy mktar's in-repo imports into the Kontrol fixture
teddyknox Nov 16, 2026
8fee7b3
ci: remove dead RWX test helpers and duplicate import guards
teddyknox Nov 18, 2026
4776040
ci: align RWX shadow tasks with what CircleCI runs
teddyknox Nov 18, 2026
154e2c7
ci: drop unused artifacts and constant plumbing from RWX definitions
teddyknox Nov 18, 2026
cb82af4
ci: run the CircleCI recipes directly in the RWX shadow workloads
teddyknox Nov 18, 2026
6a5bb5e
ci: run checks, acceptance, Go and Cannon as CircleCI runs them
teddyknox Nov 18, 2026
46ad65c
ci: derive the RWX gate verdict from receipt states alone
teddyknox Nov 18, 2026
95fe990
ci: write repeated RWX tasks as YAML merges of their first member
teddyknox Nov 18, 2026
33c55cf
docs: describe the RWX shadow as the definitions now run it
teddyknox Nov 18, 2026
dc61bdf
ci: pace the L2 fork tests' requests to the public RPC
teddyknox Nov 18, 2026
f9845c7
ci: list each RWX task after the tasks it uses
teddyknox Nov 18, 2026
f62e500
ci: give RWX the contract test reports under a path it can read
teddyknox Nov 18, 2026
4d199b7
ci: call the Rust E2E shadow from the RWX coordinator
teddyknox Nov 18, 2026
8298049
ci: mirror required-rust-e2e with a receipt and a status task
teddyknox Nov 18, 2026
34cf995
docs: say that a CLI run cancels the branch's running RWX coordinator
teddyknox Nov 18, 2026
ee244e6
Merge remote-tracking branch 'origin/develop' into claude/rwx-additiv…
teddyknox Nov 18, 2026
ac8137c
ci: run the custom-embeds tests in the RWX mirror of rust-tests
teddyknox Nov 18, 2026
c2c037b
ci: build each RWX dependency once, keyed on its build inputs
teddyknox Nov 18, 2026
c7b7799
ci: size the RWX Rust and contract tasks by measurement
teddyknox Nov 18, 2026
c3268a7
ci: give every RWX contracts build the same Go tool task
teddyknox Nov 18, 2026
2cf52df
docs: describe how the RWX shadow is tuned for speed and cost
teddyknox Nov 18, 2026
0f42e5c
ci: check a dependency out inside its RWX build, and split the E2E re…
teddyknox Nov 18, 2026
896d87d
ci: start each RWX dependency build without a checkout
teddyknox Nov 18, 2026
0dfc407
ci: name the scripts that an RWX build runs as its inputs
teddyknox Nov 19, 2026
7581e32
docs: say which scripts are inputs of an RWX build
teddyknox Nov 19, 2026
4daad88
ci: key the RWX Go tool task on its inputs
teddyknox Nov 19, 2026
32926ae
ci: give the RWX feature checks 16 GB
teddyknox Nov 19, 2026
b76298b
ci: key the RWX workloads' own tool tasks on their inputs
teddyknox Nov 19, 2026
82947d4
docs: say how to try an RWX shadow change without a CircleCI pipeline
teddyknox Nov 19, 2026
36c0c42
Merge remote-tracking branch 'origin/develop' into claude/rwx-additiv…
teddyknox Nov 19, 2026
8ecddfc
ci: follow a nested CircleCI gate in the RWX alignment check
teddyknox Nov 19, 2026
2bb9158
ci: key the RWX contract compiles and the Go module set on their inputs
teddyknox Nov 19, 2026
1ab4f97
docs: say when the RWX contracts gate waits for the L2 fork compile
teddyknox Nov 19, 2026
37d82fe
ci: name what an RWX contract compile reads
teddyknox Nov 19, 2026
94c5cad
docs: say that an authorized fork PR starts an RWX run
teddyknox Nov 19, 2026
8d74357
ci: fail the RWX route on develop when a shadowed workflow is not ena…
teddyknox Nov 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
322 changes: 322 additions & 0 deletions .rwx/acceptance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,322 @@
# CircleCI's memory-all acceptance jobs: op-node and kona-node, on four shards
# each. CircleCI retains all required gates.
on:
cache-rebuild:
if: ${{ event.git.branch == 'develop' }}
target: [go, contracts, kona, op-reth, prestate, sp1-executor, acceptance-tools]
init:
commit-sha: ${{ event.git.sha }}
branch: ${{ event.git.branch }}
cache-warm: "true"
cache-epoch: v1
build-probe: ""
target-cache-mode: keep
cli:
init:
commit-sha: ${{ event.git.sha }}
branch: ${{ event.git.branch }}
cache-warm: "false"
cache-epoch: v1
build-probe: ""
target-cache-mode: keep

# Shared cache baseline: only develop may write; PRs restore it read-only.
tool-cache:
vault: optimism-op-reth-shadow

base:
image: ubuntu:24.04@sha256:008173c23f95b170204355c12626cb5a965d779a7e1283b09e9cffbb1bf33ca3
config: rwx/base 1.2.0
arch: x86_64

defaults:
runner:
cpus: 2
memory: 8gb

tasks:
- key: code
call: git/clone 2.2.0
with:
repository: https://github.com/ethereum-optimism/optimism.git
ref: ${{ init.commit-sha }}
preserve-git-dir: true
fetch-full-depth: true
submodules: false

- key: bootstrap-inputs
use: code
run: 'true'
filter: [mise.toml, ops/ci/runtime]
outputs:
filesystem:
filter:
workspace: [mise.toml, ops/ci/runtime/apt-install.sh, ops/ci/runtime/rwx-prepare.sh, ops/ci/runtime/rwx-contracts-prepare.sh, ops/ci/runtime/rwx-rust-prepare.sh, ops/ci/runtime/op-reth-shadow.sh, ops/ci/runtime/op-reth-report.py, ops/ci/runtime/rust-target-cache.py]
system: []

- key: mise
call: mise/install 1.1.0
with:
mise-version: "2026.2.2"
install: "false"

# The filtered bootstrap layer keeps the checkout's Git history out of
# reusable tools. Language toolchains are added only by their own workload.
- key: tools
use: [mise, bootstrap-inputs]
call: ${{ run.dir }}/packages/toolchain-common.yml

- key: go-build-tools
use: tools
call: ${{ run.dir }}/packages/toolchain-go.yml
with:
mode: go

- key: route
use: [code, tools]
run: bash ops/ci/runtime/rwx-metadata.sh
env:
CI_CACHE_WARM: ${{ init.cache-warm }}
CI_BRANCH: ${{ init.branch }}
CI_COMMIT_SHA: ${{ init.commit-sha }}
cache: false
timeout: 10m
outputs:
filesystem: false

- key: contract-tools
use: [bootstrap-inputs, tools]
call: ${{ run.dir }}/packages/toolchain-foundry.yml
with:
mode: anvil

- key: rust-tools
use: [bootstrap-inputs, tools]
call: ${{ run.dir }}/packages/toolchain-rust.yml
with:
mode: release

- key: helper-tests
use: [code, go-build-tools]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
run: |
mise exec -- python3 -m unittest discover -s ops/ci/tests -p 'test_acceptance*.py'
cache: false
timeout: 10m
outputs:
filesystem: false

- key: source
use: [code, tools]
if: ${{ init.cache-warm == 'true' || tasks.route.values.run-main == 'true' }}
run: |
git submodule sync --recursive
git submodule update --init --recursive --jobs 8
git rev-parse HEAD >packages/contracts-bedrock/.gitcommit
timeout: 20m

# A dependency build checks out the commit that last changed its build inputs, so it
# is a cache hit for later commits and for the other workloads of the run.
- key: dependency-plan
use: code
run: python3 ops/ci/runtime/go-dependency-source.py plan
outputs:
filesystem: false

- key: go
use: go-build-tools
if: ${{ init.cache-warm == 'true' || tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/go-go.yml
with:
commit-sha: ${{ tasks.dependency-plan.values.go }}
cache-epoch: ${{ init.cache-epoch }}
build-probe: ${{ init.build-probe }}
target-cache-mode: ${{ init.target-cache-mode }}

- key: contracts
use: [go-build-tools, contract-tools]
if: ${{ init.cache-warm == 'true' || tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/go-contracts.yml
with:
commit-sha: ${{ tasks.dependency-plan.values.contracts }}
cache-epoch: ${{ init.cache-epoch }}
build-probe: ${{ init.build-probe }}
target-cache-mode: ${{ init.target-cache-mode }}

- key: kona
use: rust-tools
if: ${{ init.cache-warm == 'true' || tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/go-kona.yml
with:
commit-sha: ${{ tasks.dependency-plan.values.kona }}
cache-epoch: ${{ init.cache-epoch }}
build-probe: ${{ init.build-probe }}
target-cache-mode: ${{ init.target-cache-mode }}

- key: op-reth
use: rust-tools
if: ${{ init.cache-warm == 'true' || tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/go-op-reth.yml
with:
commit-sha: ${{ tasks.dependency-plan.values.op-reth }}
cache-epoch: ${{ init.cache-epoch }}
build-probe: ${{ init.build-probe }}
target-cache-mode: ${{ init.target-cache-mode }}

- key: prestate
use: go-build-tools
if: ${{ init.cache-warm == 'true' || tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/go-prestate.yml
with:
commit-sha: ${{ tasks.dependency-plan.values.prestate }}
cache-epoch: ${{ init.cache-epoch }}
build-probe: ${{ init.build-probe }}
target-cache-mode: ${{ init.target-cache-mode }}

- key: sp1-executor
use: rust-tools
if: ${{ init.cache-warm == 'true' || tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/go-sp1-executor.yml
with:
commit-sha: ${{ tasks.dependency-plan.values.sp1-executor }}
cache-epoch: ${{ init.cache-epoch }}
build-probe: ${{ init.build-probe }}
target-cache-mode: ${{ init.target-cache-mode }}

- key: acceptance-tools
use: [go-build-tools, contract-tools]
filter: [mise.toml, ops/ci/runtime/apt-install.sh]
run: |
bash ops/ci/runtime/apt-install.sh --no-install-recommends eatmydata
mise install go:github.com/ethereum/go-ethereum/cmd/geth
printf '%s\n' "$(mise bin-paths | paste -sd: -):$PATH" >"$RWX_ENV/PATH"
timeout: 30m

# Each verdict task is one node of CircleCI's memory-all-opn-op-reth-fusaka
# or memory-all-kona-op-reth-fusaka job. Shard indexes 0 to 3 cover every test.
- key: verdict-opn-0
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '0'
cl-kind: op-node
cache-key: acceptance-runtime-opn-0-${{ init.cache-epoch }}

- key: verdict-opn-1
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '1'
cl-kind: op-node
cache-key: acceptance-runtime-opn-1-${{ init.cache-epoch }}

- key: verdict-opn-2
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '2'
cl-kind: op-node
cache-key: acceptance-runtime-opn-2-${{ init.cache-epoch }}

- key: verdict-opn-3
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '3'
cl-kind: op-node
cache-key: acceptance-runtime-opn-3-${{ init.cache-epoch }}

- key: verdict-kona-0
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '0'
cl-kind: kona-node
cache-key: acceptance-runtime-kona-0-${{ init.cache-epoch }}

- key: verdict-kona-1
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '1'
cl-kind: kona-node
cache-key: acceptance-runtime-kona-1-${{ init.cache-epoch }}

- key: verdict-kona-2
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '2'
cl-kind: kona-node
cache-key: acceptance-runtime-kona-2-${{ init.cache-epoch }}

- key: verdict-kona-3
use: [source, acceptance-tools, go.build, contracts.build, kona.build, op-reth.build, prestate.build, sp1-executor.build]
if: ${{ init.cache-warm != 'true' && tasks.route.values.run-main == 'true' }}
call: ${{ run.dir }}/packages/acceptance-verdict.yml
with:
commit-sha: ${{ init.commit-sha }}
branch: ${{ init.branch }}
shard-index: '3'
cl-kind: kona-node
cache-key: acceptance-runtime-kona-3-${{ init.cache-epoch }}

- key: main-gate-receipt
use: [code, tools]
after: ${{ (verdict-kona-0.succeeded || verdict-kona-0.failed || verdict-kona-0.skipped) && (verdict-kona-1.succeeded || verdict-kona-1.failed || verdict-kona-1.skipped) && (verdict-kona-2.succeeded || verdict-kona-2.failed || verdict-kona-2.skipped) && (verdict-kona-3.succeeded || verdict-kona-3.failed || verdict-kona-3.skipped) && (verdict-opn-0.succeeded || verdict-opn-0.failed || verdict-opn-0.skipped) && (verdict-opn-1.succeeded || verdict-opn-1.failed || verdict-opn-1.skipped) && (verdict-opn-2.succeeded || verdict-opn-2.failed || verdict-opn-2.skipped) && (verdict-opn-3.succeeded || verdict-opn-3.failed || verdict-opn-3.skipped) }}
if: ${{ init.cache-warm != 'true' }}
run: python3 ops/ci/runtime/pr-gate.py receipt main-acceptance
env:
GROUP_SELECTED: ${{ tasks.route.values.run-main }}
TASK_VERDICT_KONA_0_SUCCEEDED: ${{ tasks.verdict-kona-0.succeeded }}
TASK_VERDICT_KONA_0_FAILED: ${{ tasks.verdict-kona-0.failed }}
TASK_VERDICT_KONA_0_SKIPPED: ${{ tasks.verdict-kona-0.skipped }}
TASK_VERDICT_KONA_1_SUCCEEDED: ${{ tasks.verdict-kona-1.succeeded }}
TASK_VERDICT_KONA_1_FAILED: ${{ tasks.verdict-kona-1.failed }}
TASK_VERDICT_KONA_1_SKIPPED: ${{ tasks.verdict-kona-1.skipped }}
TASK_VERDICT_KONA_2_SUCCEEDED: ${{ tasks.verdict-kona-2.succeeded }}
TASK_VERDICT_KONA_2_FAILED: ${{ tasks.verdict-kona-2.failed }}
TASK_VERDICT_KONA_2_SKIPPED: ${{ tasks.verdict-kona-2.skipped }}
TASK_VERDICT_KONA_3_SUCCEEDED: ${{ tasks.verdict-kona-3.succeeded }}
TASK_VERDICT_KONA_3_FAILED: ${{ tasks.verdict-kona-3.failed }}
TASK_VERDICT_KONA_3_SKIPPED: ${{ tasks.verdict-kona-3.skipped }}
TASK_VERDICT_OPN_0_SUCCEEDED: ${{ tasks.verdict-opn-0.succeeded }}
TASK_VERDICT_OPN_0_FAILED: ${{ tasks.verdict-opn-0.failed }}
TASK_VERDICT_OPN_0_SKIPPED: ${{ tasks.verdict-opn-0.skipped }}
TASK_VERDICT_OPN_1_SUCCEEDED: ${{ tasks.verdict-opn-1.succeeded }}
TASK_VERDICT_OPN_1_FAILED: ${{ tasks.verdict-opn-1.failed }}
TASK_VERDICT_OPN_1_SKIPPED: ${{ tasks.verdict-opn-1.skipped }}
TASK_VERDICT_OPN_2_SUCCEEDED: ${{ tasks.verdict-opn-2.succeeded }}
TASK_VERDICT_OPN_2_FAILED: ${{ tasks.verdict-opn-2.failed }}
TASK_VERDICT_OPN_2_SKIPPED: ${{ tasks.verdict-opn-2.skipped }}
TASK_VERDICT_OPN_3_SUCCEEDED: ${{ tasks.verdict-opn-3.succeeded }}
TASK_VERDICT_OPN_3_FAILED: ${{ tasks.verdict-opn-3.failed }}
TASK_VERDICT_OPN_3_SKIPPED: ${{ tasks.verdict-opn-3.skipped }}
cache: false
timeout: 10m
outputs:
filesystem: false
artifacts:
- key: receipt
path: .ci/pr-gates/groups/main-acceptance
Loading
Loading