fix: quiet auth probe diagnostics

This commit is contained in:
Peter Steinberger
2026-01-23 19:51:49 +00:00
parent 6fba598eaf
commit 242add587f
4 changed files with 23 additions and 12 deletions

View File

@@ -68,9 +68,12 @@ function drainLane(lane: string) {
entry.resolve(result);
} catch (err) {
state.active -= 1;
diag.error(
`lane task error: lane=${lane} durationMs=${Date.now() - startTime} error="${String(err)}"`,
);
const isProbeLane = lane.startsWith("auth-probe:") || lane.startsWith("session:probe-");
if (!isProbeLane) {
diag.error(
`lane task error: lane=${lane} durationMs=${Date.now() - startTime} error="${String(err)}"`,
);
}
pump();
entry.reject(err);
}