Revert the deliberate break (#8296)
release / web (push) Successful in 1m33s
release / go (push) Successful in 1m57s
release / govulncheck (push) Successful in 17s
release / integration (push) Successful in 3m23s
release / android (push) Successful in 4m26s
release / Build signed APK (push) Successful in 4m56s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Build + push container image (push) Successful in 13s
release / Verify release artifacts (tag releases only) (push) Skipped

All seven broken behaviours failed their named tests: five in the go lane
of run 11273 (after 25c7db71 fixed the reconcile case) and the resolver
note and stale-run reap in the integration lane of run 11272.

This reverts commit c03b3e0aa7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 12:51:32 -05:00
co-authored by Claude Opus 5.5
parent 25c7db71b1
commit 8ed66cf132
7 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func TryStartScan(ctx context.Context, pool *pgxpool.Pool,
if qerr == nil {
// Found an in-flight row. Reap if stale, else skip.
age := time.Since(row.StartedAt.Time)
if age <= StuckScanThreshold || age > 0 { // DELIBERATE BREAK
if age <= StuckScanThreshold {
return false, &row, nil
}
logger.Warn("reaping stale in-flight scan",