Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollup-client: Increase call timeouts in CI #12561

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

ajsutton
Copy link
Contributor

Description

Attempt to fix timeouts in CI when requesting output roots via the RollupClient by increasing the timeouts. The CI boxes can be under a lot of load resulting in surprisingly long delays to respond.

Refactors the op-service/client package a fair bit to ensure config options are more consistently applied and the timeouts can be configured.

Switching DialRollupClientWithTimeout to use the dialing code from NewRPC which supports passing through options to configure the timeout but otherwise seems to be duplicated code.

Refactors the op-service/client package a fair bit to ensure config options are more consistently applied.
Copy link
Collaborator

@mslipper mslipper left a comment

Choose a reason for hiding this comment

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

LGTM. Would love to find a way of baking this functionality into test libraries we use everywhere so that we can avoid issues related to call timeouts or transient network errors in the future.

@mslipper mslipper added this pull request to the merge queue Oct 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 22, 2024
@tynes tynes added this pull request to the merge queue Oct 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 22, 2024
@ajsutton ajsutton added this pull request to the merge queue Oct 22, 2024
Merged via the queue into develop with commit 2d08d19 Oct 22, 2024
48 checks passed
@ajsutton ajsutton deleted the aj/ci-timeouts branch October 22, 2024 20:19
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
Refactors the op-service/client package a fair bit to ensure config options are more consistently applied.
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