Commit Graph
2921 Commits
Author SHA1 Message Date
Miguel Angel Simon Sierra 570fffaf8f Merge branch 'fix/studio-stroke-commit-reliability' into fix/studio-ui-audit-fixes
# Conflicts:
#	packages/studio/src/App.tsx
#	packages/studio/src/components/StudioRightPanel.tsx
#	packages/studio/src/components/editor/GestureRecordControl.tsx
#	packages/studio/src/components/editor/PropertyPanel.tsx
#	packages/studio/src/components/editor/propertyPanel3dTransform.tsx
#	packages/studio/src/components/editor/propertyPanelColorGradingSection.tsx
#	packages/studio/src/components/editor/propertyPanelPrimitives.tsx
#	packages/studio/src/components/editor/propertyPanelSections.tsx
#	packages/studio/src/components/editor/propertyPanelStyleSections.tsx
#	packages/studio/src/components/editor/propertyPanelTypes.ts
#	packages/studio/src/components/storyboard/StoryboardView.tsx
#	packages/studio/src/hooks/useFileManager.ts
2026-07-16 03:41:48 -04:00
Miguel Angel Simon Sierra 5b3afccc08 Merge remote-tracking branch 'origin/main' into fix/studio-stroke-commit-reliability
# Conflicts:
#	packages/studio/src/hooks/useDomEditCommits.test.tsx
#	packages/studio/src/hooks/useDomEditTextCommits.ts
#	skills-manifest.json
2026-07-16 02:49:44 -04:00
Miguel Angel Simon Sierra c11b1e6778 Merge branch 'fix/studio-stroke-commit-reliability' into fix/studio-ui-audit-fixes 2026-07-16 02:36:36 -04:00
Miguel Ángel 9ed255c0ef Merge pull request #2524 from heygen-com/release/v0.7.60
chore: release v0.7.60
v0.7.60
2026-07-16 01:32:57 -04:00
Miguel Ángel 0f287ee0b6 chore: release v0.7.60 2026-07-16 05:26:57 +00:00
Miguel Ángel 160f142d15 Merge pull request #2521 from heygen-com/fix/stale-compositor-layer
fix(renderer): prevent stale SwiftShader layers
2026-07-16 01:23:59 -04:00
Miguel Ángel 9c25e27da6 docs(renderer): link SwiftShader workaround tracker 2026-07-16 05:19:00 +00:00
Miguel Ángel 54a3ef2000 fix(renderer): prevent stale SwiftShader layers 2026-07-16 04:56:36 +00:00
James Russo b179c95362 fix(engine): emit SystemMemory cgroup notice to stderr, not stdout (#2520) 2026-07-16 00:36:25 -04:00
Vance Ingalls a10e462d02 Merge pull request #2518 from heygen-com/fix/studio-flat-input-affordance
fix(studio): give flat-inspector value fields a resting-state input affordance
2026-07-15 21:24:13 -07:00
Vance Ingalls 399438b963 Merge pull request #2497 from heygen-com/fix/studio-flat-layers-panel-standalone
fix(studio): show Layers full-height in the flat inspector, not split with Design
2026-07-15 21:19:29 -07:00
Vance Ingalls 2b51c52634 fix(studio): give flat-inspector value fields a resting-state input affordance
Every editable value in the flat inspector (FlatRow's CommitField, the
Motion Timing row's Start/End/Duration cells, and every raw <select> —
Style/Text dropdowns, Grade's Custom LUT and Copy-grade-to scope) rendered
its underline/border only on hover (`border-transparent
group-hover:border-...` or no border at all). At rest a value looked like
plain static text, with nothing distinguishing it from a label — testers
reported not being able to tell which fields were editable.

Give each a dim-but-visible resting border (`border-panel-border-input/50`,
or `border-panel-accent/30` for the explicitCustom tier) that brightens on
hover/focus, instead of a fully transparent one. Purely visual — no
behavior change.

Full studio suite (2641 tests) green; typecheck/oxlint/oxfmt clean.
2026-07-15 20:54:07 -07:00
Vance Ingalls fb24ecac22 fix(studio): make setRightPanelTab itself flat-aware, not just the direct tab click
Review feedback on #2497 (Rames D Jusso) found a real gap: the exclusivity
this PR introduced only applied to the direct in-panel tab click, which
calls setExclusiveRightInspectorPane. Every OTHER caller that reaches
setRightPanelTab("design"|"layers") — element select (useDomSelection.ts),
closing block-params (App.tsx), the header Inspector button
(StudioHeader.tsx), and even this PR's own "!inspectorTabActive" entry
branch in handleInspectorPaneButtonClick — went through
trackedSetRightPanelTab's old unconditional additive
`{...panes, [tab]: true}`, reproducing the exact "both tabs highlight, only
one renders" bug this PR claims to fix. Confirmed via the reviewer's traced
repro: fresh boot, click Layers tab while no inspector tab is yet active →
rightInspectorPanes ends up {design:true, layers:true}.

Fixed at the reviewer's preferred choke point: trackedSetRightPanelTab
itself is now flat-aware, applying the same exclusive-radio update
setExclusiveRightInspectorPane does whenever STUDIO_FLAT_INSPECTOR_ENABLED
is on, falling back to the legacy additive update otherwise. This closes
the gap for every current and future caller of setRightPanelTab, not just
the one call site this PR touched.

New usePanelLayout.test.ts cases pin both directions: setRightPanelTab
stays additive under flat=off (legacy split-view behavior unchanged), and
enforces exclusivity under flat=on even when called directly (not through
the tab-click handler) — using the vi.doMock(manualEditingAvailability)
pattern already established in PropertyPanel.test.tsx for flag-dependent
module state.

Full studio suite (2643 tests) green; typecheck/oxlint/oxfmt clean.
2026-07-15 20:53:47 -07:00
Miguel Ángel 33a4f82dca Merge pull request #2516 from heygen-com/fix/2514-hold-last-video-frame
fix(video): hold final frame through composition
2026-07-15 22:58:16 -04:00
Miguel Ángel 4cbde38301 test(producer): use intrinsic duration in style fixtures 2026-07-16 02:15:02 +00:00
Miguel Ángel 1284703adb test(producer): update remaining video slot goldens 2026-07-16 02:15:01 +00:00
Miguel Ángel 31cc2fe875 test(producer): update video slot regression golden 2026-07-16 02:15:01 +00:00
Miguel Ángel 2e8f871bc8 fix(video): hold final frame through composition 2026-07-16 02:15:01 +00:00
Vance Ingalls 71d7be7921 Merge pull request #2501 from heygen-com/task3-position-edit-force-reset
feat(core): applyPositionEdits gains force option and undo reset path
2026-07-15 19:07:05 -07:00
Vance Ingalls 79b688f204 fix(studio): show Layers full-height in the flat inspector, not split with Design
The flat inspector split Layers and Design into a vertically-resizable
stacked pair whenever both panes were toggled on, mirroring the legacy
panel's layout. For the flat redesign this reads as two competing panels
crammed into one column; Layers should always render full-height by
itself there instead.

Gate the split-view branch behind !STUDIO_FLAT_INSPECTOR_ENABLED so it
still applies to the legacy panel, and fall through to Layers rendering
alone (the existing `layersPaneOpen` branch already does this — it just
never got reached previously because the split check ran first).

Also added setExclusiveRightInspectorPane (radio-style: selecting one pane
turns the other off) and use it for the Design/Layers tab clicks under the
flat flag, since leaving both panes independently toggleable would highlight
both tabs as "active" while only one actually renders.

New usePanelLayout.test.ts covers both the existing toggle behavior and the
new exclusive variant. Full studio suite (2634 tests) green; typecheck/
oxlint/oxfmt clean.
2026-07-15 19:05:38 -07:00
Vance IngallsandClaude Fable 5 4ac7b4fa82 fix(core): guard undefined NodeList index in applyPositionEdits loops
tsc (noUncheckedIndexedAccess) types marked[i]/orphaned[i] as
Element | undefined; vitest passed but bun run build failed. Narrow
before the isStylable predicate and regenerate the render-inline IIFE.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 18:30:55 -07:00
Vance Ingalls c621fd0f29 Merge pull request #2515 from heygen-com/via/fastcapture-fallback-profiling
feat(engine): opt-in per-frame timing on fast-capture fallback path
2026-07-15 18:25:38 -07:00
Vance Ingalls a2dd40367f Merge pull request #2500 from heygen-com/task2-iframe-load-resync
fix(sdk): attachSync re-syncs the override snapshot on iframe load
2026-07-15 18:11:13 -07:00
Vance Ingalls bc9d6d64fa Merge pull request #2499 from heygen-com/task1-base-variable-defaults
feat(sdk): getVariableValue({ base: true }) reads pre-override declared defaults
2026-07-15 18:10:53 -07:00
Miguel Angel Simon Sierra bbe1774549 Merge branch 'fix/studio-sfx-u16' into fix/studio-ui-audit-fixes 2026-07-15 20:42:18 -04:00
Miguel Angel Simon Sierra 369740d76b fix(studio): timeline clip selection reveals the inspector like the legacy path 2026-07-15 20:42:13 -04:00
Via 1c46eadceb fix(producer): propagate --exclude-tags to Dockerfile.test ENTRYPOINT
Follow-up on Miga's review of #2512. The regression fixture
`escape-hatch-fatal-fallback` is tagged `field-signal-reproducer` and
`known-broken` so it's skipped from the default sweep via
`--exclude-tags transparency,field-signal-reproducer` in the
`test:regression*` scripts in packages/producer/package.json. But
`Dockerfile.test`'s ENTRYPOINT invoked the harness directly (`bunx tsx
src/regression-harness.ts -- --sequential`), bypassing those scripts —
so `bun run docker:test*` and the aws-lambda smoke tests would still
try to run the known-broken fixture and fail. CI's own regression sweep
was insulated only because it hardcodes per-shard positional test names
that don't include this fixture, but that's incidental, not by design.

Bake the exclude-tags into the Dockerfile.test ENTRYPOINT itself so
every user of the image (local `docker:test*`, aws-lambda smoke, any
adopter running the reference image) picks up the same skip contract.
Docker CMD args appended after the entrypoint (e.g. matrix shard
positional test names in .github/workflows/regression.yml, or
`--mode=distributed-simulated`) still parse correctly — the harness
applies excludeTags after testNames-filtering (see discoverTestSuites
in regression-harness.ts).

Also exports `parseArgs()` from regression-harness.ts and adds
regression-harness-parse.test.ts to pin the `--exclude-tags` comma-parse
contract, so any future change to the parser or the values baked into
the Dockerfile / package.json will trip a red test rather than silently
diverging.

Verification A (harness comma-parses `--exclude-tags transparency,
field-signal-reproducer`) already worked pre-fix; the new test file
codifies it. Verification B (Docker ENTRYPOINT propagates the same
skip) is what this commit fixes.

Signed-off-by: Via
2026-07-16 00:33:33 +00:00
Miguel Angel Simon Sierra 8c4b5c72cd Merge branch 'fix/studio-sfx-u16' into fix/studio-ui-audit-fixes 2026-07-15 20:32:00 -04:00
Miguel Angel Simon Sierra 262936b41c fix(studio): timeline selection mirror must not clear canvas-originated selections 2026-07-15 20:31:12 -04:00
Via e6cdf4abb1 feat(engine): opt-in per-frame timing on fast-capture fallback path
Field-signal baseline: >=2 fallbacks/hr on darwin/arm64 from filter:blur
and filter:drop-shadow triggers. Fallback path perf is currently untimed,
so we can't know if the overhead is 10% or 10x. This PR adds opt-in
per-frame timing (HF_PROFILE_FALLBACK_CAPTURE=true) that emits p50/p95/p99
+ trigger reason via the observeRenderStage telemetry channel extended in
#2510. Diagnostic surface only -- no perf fix, no behavior change on
healthy paths.

Stack: PR #9 (final) of 9 (base via/escape-hatch-fallback-reproducer).

Signed-off-by: Via
2026-07-16 00:28:40 +00:00
Vance Ingalls 4740288050 Merge pull request #2512 from heygen-com/via/escape-hatch-fallback-reproducer
test(producer): reproducer fixture for both-escape-hatches-fail case
2026-07-15 17:23:22 -07:00
Vance Ingalls 55540faea7 Merge pull request #2511 from heygen-com/via/gpu-parity-gate
feat(engine): software-GPU parity diff helper for solid-black capture-shape bugs
2026-07-15 17:22:59 -07:00
Vance Ingalls 4e9047018d Merge pull request #2510 from heygen-com/via/parallel-capture-observability
feat(producer): calibration-aware heartbeat + worker-death terminal-error contract
2026-07-15 17:22:43 -07:00
Vance Ingalls b8bf4735dc Merge pull request #2508 from heygen-com/via/overlay-count-lint
feat(lint): flag high overlay-element counts (heavy-capture risk)
2026-07-15 17:22:27 -07:00
Vance Ingalls 0ab153e0c5 Merge pull request #2507 from heygen-com/via/parity-telemetry-gate
feat(producer): parity telemetry gate for per-clip frame-count invariant
2026-07-15 17:22:13 -07:00
Vance Ingalls 9db5f67972 Merge pull request #2506 from heygen-com/via/darwin-goto-nav-timeout-hint
feat(engine): surface escape hatches in page.goto Nav timeout errors
2026-07-15 17:22:01 -07:00
Vance Ingalls aac290d5cd Merge pull request #2505 from heygen-com/via/win32-streaming-encode-autodisable
feat(engine): auto-disable streaming-encode on Windows software-GPU compound
2026-07-15 17:21:45 -07:00
Vance Ingalls fda62cae08 Merge pull request #2504 from heygen-com/via/protocol-timeout-discoverability
feat(engine): surface protocolTimeout env + flag in Puppeteer timeout errors
2026-07-15 17:21:30 -07:00
Miguel Angel Simon Sierra bd88e11abe Merge branch 'fix/studio-sfx-u19' into fix/studio-ui-audit-fixes 2026-07-15 20:09:15 -04:00
Miguel Angel Simon Sierra b02ce90d3f fix(studio): gate storyboard mode on storyboard presence 2026-07-15 20:08:24 -04:00
Miguel Angel Simon Sierra 444b0203d7 Merge branch 'fix/studio-sfx-u18' into fix/studio-ui-audit-fixes 2026-07-15 19:55:38 -04:00
Miguel Angel Simon Sierra 4524cebb07 Merge branch 'fix/studio-sfx-u16' into fix/studio-ui-audit-fixes
# Conflicts:
#	packages/studio/src/player/components/TimelineLanes.test.tsx
#	packages/studio/src/player/components/TimelineLanes.tsx
2026-07-15 19:55:32 -04:00
Miguel Angel Simon Sierra 85a4077491 fix(studio): undo groups nudges and drags by interaction boundaries 2026-07-15 19:52:00 -04:00
Miguel Angel Simon Sierra 52f14a52c2 refactor(studio): single timeline-to-preview selection sync path 2026-07-15 19:51:01 -04:00
Miguel Angel Simon Sierra 7b4e93c7c8 Merge branch 'fix/studio-sfx-u17' into fix/studio-ui-audit-fixes 2026-07-15 19:50:11 -04:00
Miguel Angel Simon Sierra 80a7fc64e4 Merge branch 'fix/studio-sfx-u15' into fix/studio-ui-audit-fixes 2026-07-15 19:49:52 -04:00
Miguel Angel Simon Sierra 4e712e27d9 fix(studio): usable keyframe diamonds at narrow widths, one-gesture drag, beat-snapped retime 2026-07-15 19:49:26 -04:00
Miguel Angel Simon Sierra e1945d4c42 refactor(studio): serialize view mode through the project hash state 2026-07-15 19:49:12 -04:00
Miguel Angel Simon Sierra 67aaad5790 refactor(studio): route all export entry points through one render action 2026-07-15 19:47:40 -04:00
Via e5c4e1970c test(producer): reproducer fixture for both-escape-hatches-fail case
Field signal ts=1784039841 (win32/x64, CLI 0.7.57): shifted-DOM-image-
layer bug at frame 120 reproduces with BOTH PRODUCER_FORCE_SCREENSHOT=true
AND HF_DE_PARALLEL_ROUTER=false set. First case where both known escape
hatches fail simultaneously. Standalone 1920x1080 GSAP paused timeline,
absolute PNG layers, 4 independent scenes.

Ships a skipped regression fixture to codify the shape. NOT a fix — no
root cause identified. The composition is preserved so a future
diagnostic pass has a real, checked-in repro and a proposed fix can be
validated against the same shape the field reported.

Skip mechanism (belt-and-suspenders):
  1. meta.json tagged `field-signal-reproducer` and `known-broken`;
     producer/package.json test:regression* scripts add the tag to
     --exclude-tags alongside the existing `transparency` skip.
  2. Not registered in any .github/workflows/regression.yml shard's
     args, so the CI regression sweep won't pick it up either.

Un-skip when a fix lands: drop the tags from meta.json AND add the
fixture id to a shard's args in the workflow. See src/README.md for
the field-signal envelope and diagnostic starting points.

Stack: PR #8 of 9 (base via/gpu-parity-gate).

Signed-off-by: Via
2026-07-15 23:35:58 +00:00