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

Werft tracing improvements #8743

Merged
merged 1 commit into from
Mar 11, 2022
Merged

Werft tracing improvements #8743

merged 1 commit into from
Mar 11, 2022

Conversation

mads-hartmann
Copy link
Contributor

@mads-hartmann mads-hartmann commented Mar 11, 2022

Description

This moves the graceful shutdown logic to a "finally" block and introduces separate phases for the shutdown logic. Previously the shutdown logs would just to to the last open phase which was a bit confusing.

With this change I haven't been able to reproduce #8727 but I don't see how this change should fix it. However, as this is an improvement I'd like to get it into main and then see if I can reproduce #8727 off a new branch.

Related Issue(s)

Part of #8727 but suspect not the solution.

How to test

I was able to reproduce the #8727 error here (job 3, trace) but never again after introducing the change (job 4, trace). And that's even when I tried clean-slate-deployment (job 6, trace). Even so, I don't this change is the fix and suspect there's some other race condition or similar that I just didn't hit.

Release Notes

NONE

Documentation

N/A

@codecov
Copy link

codecov bot commented Mar 11, 2022

Codecov Report

Merging #8743 (10b776e) into main (4580ba9) will not change coverage.
The diff coverage is n/a.

❗ Current head 10b776e differs from pull request most recent head 8b9123e. Consider uploading reports for the commit 8b9123e to get more accurate results

@@           Coverage Diff           @@
##             main    #8743   +/-   ##
=======================================
  Coverage   11.17%   11.17%           
=======================================
  Files          18       18           
  Lines         993      993           
=======================================
  Hits          111      111           
  Misses        880      880           
  Partials        2        2           
Flag Coverage Δ
components-gitpod-cli-app 11.17% <ø> (ø)

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

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@roboquat roboquat added size/S and removed size/XS labels Mar 11, 2022
@mads-hartmann mads-hartmann marked this pull request as ready for review March 11, 2022 10:49
@mads-hartmann mads-hartmann requested a review from a team March 11, 2022 10:50
Copy link
Member

@meysholdt meysholdt left a comment

Choose a reason for hiding this comment

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

Code changes LGTM!

@roboquat roboquat merged commit 4f801ba into main Mar 11, 2022
@roboquat roboquat deleted the mads/werft-tracing branch March 11, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants