Skip to content

test: include sibling size animations in shift failure evidence - #4678

Merged
leaf-agent merged 3 commits into
mainfrom
fix/issue-3990-evidence
Oct 29, 2026
Merged

leaf-agent merged 3 commits into
mainfrom
fix/issue-3990-evidence

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Shift failure evidence filtered animation candidates to the shifted node's ancestors, hiding size animations that can reflow later siblings. The watch now includes retained size effects even outside that ancestry, with their selection status and sampled endpoints. This changes failure diagnostics only; movement admission, tolerances and shipped rendering are unchanged.

Four existing fold-reparenting cases failed their new evidence assertions before the change and pass after it. Thirteen focused checks pass, covering reparenting, shadow-boundary size credit and ancestor translation evidence. JavaScript syntax, Ruff and diff checks pass. Prettier is absent from this prepared environment, so formatting verification remains with CI.

The intermittent reopening failure in #3990 remains unresolved. Both reopening variants passed on main at 12× CPU throttling; that does not clear the reported failure. The next occurrence can now retain sibling size-effect evidence rather than hiding a possible fold candidate.

Refs #3990 — automated triage

Retain size-effect candidates even when they are outside the shifted node ancestry, so rejected fold reflow can be diagnosed without changing credit. Existing reparenting cases failed their new evidence assertions before the change; movement admission is unchanged.

Refs #3990
@leaf-agent

Copy link
Copy Markdown
Collaborator Author

Pushed the Prettier fix as 07c3b75. Prettier 3.9.6 reproduced the failure before formatting and passes afterward; JavaScript syntax and diff checks also pass. This follow-up changes formatting only.

The failed head's Python tests succeeded. Its other lint failure, stills.py:596 passing str | None to as_agent, also reproduces with ty check on current main at b90082c. That separate error remains unresolved by this PR.

The push is recorded for landing. With await_ci: false, the queued review and landing workflow own the new head's CI and landing decision.

@leaf-agent

Copy link
Copy Markdown
Collaborator Author

Merged current main into this branch as 1cf47e7, bringing in #4683's fix for the stills.py type error that failed this head's CI. Whole-tree uv run ty check now passes; JavaScript syntax and diff checks pass too. The PR's diff against main remains the two shift-evidence test files.

The push is recorded for landing. With await_ci: false, the queued review and landing workflow own this head's CI and landing decision.

@leaf-agent
leaf-agent merged commit cf15e62 into main Oct 29, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-3990-evidence branch October 29, 2026 09:54
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