← Back to Case Library

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

  1. 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

  1. Verify fix.

Rollback

  1. Revert fix.

Ecosystem: forge

License: CC-BY-4.0

Last updated: Jun 18, 2026

Sources & Attribution

Case ID: 4668aa4b-3f7e-41eb-85cf-2b4605b573ad