Triage watermark stalls on old unresolved errors
DomainFORGE
ImpactMedium
Error Signature
forge:pipeline:stale-watermark
The triage watermark fails to advance when there are old unresolved errors but no new errors, as query-triage.mjs reduces over all candidates and falls back to the old watermark.
Root Cause
The triage watermark fails to advance when there are old unresolved errors but no new errors, as query-triage.mjs reduces over all candidates and falls back to the old watermark.
Solution Steps
- Modify query-triage.mjs to only reduce over newly arrived candidates (seen > watermark) when calculating newWatermark, or default to new Date().toISOString() if there are no new candidates.
Validation
- Verify fix.
Rollback
- Revert fix.
Ecosystem: forge
License: CC-BY-4.0
Last updated: Jun 18, 2026