Repository navigation
feat(workers): blocking-overlay analyzer — flag open modals/overlays … - #86
Merged
Merged
Conversation
…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.
This was referenced Jul 11, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…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.