-
Notifications
You must be signed in to change notification settings - Fork 41
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(STONEINTG-1087): retry longer to fetch App from ITS, and stop processing if not found #993
base: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #993 +/- ##
=======================================
Coverage ? 63.86%
=======================================
Files ? 49
Lines ? 6269
Branches ? 0
=======================================
Hits ? 4004
Misses ? 1908
Partials ? 357 ☔ View full report in Codecov by Sentry. |
cac7550
to
e2af425
Compare
* There are some case where the App and ITS are created almost at the same time. This causes problem when the App is not found while the controllers reconcile ITS. * To fix this, we increased the retry time from 10 ms to 10 seconds. * This should give enough time to fetch the App. * And if we're still unable to find App, we stop reconciling, since there's no point in reconciling an ITS without any parent. Signed-off-by: Dheeraj<[email protected]>
* Now that we're checking for nil App within the scenario_controller.go file, * AND calling ContinueProcessing() in case of nil App, * AND marking the Scenario as Invalid in that case, * We don't need to check and do the same thing on scenario_adapter.go file as well, hence removing this code. Signed-off-by: Dheeraj<[email protected]>
* We should add Application to the logger, within the controller.go file rather than adapter.go file Signed-off-by: Dheeraj<[email protected]>
2fe1b82
to
6ea9ff6
Compare
Maintainers will complete the following section