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: do not run goroutines in manager.New #7121

Open
wants to merge 1 commit into
base: feat/kic-as-library
Choose a base branch
from

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Feb 13, 2025

What this PR does / why we need it:

Remove spawning of long-running goroutines from the internalmanager.New constructor.

Which issue this PR fixes:

Closes #7099.

@czeslavo czeslavo force-pushed the chore/no-goroutines-in-mgr-constructor branch from e66c75c to d11287f Compare February 13, 2025 10:29
@czeslavo czeslavo self-assigned this Feb 13, 2025
@czeslavo czeslavo force-pushed the chore/no-goroutines-in-mgr-constructor branch 2 times, most recently from 16d1b58 to 0cf8bfc Compare February 13, 2025 10:30
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

Attention: Patch coverage is 79.24528% with 11 lines in your changes missing coverage. Please review.

Please upload report for BASE (feat/kic-as-library@80471db). Learn more about missing BASE report.

Files with missing lines Patch % Lines
internal/manager/run.go 52.9% 5 Missing and 3 partials ⚠️
internal/clients/manager.go 90.9% 2 Missing ⚠️
...ntrollers/configuration/kongadminapi_controller.go 83.3% 1 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##             feat/kic-as-library   #7121   +/-   ##
=====================================================
  Coverage                       ?   77.0%           
=====================================================
  Files                          ?     220           
  Lines                          ?   25221           
  Branches                       ?       0           
=====================================================
  Hits                           ?   19443           
  Misses                         ?    4780           
  Partials                       ?     998           

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

@czeslavo czeslavo force-pushed the chore/no-goroutines-in-mgr-constructor branch from 0cf8bfc to 2c7fb9d Compare February 13, 2025 12:21
@czeslavo czeslavo marked this pull request as ready for review February 13, 2025 12:44
@czeslavo czeslavo requested a review from a team as a code owner February 13, 2025 12:44
@czeslavo czeslavo enabled auto-merge (squash) February 13, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant