Skip to content

Conversation

yashvardhan-kukreja
Copy link
Contributor

@yashvardhan-kukreja yashvardhan-kukreja commented Sep 26, 2025

Description

Allows setting up two optional flags to op-conductor which allow conductor to tolerate 206's returned by rollup-boost. This feature is developed in favor of the fact that a lot of times such issues are bearable and not worth the leadership switch.

Tests

Additional context

Metadata

@jelias2
Copy link
Contributor

jelias2 commented Sep 26, 2025

I was thinking this type of feature could use the sliding_window from proxyd. What are your thoughts on re-using instead of making a new object for this?

That package already has testing and has been productionized already so I'd lean towards that over developing new modules.

@yashvardhan-kukreja
Copy link
Contributor Author

yashvardhan-kukreja commented Sep 26, 2025

I was thinking this type of feature could use the sliding_window from proxyd.

You mean importing proxyd as a package, and using? Although I haven't explored that thing but still I am not sure about establishing such kind of dependency b/w these two, especially considering that the dependent is gonna be op-conductor which is a part of optimism package.

If we'd like to re-use such functionality, I'd rather have it modularized somewhere under optimism like in op-service and have both proxyd and op-conductor import and use it. But I'd suggest having a different PR for it.

Copy link
Contributor

@jelias2 jelias2 left a comment

Choose a reason for hiding this comment

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

Could the timeBoundedRotatingCounter be put into a subpackage and unit tested outside of the context of the partial health check as well?

@jelias2
Copy link
Contributor

jelias2 commented Sep 26, 2025

I was thinking this type of feature could use the sliding_window from proxyd.

You mean importing proxyd as a package, and using? Although I haven't explored that thing but still I am not sure about establishing such kind of dependency b/w these two, especially considering that the dependent is gonna be op-conductor which is a part of optimism package.

If we'd like to re-use such functionality, I'd rather have it modularized somewhere under optimism like in op-service and have both proxyd and op-conductor import and use it. But I'd suggest having a different PR for it.

Yeah your right, we would have circular dependencys, probably not the best idea

@yashvardhan-kukreja
Copy link
Contributor Author

Could the timeBoundedRotatingCounter be put into a subpackage and unit tested outside of the context of the partial health check as well?

Done

Signed-off-by: Yashvardhan Kukreja <[email protected]>
Signed-off-by: Yashvardhan Kukreja <[email protected]>
@yashvardhan-kukreja yashvardhan-kukreja force-pushed the yash/op-conductor-rollup-boost-partial-tolerance branch from b0b3652 to bc0cdb8 Compare October 6, 2025 10:41
@yashvardhan-kukreja yashvardhan-kukreja added this pull request to the merge queue Oct 6, 2025
Merged via the queue into develop with commit 25032f2 Oct 6, 2025
66 checks passed
@yashvardhan-kukreja yashvardhan-kukreja deleted the yash/op-conductor-rollup-boost-partial-tolerance branch October 6, 2025 11:21
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