Repository navigation
Tags
Tags
fix(accessibility): read any report link directly: scanner links by t… …heir run's build id, Workflow Analyzer links (#527) * fix(accessibility): read any report link directly: scanner links by their run's build id, Workflow Analyzer links A user usually has only a report's dashboard link, and two kinds of link failed: - A Website Scanner link carries the run's build id (thBuildId), not the scan's ids, so the tool searched the 15 newest pages of the scan list for it. A scan run more than a few hundred scans ago (page 36 of a 3,000-scan account) was "not found", and agents fell back to Ask AI or asked the user for ids the dashboard does not show. The link is now read by its build id through the scanner issues route that takes one (browserstack/accessibility#5689), however old the scan; later pages and a still-generating export are named by the same link. If the API does not know the run by that id (an API without the route answers a 404 page; one that does, a 404), the scan list is searched as before, and the answer says which happened. Comparing runs needs the scan's ids, so compareWith from a link still searches the list. - A Workflow Analyzer link (workflow-analyzer/report?ids=…, or the older reports/report) was not recognised. It is now read by the report id it carries; a link opening several reports asks for one, and an Assisted Test link says this tool does not read those. A build id that neither the Automated Tests nor the App Accessibility API knows is tried as a Website Scanner run's build id before it is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(accessibility): reuse a run's export by build id only briefly; skip empty WFA ids A run read by its build id has no status check, so its export may be a snapshot of a run still adding issues. Its link is now reused for 5 minutes at most, enough for paging, instead of until the presigned link expires (hours). A Workflow Analyzer link's ids parameter drops empty entries, so a trailing comma no longer reads as two reports, and a link naming none says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
PreviousNext