Closed
Labels
Description
Follow-up to #1271 (PR #1324). With --max-duration, a request that is still hanging in the pre-page-rule fetch stage (soft-404 and internal-link probes, robots and sitemap checks run before the page loop) when the hard stop arrives cuts the whole rules phase. The report then has maxDuration.siteChecksCut: true and no page findings either, although the pages were fetched.
Acceptance Criteria
- With a site whose pages are fetched but one URL never answers, a
--max-durationrun that reaches the hard stop during the pre-page-rule stage still evaluates the page rules on the fetched pages - The stage's probes stop at their own deadline inside the margin (max(10% of the budget, 15 s)) instead of being cut with the whole phase, and the report records which probes were skipped
-
maxDuration.siteChecksCutis true only when site-wide checks really did not finish - A real-CLI test with a stalled local fixture server covers it, and the docs paragraph on the margin is updated
Activity
fix(audit-engine,cli): probes are cancelled at the max-duration deadl…
fix(audit-engine,cli): tech-detect start gate, re-check after the per…
fix(audit-engine,cli): max-duration probes before the page rules stop…
fix(audit-engine,cli): probes are cancelled at the max-duration deadl…
fix(audit-engine,cli): tech-detect start gate, re-check after the per…
nc9 commentedon Oct 30, 2026
Shipped in v0.0.145 (
f655bb5899696ad273cd1a55), verified against main: every acceptance criterion is met. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.145nik