Skip to content

Commit 66d6538

Browse files
Skip reverted txs in the derivation pipeline (#2)
* Update derivation pipeline to ignore reverted transactions. * Update github workflows. * Update CODEOWNERS. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update crates/protocol/derive/src/sources/calldata.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update crates/protocol/derive/src/sources/calldata.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix bad setup for tests. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9dc4509 commit 66d6538

File tree

8 files changed

+441
-362
lines changed

8 files changed

+441
-362
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
* @BioMark3r @emhane @theochap
2-
.github/ @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
3-
bin/supervisor @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
4-
crates/supervisor @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
5-
crates/protocol/interop/ @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
6-
Cargo.toml @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
7-
Cargo.lock @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
8-
tests/ @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
9-
docker/recipes/ @dhyaniarun1993 @itschaindev @sadiq1971 @BioMark3r @emhane @theochap
1+
@snehkoul @jjeangal @dailinsubjam @shenkeyao @philippecamacho @QuentinI @dailinsubjam
Lines changed: 129 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -1,134 +1,131 @@
1-
name: Sysgo E2E Tests
2-
on:
3-
push:
4-
branches: [main]
5-
merge_group:
6-
pull_request:
7-
env:
8-
CARGO_TERM_COLOR: always
9-
jobs:
10-
node-e2e-sysgo-tests:
11-
runs-on: ubuntu-latest
12-
timeout-minutes: 60
13-
name: ${{ matrix.devnet-config }}-sysgo-tests
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
devnet-config: ["simple-kona", "simple-kona-geth", "simple-kona-sequencer", "large-kona-sequencer"]
18-
steps:
19-
- name: Checkout sources
20-
uses: actions/checkout@v5
21-
with:
22-
submodules: true
23-
24-
- uses: ./.github/actions/setup
25-
with:
26-
channel: stable
27-
components: llvm-tools-preview
28-
29-
- name: Free Disk Space (Ubuntu)
30-
uses: jlumbroso/free-disk-space@main
31-
with:
32-
large-packages: false
33-
34-
- uses: taiki-e/install-action@just
35-
36-
- uses: taiki-e/install-action@cargo-llvm-cov
37-
38-
- uses: jdx/mise-action@v3 # installs Mise + runs `mise install`
39-
40-
- name: Setup Go 1.24.3
41-
uses: actions/setup-go@v5
42-
with:
43-
# Semantic version range syntax or exact version of Go
44-
go-version: '1.24.3'
45-
cache-dependency-path: "**/go.sum"
46-
47-
- name: common tests for node with sysgo orchestrator and report coverage
48-
run: |
49-
source <(cargo llvm-cov show-env --export-prefix)
50-
just test-e2e-sysgo node node/common "${{ matrix.devnet-config }}"
51-
cargo llvm-cov report --lcov --output-path node_common_cov.lcov
1+
# Broken in upstream
2+
# name: Sysgo E2E Tests
3+
# on:
4+
# push:
5+
# branches: [main]
6+
# merge_group:
7+
# pull_request:
8+
# env:
9+
# CARGO_TERM_COLOR: always
10+
# jobs:
11+
# node-e2e-sysgo-tests:
12+
# runs-on: ubuntu-latest
13+
# timeout-minutes: 60
14+
# name: ${{ matrix.devnet-config }}-sysgo-tests
15+
# strategy:
16+
# fail-fast: false
17+
# matrix:
18+
# devnet-config: ["simple-kona", "simple-kona-geth", "simple-kona-sequencer", "large-kona-sequencer"]
19+
# steps:
20+
# - name: Checkout sources
21+
# uses: actions/checkout@v5
22+
# with:
23+
# submodules: true
24+
25+
# - uses: ./.github/actions/setup
26+
# with:
27+
# channel: stable
28+
# components: llvm-tools-preview
29+
30+
# - name: Free Disk Space (Ubuntu)
31+
# uses: jlumbroso/free-disk-space@main
32+
# with:
33+
# large-packages: false
34+
35+
# - uses: taiki-e/install-action@just
36+
37+
# - uses: taiki-e/install-action@cargo-llvm-cov
38+
39+
# - uses: jdx/mise-action@v3 # installs Mise + runs `mise install`
40+
41+
# - name: Setup Go 1.24.3
42+
# uses: actions/setup-go@v5
43+
# with:
44+
# # Semantic version range syntax or exact version of Go
45+
# go-version: '1.24.3'
46+
# cache-dependency-path: "**/go.sum"
47+
48+
# - name: common tests for node with sysgo orchestrator and report coverage
49+
# run: |
50+
# source <(cargo llvm-cov show-env --export-prefix)
51+
# just test-e2e-sysgo node node/common "${{ matrix.devnet-config }}"
52+
# cargo llvm-cov report --lcov --output-path node_common_cov.lcov
5253

53-
- name: Upload coverage to codecov.io
54-
uses: codecov/codecov-action@v5
55-
with:
56-
fail_ci_if_error: true
57-
token: ${{ secrets.CODECOV_TOKEN }}
58-
files: node_common_cov.lcov
59-
flags: e2e
60-
env_vars: OS,RUST
61-
name: node-sysgo-tests-common
62-
verbose: true
54+
# - name: Upload coverage to codecov.io
55+
# uses: codecov/codecov-action@v5
56+
# with:
57+
# fail_ci_if_error: true
58+
# token: ${{ secrets.CODECOV_TOKEN }}
59+
# files: node_common_cov.lcov
60+
# flags: e2e
61+
# env_vars: OS,RUST
62+
# name: node-sysgo-tests-common
63+
# verbose: true
6364

64-
- name: reorg tests for node with sysgo orchestrator and report coverage
65-
run: |
66-
source <(cargo llvm-cov show-env --export-prefix)
67-
just test-e2e-sysgo node node/reorgs "${{ matrix.devnet-config }}"
68-
cargo llvm-cov report --lcov --output-path node_reorgs_cov.lcov
69-
70-
- name: Upload coverage to codecov.io
71-
uses: codecov/codecov-action@v5
72-
with:
73-
fail_ci_if_error: true
74-
token: ${{ secrets.CODECOV_TOKEN }}
75-
files: node_reorgs_cov.lcov
76-
flags: e2e
77-
env_vars: OS,RUST
78-
name: node-sysgo-tests-reorgs
79-
verbose: true
80-
81-
node-restart-sysgo-tests:
82-
runs-on: ubuntu-latest
83-
timeout-minutes: 60
84-
name: sysgo-restart-tests
85-
steps:
86-
- name: Checkout sources
87-
uses: actions/checkout@v5
88-
with:
89-
submodules: true
90-
91-
- uses: ./.github/actions/setup
92-
with:
93-
channel: stable
94-
components: llvm-tools-preview
95-
96-
- name: Free Disk Space (Ubuntu)
97-
uses: jlumbroso/free-disk-space@main
98-
with:
99-
large-packages: false
100-
101-
- uses: taiki-e/install-action@just
102-
103-
- uses: taiki-e/install-action@cargo-llvm-cov
104-
105-
- uses: jdx/mise-action@v3 # installs Mise + runs `mise install`
106-
107-
- name: Setup Go 1.24.3
108-
uses: actions/setup-go@v5
109-
with:
110-
# Semantic version range syntax or exact version of Go
111-
go-version: '1.24.3'
112-
cache-dependency-path: "**/go.sum"
113-
114-
115-
- name: restart tests for node with sysgo orchestrator and report coverage
116-
run: |
117-
source <(cargo llvm-cov show-env --export-prefix)
118-
just test-e2e-sysgo node node/restart
119-
cargo llvm-cov report --lcov --output-path node_restart_cov.lcov
120-
121-
- name: Upload coverage to codecov.io
122-
uses: codecov/codecov-action@v5
123-
with:
124-
fail_ci_if_error: true
125-
token: ${{ secrets.CODECOV_TOKEN }}
126-
files: node_restart_cov.lcov
127-
flags: e2e
128-
env_vars: OS,RUST
129-
name: node-sysgo-tests-restart
130-
verbose: true
131-
132-
133-
134-
65+
# - name: reorg tests for node with sysgo orchestrator and report coverage
66+
# run: |
67+
# source <(cargo llvm-cov show-env --export-prefix)
68+
# just test-e2e-sysgo node node/reorgs "${{ matrix.devnet-config }}"
69+
# cargo llvm-cov report --lcov --output-path node_reorgs_cov.lcov
70+
71+
# - name: Upload coverage to codecov.io
72+
# uses: codecov/codecov-action@v5
73+
# with:
74+
# fail_ci_if_error: true
75+
# token: ${{ secrets.CODECOV_TOKEN }}
76+
# files: node_reorgs_cov.lcov
77+
# flags: e2e
78+
# env_vars: OS,RUST
79+
# name: node-sysgo-tests-reorgs
80+
# verbose: true
81+
82+
# node-restart-sysgo-tests:
83+
# runs-on: ubuntu-latest
84+
# timeout-minutes: 60
85+
# name: sysgo-restart-tests
86+
# steps:
87+
# - name: Checkout sources
88+
# uses: actions/checkout@v5
89+
# with:
90+
# submodules: true
91+
92+
# - uses: ./.github/actions/setup
93+
# with:
94+
# channel: stable
95+
# components: llvm-tools-preview
96+
97+
# - name: Free Disk Space (Ubuntu)
98+
# uses: jlumbroso/free-disk-space@main
99+
# with:
100+
# large-packages: false
101+
102+
# - uses: taiki-e/install-action@just
103+
104+
# - uses: taiki-e/install-action@cargo-llvm-cov
105+
106+
# - uses: jdx/mise-action@v3 # installs Mise + runs `mise install`
107+
108+
# - name: Setup Go 1.24.3
109+
# uses: actions/setup-go@v5
110+
# with:
111+
# # Semantic version range syntax or exact version of Go
112+
# go-version: '1.24.3'
113+
# cache-dependency-path: "**/go.sum"
114+
115+
116+
# - name: restart tests for node with sysgo orchestrator and report coverage
117+
# run: |
118+
# source <(cargo llvm-cov show-env --export-prefix)
119+
# just test-e2e-sysgo node node/restart
120+
# cargo llvm-cov report --lcov --output-path node_restart_cov.lcov
121+
122+
# - name: Upload coverage to codecov.io
123+
# uses: codecov/codecov-action@v5
124+
# with:
125+
# fail_ci_if_error: true
126+
# token: ${{ secrets.CODECOV_TOKEN }}
127+
# files: node_restart_cov.lcov
128+
# flags: e2e
129+
# env_vars: OS,RUST
130+
# name: node-sysgo-tests-restart
131+
# verbose: true

0 commit comments

Comments
 (0)