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

chore: end sync_pull experiment #546

Merged
merged 2 commits into from
Jul 15, 2024
Merged

Conversation

giovanni-guidini
Copy link
Contributor

read more on the experiment: https://l.codecov.dev/KvKfel (codecov internal)

Ending the pull_sync experiment.
The conclusion is to reduce blocking timeout to 0.5s (10x smaller). This apparently can reduce up to 10% of the tasks run.

The vast majority of tasks wait less than 100ms for the lock, so there's still plenty room for delays.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@giovanni-guidini giovanni-guidini requested a review from a team July 5, 2024 09:10
Copy link

codecov bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.53%. Comparing base (a9332e2) to head (a3d46c7).

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #546      +/-   ##
==========================================
- Coverage   97.53%   97.53%   -0.01%     
==========================================
  Files         451      451              
  Lines       36111    36101      -10     
==========================================
- Hits        35221    35211      -10     
  Misses        890      890              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.62% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (-0.01%) ⬇️
Files Coverage Δ
rollouts/__init__.py 100.00% <ø> (ø)
tasks/sync_pull.py 98.80% <100.00%> (-0.07%) ⬇️

This change has been scanned for critical changes. Learn more

@codecov-notifications
Copy link

codecov-notifications bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #546      +/-   ##
==========================================
- Coverage   97.51%   97.51%   -0.01%     
==========================================
  Files         420      420              
  Lines       35389    35379      -10     
==========================================
- Hits        34509    34499      -10     
  Misses        880      880              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.57% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (-0.01%) ⬇️
Files Coverage Δ
rollouts/__init__.py 100.00% <ø> (ø)
tasks/sync_pull.py 98.80% <100.00%> (-0.07%) ⬇️

@codecov-qa
Copy link

codecov-qa bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.51%. Comparing base (a9332e2) to head (a3d46c7).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #546      +/-   ##
==========================================
- Coverage   97.51%   97.51%   -0.01%     
==========================================
  Files         420      420              
  Lines       35389    35379      -10     
==========================================
- Hits        34509    34499      -10     
  Misses        880      880              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.57% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (-0.01%) ⬇️
Files Coverage Δ
rollouts/__init__.py 100.00% <ø> (ø)
tasks/sync_pull.py 98.80% <100.00%> (-0.07%) ⬇️

Copy link

codecov-public-qa bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.51%. Comparing base (a9332e2) to head (a3d46c7).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #546      +/-   ##
==========================================
- Coverage   97.51%   97.51%   -0.01%     
==========================================
  Files         420      420              
  Lines       35389    35379      -10     
==========================================
- Hits        34509    34499      -10     
  Misses        880      880              
Flag Coverage Δ
integration 97.51% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.51% <100.00%> (-0.01%) ⬇️
unit 97.51% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.57% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.74% <ø> (-0.01%) ⬇️
Files Coverage Δ
rollouts/__init__.py 100.00% <ø> (ø)
tasks/sync_pull.py 98.80% <100.00%> (-0.07%) ⬇️

@giovanni-guidini giovanni-guidini removed the request for review from a team July 5, 2024 16:09
read more on the experiment: https://l.codecov.dev/KvKfel (codecov internal)

Ending the pull_sync experiment.
The conclusion is to reduce blocking timeout to 0.5s (10x smaller).
This apparently can reduce up to 10% of the tasks run.

The vast majority of tasks wait less than 100ms for the lock, so there's
still plenty room for delays.
@giovanni-guidini giovanni-guidini added this pull request to the merge queue Jul 15, 2024
Merged via the queue into main with commit 06065ec Jul 15, 2024
29 of 30 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/update-sync-pull-timeout branch July 15, 2024 00:43
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