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

app/obolapi: specify HTTP requests timeout #3098

Merged
merged 3 commits into from
May 27, 2024

Conversation

gsora
Copy link
Collaborator

@gsora gsora commented May 23, 2024

Allow users of app/obolapi to specify HTTP requests timeout.

As a result of this feature, add the --publish-timeout CLI flag to exit and dkg commands.

category: feature
ticket: none

app/obolapi/api.go Outdated Show resolved Hide resolved
app/obolapi/api_internal_test.go Outdated Show resolved Hide resolved
Allow users of `app/obolapi` to specify HTTP requests timeout.

As a result of this feature, add the `--publish-timeout` CLI flag to `exit` and `dkg` commands.
@gsora gsora force-pushed the gsora/publish-cli-timeout branch from 859df7f to 7b2de52 Compare May 23, 2024 11:37
Copy link

codecov bot commented May 23, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 56.82%. Comparing base (9daf1c8) to head (fcfdf29).
Report is 1 commits behind head on main.

Files Patch % Lines
cmd/exit.go 0.00% 4 Missing ⚠️
cmd/dkg.go 0.00% 1 Missing ⚠️
dkg/dkg.go 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3098      +/-   ##
==========================================
+ Coverage   56.80%   56.82%   +0.02%     
==========================================
  Files         208      208              
  Lines       29104    29143      +39     
==========================================
+ Hits        16532    16561      +29     
- Misses      10733    10742       +9     
- Partials     1839     1840       +1     

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

app/obolapi/api.go Show resolved Hide resolved
cmd/dkg.go Outdated Show resolved Hide resolved
cmd/exit.go Outdated Show resolved Hide resolved
gsora and others added 2 commits May 25, 2024 17:39
Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
Copy link

sonarcloud bot commented May 25, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@gsora gsora added the merge when ready Indicates bulldozer bot may merge when all checks pass label May 27, 2024
@obol-bulldozer obol-bulldozer bot merged commit 210176e into main May 27, 2024
12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the gsora/publish-cli-timeout branch May 27, 2024 10:45
KaloyanTanev pushed a commit that referenced this pull request Jun 5, 2024
Allow users of `app/obolapi` to specify HTTP requests timeout.

As a result of this feature, add the `--publish-timeout` CLI flag to `exit` and `dkg` commands.

category: feature
ticket: none
obol-bulldozer bot pushed a commit that referenced this pull request Jun 5, 2024
- #3084
- #3092  
- #3098 
- #3099 
- #3100 
- #3106 
- #3110 
- #3111 
- #3114 
- #3118 

category: misc
ticket: #3103 

closes: #3103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants