Repository navigation
Revert "Add events and alert to config loader" - #299
stefanhipfel wants to merge 1 commit into
Conversation
This reverts commit 6f154a0.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Return reload errors directly internal/configloader/loader.go |
The loader no longer stores an event recorder or routes reload errors through recordFailure. It returns ConfigMap lookup, missing-key, and parse errors directly. |
Remove recorder from loader setup cmd/main.go, internal/telemetry/runtime/runtime.go |
Both loader configurations retain their existing cache, client, ConfigMap identifiers, parser, and logger settings, but no longer pass an event recorder. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Possibly related issues
ironcore-dev/metal-maintenance-operator#288: The supplied issue context connects this change’s removal of config-loader event integration to the reportedAlertHandlerpanic when the critical event handler is disabled.
Possibly related PRs
- ironcore-dev/metal-maintenance-operator#298: This PR removes the loader recorder, reload-failure metric, and error-routing changes introduced by that PR.
- ironcore-dev/metal-maintenance-operator#291: This PR restores the loader behavior and setup established by that PR before the changes in PR
#298.
Suggested reviewers: xkonni, nagadeesh-nagaraja
Merge Risk: 
Minimal · up to 8ce22
-
No actionable merge-blocking risk was identified in the reviewed changes.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed-
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 3 files.
-
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reverts #298
Summary by CodeRabbit