Skip to content

all: Add Interop rollup config set to op-supervisor#16038

Merged
sebastianst merged 3 commits intodevelopfrom
seb/interop-rollup-config-set
May 22, 2025
Merged

all: Add Interop rollup config set to op-supervisor#16038
sebastianst merged 3 commits intodevelopfrom
seb/interop-rollup-config-set

Conversation

@sebastianst
Copy link
Copy Markdown
Member

@sebastianst sebastianst commented May 20, 2025

Description

This adds a new rollup config set as an additional configuration requirement to the op-supervisor. It's a set of trimmed-down versions of the classic rollup.Config, just containing the configuration fields relevant to the supervisor. It needs to be provided in addition to the Interop dependency set. It also adds a bit more information, namely the timestamp of the genesis L1 block.

I've created a merged configuration interface depset.FullConfigSet that combined both, the dep set and rollup config set into one, to easer pass the config around when setting up the supervisor.

It may make sense to rename the op-supervisor/supervisor/backend/depset package to something like op-supervisor/supervisor/backend/config, or maybe move it a bit higher up, like op-supervisor/supervisor/config.

Tests

Adapted existing testes. There may be a few tests missing, which I'm happy to add.

Additional context

This is in preparation for the upgrade work at #16008 where the rollup config is needed.

Metadata

@sebastianst sebastianst requested review from a team and protolambda May 20, 2025 20:12
@codecov
Copy link
Copy Markdown

codecov bot commented May 20, 2025

Codecov Report

Attention: Patch coverage is 85.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 87.52%. Comparing base (90064ef) to head (f9e782c).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
op-devstack/sysgo/deployer.go 76.92% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           develop   #16038       +/-   ##
============================================
+ Coverage    46.98%   87.52%   +40.53%     
============================================
  Files         1360       20     -1340     
  Lines       109447     1707   -107740     
============================================
- Hits         51429     1494    -49935     
+ Misses       54369      193    -54176     
+ Partials      3649       20     -3629     
Flag Coverage Δ
cannon-go-tests-64 ?
contracts-bedrock-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
op-devstack/sysgo/cluster.go 100.00% <100.00%> (ø)
op-devstack/sysgo/l2_challenger.go 84.25% <100.00%> (ø)
op-devstack/sysgo/supervisor.go 93.49% <100.00%> (ø)
op-devstack/sysgo/deployer.go 92.88% <76.92%> (-0.90%) ⬇️

... and 1343 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch 3 times, most recently from 82e330f to 9676c92 Compare May 21, 2025 12:01
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch from 9676c92 to 37efba7 Compare May 22, 2025 09:33
Comment thread op-supervisor/supervisor/backend/depset/rollup_config_set.go Outdated
Comment thread op-supervisor/supervisor/backend/depset/rollup_config_set.go Outdated
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch 2 times, most recently from cc3f2da to dc7a668 Compare May 22, 2025 12:57
Copy link
Copy Markdown
Contributor

@protolambda protolambda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uncertain if we can merge this; kurtosis interop CI will break. We will need to work with platforms to get that updated

Comment thread op-supervisor/supervisor/backend/depset/rollup_config_set.go Outdated
Comment thread op-supervisor/supervisor/service.go Outdated
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch 2 times, most recently from 9b6edc5 to 536d2e9 Compare May 22, 2025 14:45
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch 3 times, most recently from 22e1736 to 3a77926 Compare May 22, 2025 16:24
Comment thread kurtosis-devnet/optimism-package-trampoline/kurtosis.yml Outdated
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch from 3a77926 to 5076a14 Compare May 22, 2025 16:47
janjakubnanista pushed a commit to ethpandaops/optimism-package that referenced this pull request May 22, 2025
ethereum-optimism/optimism#16038 introduces a
new required command line flag/env var
`OP_SUPERVISOR_ROLLUP_CONFIG_PATHS`.
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch from 5076a14 to 44744c1 Compare May 22, 2025 16:59
janjakubnanista pushed a commit to ethpandaops/optimism-package that referenced this pull request May 22, 2025
ethereum-optimism/optimism#16038 introduces a
new required command line flag/env var
`OP_SUPERVISOR_ROLLUP_CONFIG_PATHS`.
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch 2 times, most recently from 7ce1497 to 3ea8c9d Compare May 22, 2025 18:58
@protolambda protolambda added this pull request to the merge queue May 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 22, 2025
@sebastianst sebastianst added this pull request to the merge queue May 22, 2025
@sebastianst sebastianst removed this pull request from the merge queue due to a manual request May 22, 2025
@sebastianst sebastianst force-pushed the seb/interop-rollup-config-set branch from 370c71b to f9e782c Compare May 22, 2025 20:15
@sebastianst sebastianst enabled auto-merge May 22, 2025 20:16
@sebastianst sebastianst added this pull request to the merge queue May 22, 2025
Merged via the queue into develop with commit 18594ce May 22, 2025
59 checks passed
@sebastianst sebastianst deleted the seb/interop-rollup-config-set branch May 22, 2025 20:41
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.

2 participants