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

PTFE-1196 reduce impact of missed webhooks #491

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

tcarmet
Copy link
Contributor

@tcarmet tcarmet commented Dec 4, 2023

When a webhook is missed by the runner-manager whatever the reason may be, instead of continuously being X runner late for a given group, we continuously check the time it took for a given job to start and create an extra runner if the value is too high.

While this may not completely solve the issue, it can reduce its impact on users.

@tcarmet tcarmet force-pushed the feature/PTFE-1196-missed-webhook-impact branch 2 times, most recently from 1a2fcf9 to 24e056a Compare December 4, 2023 21:10
@tcarmet tcarmet marked this pull request as ready for review December 4, 2023 21:13
@tcarmet tcarmet requested a review from a team as a code owner December 4, 2023 21:13
@tcarmet tcarmet force-pushed the feature/PTFE-1196-missed-webhook-impact branch from 24e056a to 7c5c4f7 Compare December 4, 2023 21:15
@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (11e6771) 85.26% compared to head (7c5c4f7) 85.44%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #491      +/-   ##
==========================================
+ Coverage   85.26%   85.44%   +0.17%     
==========================================
  Files          31       31              
  Lines        1154     1168      +14     
==========================================
+ Hits          984      998      +14     
  Misses        170      170              
Flag Coverage Δ
api 66.09% <43.75%> (-0.37%) ⬇️
unit 71.06% <100.00%> (+0.35%) ⬆️

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

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

@tcarmet tcarmet enabled auto-merge December 4, 2023 21:24
@tcarmet tcarmet merged commit 195e920 into main Dec 6, 2023
12 checks passed
@tcarmet tcarmet deleted the feature/PTFE-1196-missed-webhook-impact branch December 6, 2023 17:21
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.

3 participants