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

fix(metrics-operator): use context with timeout for fetching analysis values #2213

Merged
merged 5 commits into from
Oct 3, 2023

Conversation

bacherfl
Copy link
Member

@bacherfl bacherfl commented Oct 2, 2023

The analysis controller did not pass the correct context through to the workers for fetching the analysis values, and thus no timeout was applied. This lead to the controller stalling if one of the workers did not finish

… values

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@codecov
Copy link

codecov bot commented Oct 2, 2023

Codecov Report

Merging #2213 (a5b1df1) into main (9f0853f) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2213   +/-   ##
=======================================
  Coverage   84.61%   84.61%           
=======================================
  Files         154      154           
  Lines        9957     9957           
=======================================
  Hits         8425     8425           
  Misses       1245     1245           
  Partials      287      287           
Files Coverage Δ
...trics-operator/controllers/analysis/worker_pool.go 90.00% <100.00%> (ø)
Flag Coverage Δ
certificate-operator 65.91% <ø> (ø)
component-tests 58.10% <ø> (ø)
lifecycle-operator 85.02% <ø> (ø)
metrics-operator 87.55% <100.00%> (ø)
scheduler 32.12% <ø> (ø)

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

@netlify
Copy link

netlify bot commented Oct 2, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 39b4a8c
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/651a9cfbb6ce7d000821df52
😎 Deploy Preview https://deploy-preview-2213--keptn-lifecycle-toolkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 2, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 1a45f34
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/651a9d22fb909200079c65ab
😎 Deploy Preview https://deploy-preview-2213--keptn-lifecycle-toolkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@bacherfl bacherfl marked this pull request as ready for review October 2, 2023 11:22
@bacherfl bacherfl requested a review from a team as a code owner October 2, 2023 11:22
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@sonarcloud
Copy link

sonarcloud bot commented Oct 2, 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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bacherfl bacherfl merged commit 6945069 into keptn:main Oct 3, 2023
37 checks passed
@bacherfl bacherfl deleted the fix/dql-provider-debugging branch October 3, 2023 07:07
StackScribe pushed a commit to StackScribe/lifecycle-toolkit that referenced this pull request Oct 13, 2023
… values (keptn#2213)

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
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.

None yet

3 participants