Skip to content

Conversation

@bobtajson
Copy link
Contributor

@bobtajson bobtajson commented Dec 14, 2025

Summary

Makes the execution client keepalive interval configurable instead of being hardcoded to 1 minute.

Resolves TODO in validation_client.go

  • Added flag: --validation-server-configs.exec-keep-alive-interval

  • Default value: 1m (1 minute)

  • Purpose: Controls the interval for sending keepalive messages to execution client runs to maintain active connections.

pmikolajczyk41
pmikolajczyk41 previously approved these changes Dec 15, 2025
Copy link
Member

@pmikolajczyk41 pmikolajczyk41 left a comment

Choose a reason for hiding this comment

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

thank you for this contribution; please also add a short note to the PR description what exactly configuration flag was added, what is the default value and what it does - this will help us when creating release notes later

@bobtajson
Copy link
Contributor Author

@pmikolajczyk41 Done sir

pmikolajczyk41
pmikolajczyk41 previously approved these changes Dec 15, 2025
Copy link
Member

@pmikolajczyk41 pmikolajczyk41 left a comment

Choose a reason for hiding this comment

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

thank you sir

@pmikolajczyk41 pmikolajczyk41 assigned eljobe and unassigned bobtajson Dec 15, 2025
@pmikolajczyk41
Copy link
Member

@bobtajson you have removed closing curly bracket in the file

@eljobe eljobe assigned bobtajson and unassigned eljobe Dec 15, 2025
@bobtajson
Copy link
Contributor Author

@bobtajson you have removed closing curly bracket in the file

Oh sorry, i missed it, thank you!

@bobtajson
Copy link
Contributor Author

@pmikolajczyk41 @eljobe Sorry, can you check please? What's wrong with CI?

"github.com/offchainlabs/nitro/util/signature"
)

const DefaultExecKeepAliveInterval = time.Minute
Copy link
Member

Choose a reason for hiding this comment

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

Extraneous, put time.Minute directly in TestClientConfig and DefaultClientConfig

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 33.31%. Comparing base (5b59a1a) to head (adc7bf6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4140      +/-   ##
==========================================
- Coverage   33.35%   33.31%   -0.05%     
==========================================
  Files         453      453              
  Lines       55536    55539       +3     
==========================================
- Hits        18524    18501      -23     
- Misses      33774    33832      +58     
+ Partials     3238     3206      -32     

@bobtajson
Copy link
Contributor Author

@pmikolajczyk41 so sir, i made changes @joshuacolvin0 asked me, should i change something else or revert changes?

@pmikolajczyk41
Copy link
Member

@bobtajson we are waiting for @joshuacolvin0 revisit here, especially for his take on my comment

in any way you'll need to add a changelog fragment, according to our updated CONTRIBUTING.md and CI checks

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.

4 participants