feat(engine,cli): drawElement fast-capture config + CLI flag#1916
Open
vanceingalls wants to merge 1 commit into
Open
feat(engine,cli): drawElement fast-capture config + CLI flag#1916vanceingalls wants to merge 1 commit into
vanceingalls wants to merge 1 commit into
Conversation
Collaborator
Author
This was referenced Jul 4, 2026
Comment on lines
+26
to
+52
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 | ||
|
|
||
| - name: Build test Docker image (cached) | ||
| uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6 | ||
| with: | ||
| context: . | ||
| file: Dockerfile.test | ||
| load: true | ||
| tags: hyperframes-producer:test | ||
| cache-from: type=gha,scope=regression-test-image | ||
| cache-to: type=gha,mode=max,scope=regression-test-image | ||
|
|
||
| - name: Validate fast-capture video (drawElement + BeginFrame) | ||
| run: | | ||
| docker run --rm \ | ||
| --security-opt seccomp=unconfined \ | ||
| --shm-size=4g \ | ||
| -e PRODUCER_VALIDATE_COMP='${{ inputs.composition }}' \ | ||
| -e PRODUCER_VALIDATE_MIN_PSNR='${{ inputs.min_psnr }}' \ | ||
| --workdir /app/packages/producer \ | ||
| --entrypoint bunx \ | ||
| hyperframes-producer:test tsx scripts/validate-fast-video.ts |
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.

drawElement fast-capture — config + CLI flag (stack 1/6)
Foundation layer for the drawElement fast-capture feature: the config surface and CLI/Docker plumbing that the rest of the stack builds on.
What this adds
packages/engine/src/config.ts— new config fields for fast capture:useDrawElement/enableDrawElementWorkerEncode(macOS-GPUdrawElementImagecapture + worker-offloaded JPEG encode), resolved from env inresolveConfig(envHF_DE_WORKER_ENCODE). Wired alongside main's existingstaticFrameDedup(unified downstream in 4/6).packages/cli/src/commands/render.ts—--experimental-fast-captureflag → setsexperimentalFastCapture;--debugpassthrough.packages/cli/src/utils/dockerRunArgs.ts— pass the fast-capture env through to the container..github/workflows/fast-video-validation.yml— CI job validating fast-capture renders..oxlintrc.json/.fallowrc.jsonc— ignore-pattern housekeeping for the new paths.Notes
config.test.ts,dockerRunArgs.test.tsadded.Stack (drawElement fast-capture, rebased onto current
main, supersedes #1295 + #1444):🤖 Generated with Claude Code