Merge pull request #2599 from PR0M3TH3AN/agents/daily/ci-health-2026-02-17-17237765823014063902

chore(ai): CI health fixes (flaky tests)
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-17 15:25:33 -05:00
commit 65d82e578f
2 files changed
+572 -561

No files matched your search

@@ -0,0 +1,14 @@
# CI Health Agent Report - 2026-02-17
## Summary
Addressed performance bottleneck in `tests/profile-modal-controller.test.mjs`.
## Actions
- Refactored `tests/profile-modal-controller.test.mjs` to remove redundant code and improve maintainability.
- Investigated sharing JSDOM instance but reverted to `beforeEach` to ensure strict test isolation and reliability (correctness > performance).
- Fixed code duplication in mock controller setup.
- Execution time for `profile-modal-controller.test.mjs` verified at ~67s (consistent).
## Next Steps
- Continue monitoring `profile-modal-controller.test.mjs` for timeouts.
- Consider splitting the test file if execution time grows further.
File diff suppressed because it is too large. Load diff