Skip to content

ci: Add Mergify#2383

Merged
tynes merged 1 commit intoethereum-optimism:developfrom
mslipper:feat/mergify
Mar 31, 2022
Merged

ci: Add Mergify#2383
tynes merged 1 commit intoethereum-optimism:developfrom
mslipper:feat/mergify

Conversation

@mslipper
Copy link
Collaborator

@mslipper mslipper commented Mar 31, 2022

This PR adds support for Mergify, a tool that automates PR review. It uses a YAML file to define a set of review rules. The rules I've enabled for this repo are the following:

  • Normally, PRs are auto merged after required checks pass and they have two or more approving reviews.
  • PRs labeled with SR-Risk or C-Protocol-Critical can be auto-merged after a review from @maurelian or @tynes/@smartcontracts, respectively.
  • PRs are squashed and merged to avoid lots of tiny commits. I've enabled that at the repo level.
  • PRs labeled with SR-Risk receive a comment asking for additional info on the shape of the security risk intorduced by the PR.
  • PRs that change l2geth Go code or DTL Typescript code automatically receive the C-Protocol-Critical label and request @tynes and @smartcontracts as reviewers.
  • Otherwise, the bot requests 2 random members of the systems team to review.
  • PRs with merge conflicts receive a comment asking for them to be resolved.

I've also removed CODEOWNERS since this replaces it.

@changeset-bot
Copy link

changeset-bot bot commented Mar 31, 2022

⚠️ No Changeset found

Latest commit: 45b1b2d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added 2-reviewers M-ci Meta: ci related work labels Mar 31, 2022
@tynes
Copy link
Contributor

tynes commented Mar 31, 2022

why not delete codeowners or rename the file?

@mslipper
Copy link
Collaborator Author

why not delete codeowners or rename the file?

It had been commented out previously to keep around the original list of owners. I'm not married to this either way.

@tynes
Copy link
Contributor

tynes commented Mar 31, 2022

why not delete codeowners or rename the file?

It had been commented out previously to keep around the original list of owners. I'm not married to this either way.

Ok i'm not super opinionated, I have a slight preference for deleting it because it will likely go stale if its commented out

@mslipper
Copy link
Collaborator Author

why not delete codeowners or rename the file?

It had been commented out previously to keep around the original list of owners. I'm not married to this either way.

Ok i'm not super opinionated, I have a slight preference for deleting it because it will likely go stale if its commented out

FIxed.

@tynes tynes merged commit 458995e into ethereum-optimism:develop Mar 31, 2022
theochap pushed a commit that referenced this pull request Dec 10, 2025
…RootAtTimestamp` (#2395)

Closes #2383 , #2384 

- Skipped testing for `supervisor_syncStatus` because that is being
tested checking the chain progress.
- Skipped `supervisor_dependencySetV1` because we need `QueryAPI` in Go
implementation to implement the end-point so that we can test it using
devstack.

#### Changes

- The serialize and deserialize implemented for `ChainID` is now generic
for `u64` because I needed it at other places as well.
- Due to the way Go unmarshalls the response, I needed to add the
response objects `SuperRootOutputRpc` and `ChainRootInfoRpc`, which are
essentially the same as `SuperRootOutput` and `ChainRootInfo` used
before. The fields `timestamp`, `version` and `chainID` needed to be
compatible with `hexutil.Uint64` and hexutil.Bytes`. Hence all the
modifications.

Tested locally, all tests including e2e tests are passing as expected.
theochap pushed a commit that referenced this pull request Jan 14, 2026
…RootAtTimestamp` (op-rs/kona#2395)

Closes #2383 , #2384 

- Skipped testing for `supervisor_syncStatus` because that is being
tested checking the chain progress.
- Skipped `supervisor_dependencySetV1` because we need `QueryAPI` in Go
implementation to implement the end-point so that we can test it using
devstack.

#### Changes

- The serialize and deserialize implemented for `ChainID` is now generic
for `u64` because I needed it at other places as well.
- Due to the way Go unmarshalls the response, I needed to add the
response objects `SuperRootOutputRpc` and `ChainRootInfoRpc`, which are
essentially the same as `SuperRootOutput` and `ChainRootInfo` used
before. The fields `timestamp`, `version` and `chainID` needed to be
compatible with `hexutil.Uint64` and hexutil.Bytes`. Hence all the
modifications.

Tested locally, all tests including e2e tests are passing as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

M-ci Meta: ci related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants