Repository navigation
test: retain animation endpoints in shift failure evidence - #4612
Merged
Merged
Conversation
Zero animation credit currently records no terms, leaving an intermittent panel shift unable to distinguish an omitted owner from absent or ineligible endpoint samples. Preserve relevant retained gesture animations beside the accepted credit terms, with their selection and sampled property values. This changes diagnostic evidence only; movement admission and read acknowledgement stay as they are. The existing direct custom-property movement cases now verify the evidence on both an ongoing animation and its forced completion. Those assertions fail against the previous watcher and pass with the diagnostic. Seven focused cases pass, including typing evidence and wide-code acknowledgement. The original intermittent failure remains unresolved. Refs #4519
This was referenced Oct 29, 2026
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.
The shift finding in #4519 has zero animation credit and empty accepted terms, so it cannot show whether a retained gesture animation was omitted from credit or lacked usable endpoint samples. Failure evidence now includes relevant retained animations, whether each was selected for credit, and its sampled property values at both comparison endpoints. This reads the watcher's existing records only when constructing failure evidence; it changes neither movement admission nor read acknowledgement.
The existing direct custom-property motion cases verify this evidence during an animation and across forced completion. Both evidence assertions fail against the previous watcher and pass with this change. Seven focused cases pass, covering those motion cases, typing evidence, and wide-code acknowledgement; JavaScript syntax and diff checks pass. Ruff, Prettier and ESLint are absent from this prepared checkout, so their checks are left to CI.
The intermittent panel movement remains unresolved. The original case passed on current main at 2× and 10× CPU throttling; those passes do not clear it. The next occurrence needs its animation ownership and endpoint evidence to distinguish product movement from missing watcher credit. This PR supplies that evidence without choosing a speculative repair.
Refs #4519 — automated triage