Skip to content

Commit 64c99cb

Browse files
Merge branch 'staging'
2 parents 2388c3d + 3048dae commit 64c99cb

3 files changed

Lines changed: 24 additions & 3 deletions

File tree

apps/frontend/src/routes/Audit.tsx

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,35 @@ export const Audit = () => {
439439

440440
// Active scan in progress
441441
if (hasActiveScan && currentScan) {
442+
const urlCount = urls?.length || 0;
443+
const isLargeScan = urlCount >= 100;
444+
const slowPageCount = (currentScan.errors as ScanError[] | undefined)?.filter(
445+
(e) => e.type === 'page_timeout'
446+
).length ?? 0;
442447
return (
443448
<Card variant="dark">
444449
<div style={{ padding: "20px 0" }}>
445450
<h2 id="scan-progress-heading" style={{ marginBottom: "16px", display: "flex", alignItems: "center", gap: "8px" }}>
446451
<GrPowerCycle className="icon-small" style={{ animation: "spin 1s linear infinite" }} />
447452
Scanning...
448453
</h2>
449-
<p style={{ marginBottom: "100px", color: themeVariables.white }}>
454+
<p style={{ marginBottom: "24px", color: themeVariables.white, opacity: 0.85, lineHeight: 1.5 }}>
455+
{isLargeScan ? (
456+
<>
457+
Large audits with {urlCount.toLocaleString()} URLs can take <strong>several hours</strong> to complete — total time depends on how quickly each origin site responds. You can safely close this page; the scan continues running in the background.
458+
{emailNotificationsCount === 0 && (
459+
<> We recommend enabling <strong>Email Notifications</strong> above so you're alerted when results are ready.</>
460+
)}
461+
</>
462+
) : (
463+
<>You can safely close this page; the scan continues running in the background. The report will refresh automatically when it's done.</>
464+
)}
465+
{slowPageCount > 0 && (
466+
<>
467+
{" "}
468+
<strong>{slowPageCount.toLocaleString()}</strong> {slowPageCount === 1 ? "page has" : "pages have"} responded too slowly so far (over 30 seconds) and could not be fully scanned.
469+
</>
470+
)}
450471
</p>
451472
<div style={{ display: "flex", alignItems: "center", gap: "16px" }}>
452473
<Progress.Root

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "equalify",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Simple, robust, and easy-to-use accessibility scanning and monitoring platform",
55
"keywords": [
66
"lambda",

services/aws-lambda-scan-html/src/scan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import chromium from "@sparticuz/chromium-min";
77
import { logger } from "./telemetry.ts";
88
import { AxeResults } from "axe-core";
99

10-
const BROWSER_LOAD_TIMEOUT = 25000;
10+
const BROWSER_LOAD_TIMEOUT = 30000;
1111
import {SqsScanJob} from '../../../shared/types/sqsScanJob.ts'
1212

1313
// disable webgl

0 commit comments

Comments
 (0)