Repository navigation
perf(explainer-video): render the stills tests at 1080p and keep one 4K render - #16308
Conversation
Six of the seven stills renders in test_explainer_video_stills.Renders now run stills.main in-process with frames at scale 1 (1920x1080, the min_height floor) instead of 3840x2160. The 4K encode and the per-frame SSIM check were 17 of a fixture render's 19 s on this host; at 1080p the render takes 5.6 s. The narrated render stays a 4K subprocess run, so the 3840x2160, SSIM, contact-sheet and digest assertions still run against a 4K render. Every other assertion is unchanged and still runs against a real render. Locally the Renders class went from 116 s to 50 s and the suite's four modules from 164 s to 77 s. Refs: #16217 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
scripts/suite-seconds.txt: block-root-delete-target.test.sh drops from an estimated 202 s to its measured 130 s median, under 150 s, so it needs no exception row, and lib/media-render/media-render.test.sh gets its first row, 16 s. Both come from the TIME lines of whole-tree main runs 43678799491, 43681005110 and 43683312225 (103/130/130 s and 15/23/16 s). scripts/README.md no longer counts the suites over 120 s or 150 s, and the pr-require-checks.yml timeout comment no longer names a 241 s suite as the longest; both point at the two suite files instead. Comment-only change to the workflow. Refs: #16217 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
…video-stills-render
…t cut Refs: #16217 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review: no security issues foundcritical-findings: 0 I read the full diff for all 5 changed files.
No plugin manifest, trusted-actor list, token request, kill switch or instruction surface is touched. The PR context file contained no embedded instructions to the lane. This was a full review, not blocking only: no earlier heads were reviewed. Spend: none added. The change makes the test-python suite run in about half the time, which slightly lowers CI minutes. |
|
claude-review reviewed Code review: PR #16308, the stills tests render at 1080p and one render stays 4KNo findings. I read every hunk of all 5 changed files. What I checked
Closing issueThe PR says VerificationThe PR's timing numbers ( Spend: the change shortens CI test time and adds no paid spend. Verifier dropped 0 of 0 candidates. |
Refs: #16217
Summary
plugins/explainer-video/scripts/explainer-video.test.shran over five minutes in CI because itsRendersclass rendered seven 3840x2160 videos. Six of those renders now run at 1920x1080 in the test process; the narrated render stays a 4K run through the command line. This delivers the render cut, the guardrails and media-render rows and the stale-count fixes of #16217; the suite's own budget rows wait on CI medians.Fix
test_explainer_video_stills.py: arun_1080phelper runs the stills renderer'smainin the test process with frames captured at scale 1. Six renders use it: the silent setup render, split, screenshots, long list, forced defect and stylesheet. Pagination and the fit check work in CSS pixels, which scale does not change. The narrated render is still a 4K subprocess run, so the resolution assertions and the command-line entry are still exercised. No assertion was removed or edited.scripts/suite-seconds.txt:plugins/guardrails/hooks/block-root-delete-target.test.shgoes from 202 to 130, so it is under 150 and needs no exception row;lib/media-render/media-render.test.shgets a row at 16.scripts/README.mdpoints at the exceptions file instead of stating a count of suites, and the comment in.github/workflows/pr-require-checks.ymlno longer names a longest suite. The workflow change is comment-only.Verification
--durations 0on theRendersclass: about 43 s insetUpClassfor two 4K renders, then 20.1, 18.6, 17.0, 10.9 and 6.5 s in five tests. In one render, the 4K encode took 11.9 s and the per-frame SSIM check 5.3 s of 19 s; the same render at 1080p took 5.6 s.Renders116 s before, 50 s after; the four-module suite 164 s before, 77 s after. These are one host's numbers, not the CI median.media-render.test.sh15, 23 and 16 s.Remaining
explainer-video.test.shhas a median under 150 s over three whole-tree main runs. Before this change it ran 338, 336 and 231 s in the three runs above.suite-seconds.txtrow holds the new median.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd