You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
alert wait: honour windows longer than the 90 s request envelope #4566
alert wait <timeoutMs> accepts windows up to MAX_ALERT_WINDOW_MS, but the alert command uses the default timeout policy: a fixed 90 s daemon request envelope (DAEMON_REQUEST_TIMEOUT_MS in packages/command-registry/src/timeout-policy.ts). A wait longer than 90 s is cut off by that envelope as a generic request timeout, instead of polling for the full window and ending with alert-wait-timeout. Found while working on #4540 (see its reply on the timeout-policy test thread).
Required behavior
alert wait with a window above 90 s polls for the whole window. The daemon request envelope stays above the window plus a margin, as other commands with a caller budget do.
The issue reports that alert wait accepts windows longer than 90 seconds but the fixed daemon request envelope cuts the wait off as a generic timeout. It specifies the expected envelope scaling behavior and required tests, so a maintainer can act on it directly.
Activity
apex-sentinel-staging commentedon Nov 15, 2026
Apex Sentinel · Issue review
Suggested label:
bugThe issue reports that
alert waitaccepts windows longer than 90 seconds but the fixed daemon request envelope cuts the wait off as a generic timeout. It specifies the expected envelope scaling behavior and required tests, so a maintainer can act on it directly.Required sections