Skip to content

feat(workers): blocking-overlay analyzer — flag open modals/overlays … - #86

Merged
jyotir-aditya merged 1 commit into
mainfrom
feat/blocking-overlay-analyzer
Jul 11, 2026
Merged

jyotir-aditya merged 1 commit into
mainfrom
feat/blocking-overlay-analyzer

Conversation

@jyotir-aditya

Copy link
Copy Markdown
Contributor

…on selector failures (#59)

Adds a blocking_overlay analyzer to the failure-analyzer pipeline: an open dialog/overlay present at failure time (from the #55 page-state facts) is the single most common misleading fix_hint case (selector is correct, a modal is covering it). Triggers on selector_not_found/selector_not_visible/ timeout when at least one qualifying overlay/dialog fact is present (full-viewport overlays always qualify; ARIA dialogs need >= 20% viewport coverage to filter out small toasts).

Also wires the analyzer pipeline into the step-failure (crash) path, which previously never ran any analyzer: a new inferFailureTypeFromCrash() helper classifies the crash message, runAnalyzers() runs best-effort against crashPageState, and the result rides on a new additive ExecutionResult.findings field. The CLI's buildFailures() fallback branch maps it through and renders the top finding into fix_hint, mirroring the engine's own rendering.

…on selector failures (#59)

Adds a blocking_overlay analyzer to the failure-analyzer pipeline: an open
dialog/overlay present at failure time (from the #55 page-state facts) is
the single most common misleading fix_hint case (selector is correct, a
modal is covering it). Triggers on selector_not_found/selector_not_visible/
timeout when at least one qualifying overlay/dialog fact is present
(full-viewport overlays always qualify; ARIA dialogs need >= 20% viewport
coverage to filter out small toasts).

Also wires the analyzer pipeline into the step-failure (crash) path, which
previously never ran any analyzer: a new inferFailureTypeFromCrash() helper
classifies the crash message, runAnalyzers() runs best-effort against
crashPageState, and the result rides on a new additive
ExecutionResult.findings field. The CLI's buildFailures() fallback branch
maps it through and renders the top finding into fix_hint, mirroring the
engine's own rendering.
@jyotir-aditya
jyotir-aditya merged commit ae4bc25 into main Jul 11, 2026
2 checks passed
@jyotir-aditya
jyotir-aditya deleted the feat/blocking-overlay-analyzer branch July 11, 2026 05:49
jyotir-aditya added a commit that referenced this pull request Jul 11, 2026
Main already landed #84 (page_state facts) and #86 (blocking_overlay
analyzer). Keep main's code for the overlapping crash-path/findings
wiring; this branch's unique delta remains the failure-diagnosis
playbook in generated agent instructions (#61).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant