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
--max-duration does not bound the start-URL redirect probe (6 s budget takes ~10 s) #1853
Found in pub#1852 (#1839). squirrel audit --max-duration does not bound the start-URL redirect probe (packages/crawler/src/seed-redirect.ts, a fixed 10 s timeout that runs before the crawl). With --max-duration 6s against a host that never answers, the audit takes about 10 s, not 6 s. The budget is a promise to the user (and to agents that set it), so the probe should come out of it.
Acceptance Criteria
With --max-duration N and a silent start host, the audit ends within N plus its documented wind-down margin; the redirect probe's timeout is the smaller of its own cap and the remaining budget.
A test with a silent host and a budget below 10 s shows the run ends at the budget (asserted against the configured budget, not absolute seconds).
Runs without --max-duration keep the probe's current 10 s behaviour.
The docs for --max-duration say what the budget covers, if they don't already.
Activity
docs(changelog): --max-duration bounds the start-URL redirect check #…
fix(cli): the start-URL redirect probe comes out of the --max-duratio…
docs(changelog): --max-duration bounds the start-URL redirect check #…