feat(producer): fast-capture render stages + remote bg-image localizer#1920
Open
vanceingalls wants to merge 1 commit into
Open
feat(producer): fast-capture render stages + remote bg-image localizer#1920vanceingalls wants to merge 1 commit into
vanceingalls wants to merge 1 commit into
Conversation
This was referenced Jul 4, 2026
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jul 4, 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.

Producer render stages + remote bg-image localizer (stack 5/6)
Producer-side wiring of fast capture into the render pipeline, plus a cross-origin asset fix.
Render stages
captureStreamingStage.ts(+102/−) — branch to the worker-encode pipeline when enabled, else the standard capture loop; normalizedensureFrameWrittento main's arg shape.compileStage.ts,captureStage.ts,probeStage.ts— fast-capture routing, BeginFrame-liveness probe, gate wiring.renderOrchestrator.ts,regression-harness.ts,stubs/hf-early-stub.ts(+191) — orchestration glue + the injected early-stub that registers seek/timeline hooks;generated/hf-early-stub-inline.tsregenerated from the stub.htmlCompiler.ts(+93) —localizeRemoteBackgroundImagesFix for cross-origin damage:
drawElementImageomits cross-origin content (spec: keeps the canvas readable), so a remote CSSbackground-image: url(https://…)renders black on the DE path while the screenshot baseline shows it. This scansbackground(-image): url(remote), downloads + rewrites to same-origin (reusing the font-faceurl()machinery), wired betweenlocalizeRemoteImageSourcesandlocalizeRemoteFontFaces. (The prior localizer covered<img>/<video>/@font-face but not CSS backgrounds.)Tests / fixtures
htmlCompiler.test.ts(localizer),validate-fast-video.tsscript, andfast-capture-gsap/fast-capture-3d/css-spinner/render-symlinked-assetsfixtures.Stack: #1916 → #1917 → #1918 → #1919 → #1920 (here) → #1921. Rebased onto current
main; supersedes #1295 + #1444. Intermediate PRs don't compile independently — feature green at the tip (#1921).🤖 Generated with Claude Code