Skip to content

fix: fableLoom asset manifest omits playbackAssets video clips - #6110

Merged
atomantic merged 1 commit into
atomantic:mainfrom
Bryandero98:fix/fableloom-manifest-playback-assets
Sep 3, 2026
Merged

fix: fableLoom asset manifest omits playbackAssets video clips#6110
atomantic merged 1 commit into
atomantic:mainfrom
Bryandero98:fix/fableloom-manifest-playback-assets

Conversation

@Bryandero98

Copy link
Copy Markdown
Contributor

Summary

  • buildFableLoomAssetManifest (server/services/sharing/peerSyncAssets.js) only collected video ids from the legacy node.videoHistoryId field.
  • A scene render's actual clips live under node.playbackAssets (entryVideoHistoryId, holdLoopVideoHistoryIds[], and per-transition exitByTransition), none of which were ever included — so those clips were silently dropped from the peer-sync manifest and never federated to peers.
  • Now collects ids from all three playbackAssets sources in addition to the legacy field, deduping against it (a video id shared across both only produces one manifest entry).

Test plan

  • server/services/sharing/peerSyncAssets.test.js — 24/24, including 2 new tests: entry/hold/exit clips are all included, and a shared id across videoHistoryId and playbackAssets dedupes correctly

🤖 Generated with Claude Code

…ntic#6006)

buildFableLoomAssetManifest only collected video ids from the legacy
node.videoHistoryId field, so a scene render's entry clip, hold-loop clips,
and per-transition exit clips (all under node.playbackAssets) never made it
into the peer-sync manifest and were silently dropped from federation.
Collects ids from entryVideoHistoryId, holdLoopVideoHistoryIds[], and
Object.values(exitByTransition) as well, deduping against the legacy field.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@atomantic atomantic left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed against the live schema/behavior — change is correct, focused, and covered by tests. Approving.

@atomantic
atomantic merged commit 26effe8 into atomantic:main Sep 3, 2026
7 checks passed
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.

2 participants