Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

chore(node/service): Have EngineActor produce reset request channel#2312

Merged
clabby merged 1 commit intomainfrom
cl/eng-reset-req-chan
Jun 27, 2025
Merged

chore(node/service): Have EngineActor produce reset request channel#2312
clabby merged 1 commit intomainfrom
cl/eng-reset-req-chan

Conversation

@clabby
Copy link
Contributor

@clabby clabby commented Jun 27, 2025

Overview

Inverts the creation of the reset_request channel, such that the EngineActor produces the channel. This allows for multiple producers to take a handle to the reset request sender in the RollupNodeService.

@clabby clabby self-assigned this Jun 27, 2025
Copilot AI review requested due to automatic review settings June 27, 2025 15:41
@clabby clabby added the K-chore Kind: chore label Jun 27, 2025
@clabby clabby requested review from emhane and refcell as code owners June 27, 2025 15:41
@clabby clabby added the A-node Area: cl node (eq. Go op-node) handles single-chain consensus label Jun 27, 2025
@clabby clabby requested a review from theochap as a code owner June 27, 2025 15:41
@clabby clabby added the W-node Workstream: kona-node label Jun 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the reset request channel so that the EngineActor produces the channel instead of the DerivationActor. The key changes are:

  • Removing the reset_request channel from DerivationOutboundChannels.
  • Adding the reset_request channel production in EngineActor and updating its outbound data.
  • Passing the reset_request_tx to the derivation context from the EngineActor.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
crates/node/service/src/service/core.rs Adjusts the creation and propagation of the reset_request channel between actors.
crates/node/service/src/actors/engine/actor.rs Implements the reset channel in EngineActor and updates channel handling in actor instantiation.
crates/node/service/src/actors/derivation.rs Removes the reset_request channel from derivation actor and updates related process calls.
Comments suppressed due to low confidence (1)

crates/node/service/src/actors/derivation.rs:131

  • Update the documentation for reset_request_tx to clearly indicate that this sender is now provided externally from the EngineActor and is used for propagating reset events. This clarification will help maintain clarity about the channel's ownership and intended usage.
    pub reset_request_tx: mpsc::Sender<()>,

@codecov
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.0%. Comparing base (33ed6ed) to head (52956cf).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@clabby clabby added this pull request to the merge queue Jun 27, 2025
Merged via the queue into main with commit edd0486 Jun 27, 2025
24 of 25 checks passed
@clabby clabby deleted the cl/eng-reset-req-chan branch June 27, 2025 16:36
PoulavBhowmick03 pushed a commit to PoulavBhowmick03/kona that referenced this pull request Jun 28, 2025
## Overview

Plumbs in the reset request channel from op-rs#2312 into the
`SequencerActor`, and sends a reset request if there is a `Reset` error
during attributes building.

closes op-rs#2305
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
…op-rs/kona#2312)

## Overview

Inverts the creation of the `reset_request` channel, such that the
`EngineActor` produces the channel. This allows for multiple producers
to take a handle to the reset request sender in the `RollupNodeService`.
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
## Overview

Plumbs in the reset request channel from op-rs/kona#2312 into the
`SequencerActor`, and sends a reset request if there is a `Reset` error
during attributes building.

closes op-rs/kona#2305
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
…op-rs/kona#2312)

## Overview

Inverts the creation of the `reset_request` channel, such that the
`EngineActor` produces the channel. This allows for multiple producers
to take a handle to the reset request sender in the `RollupNodeService`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-node Area: cl node (eq. Go op-node) handles single-chain consensus K-chore Kind: chore W-node Workstream: kona-node

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants