fix: bug incident (#1772)
* feat(workflows): add incident cleanup endpoint to auto-resolve stale incidents
Add /incident/cleanup endpoint that finds active monitors with unresolved
incidents and automatically resolves them by setting resolvedAt and
autoResolved=true.
* refactor(checker): extract incident helpers for findOpenIncident and resolveIncident
- Add findOpenIncident() to query open incidents by monitorId
- Add resolveIncident() to handle incident resolution with logging and audit
- Replace duplicated incident query and resolution code with helper calls
- Fix typo: change 'return' to 'break' in error case
- Remove redundant monitor status update in error handling
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
authored by