Skip to content

fix: match watch findings independently of extra node classes - #4321

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4312
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4312

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Focus projection in #4294 adds presentation classes to focused controls. The watches still report the injected faults, but assertions compared complete class strings and rejected the correct nodes. Shared finding assertions now compare each diagnostic step's tag, ID and requested classes while allowing additional classes and a different class order. The shift tests use the same comparison when identifying a node inside a host.

Diagnostic output retains all classes. Path length, shadow hosts, required classes, finding codes and other fields still have to match. This preserves #4294's focus behavior and the watches' fault detection.

Validation: all six browser cases reported in #4312 pass locally, including the injected 40px growth and 20px modality shifts. The three growth/modality cases failed locally before this change; the preceding and failing CI runs' JUnit records also bracket all six regressions. The five floating-plane variants linked from #4316 also pass, including both fault-free controls and all three injected 80px residuals. Eight focused developer-tool checks cover extra/reordered classes and rejection of wrong nodes, fields, hosts, paths, movement and missing required classes. Python compilation and Ruff checks pass.

Closes #4312 — automated triage

Keep full diagnostic paths while comparing their tag, ID and requested classes. Focus projection can add presentation classes without changing which node a deliberate fault concerns. Preserve exact path structure and all non-path finding fields.

Closes #4312
@leaf-agent
leaf-agent merged commit 571a7dc into main Oct 27, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4312 branch October 27, 2026 01:28
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.

Watch tests reject diagnostic node names containing the focus projection class

1 participant