Skip to content

Comments

op-deployer: fix bootstrap implementations flags#17090

Merged
mslipper merged 2 commits intodevelopfrom
ss/op-deployer-implementation-cfg
Aug 15, 2025
Merged

op-deployer: fix bootstrap implementations flags#17090
mslipper merged 2 commits intodevelopfrom
ss/op-deployer-implementation-cfg

Conversation

@bitwiseguy
Copy link
Contributor

Overview

This pr fixes a few bugs related to the following cli command: op-deployer bootstrap implementations.

Bugs:

  • challenger is now a required input, but was not a flag recognized by bootstrap implementations
  • bootstrap implementations should support embedded artifacts locator (same as bootstrap superchain) but it was producing the error failed to deploy implementations: invalid config for Implementations: artifacts locator must be specified without adding the code in this pr to process the artifacts-locator cli flag

Follow-up work

Extend op-deployer integration tests so that they cover cli inputs instead of starting at the underlying library functions that are invoked after the cli flags are interpreted.

@bitwiseguy bitwiseguy requested a review from a team as a code owner August 15, 2025 15:15
@bitwiseguy bitwiseguy requested a review from refcell August 15, 2025 15:15
@bitwiseguy bitwiseguy force-pushed the ss/op-deployer-implementation-cfg branch from 300ba13 to d6dfae0 Compare August 15, 2025 15:27
@codecov
Copy link

codecov bot commented Aug 15, 2025

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.41%. Comparing base (fefed18) to head (d6dfae0).
⚠️ Report is 13 commits behind head on develop.

Files with missing lines Patch % Lines
...deployer/pkg/deployer/bootstrap/implementations.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #17090      +/-   ##
===========================================
- Coverage    45.82%   42.41%   -3.42%     
===========================================
  Files         1467     1306     -161     
  Lines       119308   110071    -9237     
===========================================
- Hits         54678    46690    -7988     
+ Misses       60804    59716    -1088     
+ Partials      3826     3665     -161     
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 Δ
...deployer/pkg/deployer/bootstrap/implementations.go 31.16% <0.00%> (-1.49%) ⬇️

... and 176 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.

@mslipper mslipper added this pull request to the merge queue Aug 15, 2025
Merged via the queue into develop with commit a87c898 Aug 15, 2025
68 checks passed
@mslipper mslipper deleted the ss/op-deployer-implementation-cfg branch August 15, 2025 19:40
janjakubnanista pushed a commit that referenced this pull request Aug 19, 2025
* op-deployer: fix bootstrap implementations flags

* updated bootstrap devdoc
leopoldjoy pushed a commit to leopoldjoy/optimism that referenced this pull request Aug 22, 2025
…7090)

* op-deployer: fix bootstrap implementations flags

* updated bootstrap devdoc
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