ethereum-optimism / ethereum-optimism/optimism

Raise an error if the deployment strategy changes between runs

Open
#12,608 0 comments 0 reactions 0 assignees View on GitHub
A-op-deployer T-platforms
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 15h
Merged PRs (30d)
145

Description

It's currently possible to change the deployment strategy in between runs of op-deployer. This doesn't work: in both cases, the pipeline steps will depend on state that doesn't exist. To prevent weird error messages from tripping up our users, we need to check for changes in the deployment strategy and raise a clear error early.

Contributor guide

Open the contributing guide

Research direction

Start by locating op-deployer's run and state-handling entry points, then trace where the deployment strategy is read and persisted between runs. Compare the current strategy with the stored strategy and confirm that a changed strategy produces a clear early error rather than allowing later pipeline failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.