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

feat(workspace): Distribute pipeline, not providers#717

Merged
clabby merged 2 commits intomainfrom
cl/rethink-providers
Oct 19, 2024
Merged

feat(workspace): Distribute pipeline, not providers#717
clabby merged 2 commits intomainfrom
cl/rethink-providers

Conversation

@clabby
Copy link
Contributor

@clabby clabby commented Oct 19, 2024

Overview

Experiment to distribute DerivationPipeline types, as kona-providers-alloy is doing today. Our abstractions are a bit off right now, with kona-providers holding traits specific to kona-derive, without ever needing to be used alongside it. However, kona-providers-alloy is already following a great pattern by distributing the pipeline itself with a constructor for the configuration as new_online_pipeline, as the abstractions intended.

This pattern keeps cyclical dependencies away, and because we're distributing the pipeline, there's no real need for kona-providers. We can also extend this pattern further, with a good cleanup of the oracle-backed pipeline into a new kona-derive-oracle crate.

This is also how modifications like alt DA intend to ship their pipeline type variants as well.

@clabby clabby added K-feature Kind: feature A-workspace Area: workspace level modifications labels Oct 19, 2024
@clabby clabby self-assigned this Oct 19, 2024
@clabby clabby requested a review from refcell as a code owner October 19, 2024 06:55
@codecov
Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@49c3118). Learn more about missing BASE report.
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

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

Copy link
Contributor

@refcell refcell left a comment

Choose a reason for hiding this comment

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

I'm a proponent of this refactor. Left a few comments that I'd like to see addressed prior to merging.

@refcell
Copy link
Contributor

refcell commented Oct 19, 2024

I'd also like to get this in first: #713

@clabby clabby force-pushed the cl/rethink-providers branch from c817d72 to 2e88e14 Compare October 19, 2024 14:49
@clabby clabby force-pushed the cl/rethink-providers branch from 3e59c5a to ba3c337 Compare October 19, 2024 14:54
@clabby clabby force-pushed the cl/rethink-providers branch from ba3c337 to aed7355 Compare October 19, 2024 14:55
@clabby clabby enabled auto-merge October 19, 2024 14:57
@clabby clabby added this pull request to the merge queue Oct 19, 2024
Merged via the queue into main with commit e44a11b Oct 19, 2024
@github-actions github-actions bot mentioned this pull request Oct 19, 2024
@github-actions github-actions bot mentioned this pull request Jan 26, 2025
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
* feat(workspace): Distribute pipeline, not providers

* lint
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
* feat(workspace): Distribute pipeline, not providers

* lint
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-workspace Area: workspace level modifications K-feature Kind: feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants