fix: preserve sentinel timing through routed report access

This commit is contained in:
Codex
2026-07-01 00:35:21 +00:00
parent a204428792
commit 2a2c330769
2 changed files with 9 additions and 2 deletions
@@ -367,7 +367,7 @@ function sentinelRouteMismatch(config: WebProbeSentinelServiceConfig, pathname:
const routeSegment = decodeURIComponent(match[1]);
const nodePrefix = `${config.node.toLowerCase()}-`;
const routeSentinelId = routeSegment.startsWith(nodePrefix) ? routeSegment.slice(nodePrefix.length) : routeSegment;
if (routeSentinelId === config.sentinelId) return null;
if (routeSegment === config.sentinelId || routeSentinelId === config.sentinelId) return null;
return {
ok: false,
error: "sentinel-route-mismatch",