fix(controller): use notificationConfigNamespace in EventRecorder apiFactory #5040
 Quality Gate passed
Issues
 0 New issues
 0 Accepted issues
Measures
 0 Security Hotspots
 0.0% Coverage on New Code
 0.0% Duplication on New Code
<!-- sqra-placement-anchor -->
See analysis details on SonarQube Cloud
Published E2E Test Results
4 files 4 suites 4h 9m 9s ⏱️
149 tests 138 ✅ 7 💤 4 ❌
600 runs 568 ✅ 28 💤 4 ❌
For more details on these failures, see this check.
Results for commit 68658675.
[test-results]:data:application/gzip;base64,H4sIAAa7q2oC/03MSw7CIBSF4a00jB1A5V6omzGUQkLsw/AYGffurRXs8P9Ocl7Mh9klduvkpWOphNxiKtHksK2UQg5yIKIxp6Nr3VOxdqer/tMjPIlUA2/C/Hs9wMW4RRJOEsu6fyKvUS8BdZPjsW9wevz2+dBuyxIyBUONoFEBWnAOuIRx5IM0iGryyoEaBVfC98DeHy4zOM4IAQAA
Published Unit Test Results
2 644 tests 2 644 ✅ 3m 29s ⏱️
131 suites 0 💤
1 files 0 ❌
Results for commit 68658675.
[test-results]:data:application/gzip;base64,H4sIAA27q2oC/2XMSw7CIBSF4a00jB0Aci+tmzFAISG2xVAYGfcutD5Qh/93knMjzk92JaeOHTqyZp/2ONYcc1TJh6UAp0OBMqY6cxTilec1G/NnF38tRt/glJ++wMYY4lNiXprXWj+nO30+t24ut24fTZhnn0oQ7BF6lIAGrAUqQGs6CIUoRyctSM2oZI4DuT8A+pyaNgsBAAA=
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 85.27%. Comparing base (
c483863) to head (6865867).:warning: Report is 1 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
@@ Coverage Diff @@
## master #5040 +/- ##
==========================================
+ Coverage 85.25% 85.27% +0.02%
==========================================
Files 166 166
Lines 19461 19462 +1
==========================================
+ Hits 16591 16597 +6
+ Misses 2014 2011 -3
+ Partials 856 854 -2
| Flag | Coverage Δ | |
|---|---|---|
| e2e | 53.09% <100.00%> (+0.11%) | :arrow_up: |
| unit-tests | 81.73% <33.33%> (+0.01%) | :arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
</details>
:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
Please fix the lint error
kostis-codefresh
AruneshDwivedi
The EventRecorder was hardcoded to use the controller's namespace instead of the notification config namespace (which is NamespaceAll when self-service notifications are enabled). This caused per-namespace notification configs to be ignored for event recording.\n\nFixes #4865. Used AI to help identify and draft this fix — reviewed and tested before submitting.