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

obolapi: update publish lock timeout to 30s #2685

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

xenowits
Copy link
Contributor

@xenowits xenowits commented Nov 8, 2023

Update timeout to 30s for publishing lock to obol-api. This ensures that DKG doesn't error if lock files are large enough (>200kb) whose publishing takes more than 5s.

30s is an empirical timeout value which is safe for publishing large lock files (1.5MB) to obol-api.

category: refactor
ticket: none

@xenowits xenowits self-assigned this Nov 8, 2023
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b525c40) 53.32% compared to head (6e191eb) 53.24%.

❗ Current head 6e191eb differs from pull request most recent head 073b35c. Consider uploading reports for the commit 073b35c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2685      +/-   ##
==========================================
- Coverage   53.32%   53.24%   -0.08%     
==========================================
  Files         201      201              
  Lines       27574    27574              
==========================================
- Hits        14703    14681      -22     
- Misses      11054    11078      +24     
+ Partials     1817     1815       -2     
Files Coverage Δ
app/obolapi/api.go 65.51% <100.00%> (ø)

... and 3 files with indirect coverage changes

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

Copy link

sonarcloud bot commented Nov 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@xenowits xenowits added the merge when ready Indicates bulldozer bot may merge when all checks pass label Nov 8, 2023
@obol-bulldozer obol-bulldozer bot merged commit 9a5aa8c into main Nov 8, 2023
12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the xenowits/obol-api-timeout branch November 8, 2023 10:42
dB2510 pushed a commit that referenced this pull request Nov 8, 2023
Update timeout to 30s for publishing lock to obol-api. This ensures that DKG doesn't error if lock files are large enough (>200kb) whose publishing takes more than 5s. 

30s is an empirical timeout value which is safe for publishing large lock files (1.5MB)  to obol-api.

category: refactor 
ticket: none
obol-bulldozer bot pushed a commit that referenced this pull request Nov 8, 2023
This PR cherry-picks the following PRs:
- #2685
- #2673

category: bug
ticket: none
xenowits added a commit that referenced this pull request Nov 9, 2023
Update timeout to 30s for publishing lock to obol-api. This ensures that DKG doesn't error if lock files are large enough (>200kb) whose publishing takes more than 5s. 

30s is an empirical timeout value which is safe for publishing large lock files (1.5MB)  to obol-api.

category: refactor 
ticket: none
xenowits added a commit that referenced this pull request Nov 9, 2023
Update timeout to 30s for publishing lock to obol-api. This ensures that DKG doesn't error if lock files are large enough (>200kb) whose publishing takes more than 5s. 

30s is an empirical timeout value which is safe for publishing large lock files (1.5MB)  to obol-api.

category: refactor 
ticket: none
@xenowits xenowits mentioned this pull request Nov 9, 2023
obol-bulldozer bot pushed a commit that referenced this pull request Nov 9, 2023
CHERRY-PICKED PRs

* Update timeout for publishing lock to 30s: #2685
* Fix synthetic proposal errors when a block for a slot is not found: #2693
* Bump go version to 1.21.4 to fix govulncheck builds: #2694

category: bug 
ticket: none
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.

None yet

2 participants