Skip to content

test(ci): measure the studio viewport gate at #5151 three times, do not merge - #5155

Closed
miguel-heygen wants to merge 8 commits into
mainfrom
measure/viewport-gate-5151
Closed

miguel-heygen wants to merge 8 commits into
mainfrom
measure/viewport-gate-5151

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Throwaway measurement: #5151's head with the Studio timeline viewport gate run three times in parallel. Closed and deleted once the numbers are recorded.

dorny/paths-filter with token "" diffs pull_request.base.sha..merge with two dots; base.sha goes stale as main moves, so a PR behind main counted main's newer commits as its own and ran unrelated gates. Pass the merge commit's first parent as base on pull requests.
…mmit

echo "sha=$(git rev-parse HEAD^1)" exited 0 when rev-parse failed, and on a non-merge checkout HEAD^1 would be the PR's previous commit, silently skipping gates. Verify HEAD^2 exists and assign the SHA so a failure stops the step.
…zoom previews keep half

#5109 widened the render window to half a viewport so zoom-out previews have clips to show; every scroll step then mounted it and the viewport gate's interaction p95 went over budget. Widen only while a zoom preview is live, telling listeners before its first frame and widening the preview's drawn range once mounted.
…widen before frame one

The render window followed isTimelineZoomPreviewing, still true during the landing layout's flushSync, so each landing rendered the wide window and then a second time narrow. It now follows its own flag, cleared before that layout. An eased zoom starts its preview at the current scale before its first frame, so the wider window is mounted when that frame is judged.
… gate counts blank zoom-out frames

When a zoom landed, the timeline laid it out against the scroll snapshot from before the zoom; the real scroll was published a frame or more later, so a zoom-out far into a project showed no clips or ruler ticks meanwhile. The zoom-anchor layout effect now publishes the scroll it sets, before paint. The viewport gate zooms out by Ctrl+wheel and by pinch from mid-project and fails on any frame with no ruler tick in view.
@miguel-heygen

Copy link
Copy Markdown
Collaborator Author

Measured: 3/3 first-attempt pass in both arms, 0 blank zoom-out frames. Recorded in #5151.

@miguel-heygen
miguel-heygen deleted the measure/viewport-gate-5151 branch October 7, 2026 05:02
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Edit accuracy: accurate 2059 (base branch 2059), smooth 1605 of those

The gate passes.
Smoothness is reported in the artifact, not gated. A case fails only if it fails 2 of 3 runs.

Quarantined, measured but not gated (0)

Unstable (1)

  • crop-scale-px-r30-nested-z100-mid: tracking 0.04, pressJump 0, drop 40.1, reload 40.1, render 34.68, renderKey 46.27, undo true, teleport true / tracking 0.04, pressJump 0, drop 0.11, reload 0.11, render 0.2, renderKey 0.25, undo true, teleport true / tracking 0.04, pressJump 0, drop 0.11, reload 0.11, render 0.2, renderKey 0.25, undo true, teleport true

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