Skip to content

revert: the video-primitive registry, its previews do not deploy - #3162

Merged
miguel-heygen merged 1 commit into
mainfrom
revert/video-primitives-registry
Aug 10, 2026
Merged

revert: the video-primitive registry, its previews do not deploy#3162
miguel-heygen merged 1 commit into
mainfrom
revert/video-primitives-registry

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

Reverts #3090. Restores the tree to exactly what it was immediately before that merge, leaving #3155 untouched.

Why

Every catalog page's preview is a 404 in production.

#3090 put 42 MB across 1,278 files under docs/public/catalog, and the docs host publishes none of it. Not one file in that subtree serves, while docs/public/images at 200 KB serves fine and docs/public/catalog-index.json serves with all 358 items. So the deploy is current, docs/public/** does map to /public/**, and it is specifically the new heavy subtree that never shipped.

The pages deployed without their assets. Each of the 358 generated pages embeds /public/catalog/preview/<kind>/<name>.html in an iframe, and every one of those answers 404.

The compositions are not reachable anywhere else either: raw.githubusercontent.com serves them 200, but as text/plain, so an iframe will not render them.

How

git revert of the squash commit. Nothing had landed on top, so it is clean, and the tree now matches 6de29f5be exactly.

What this does not fix

Previews were already broken in production before #3090, in a different way: the pages pointed at .mp4 files on the CDN that answered 403 because nothing uploads them. This revert restores that state. It removes 358 broken pages rather than repairing the underlying problem.

The real fix is to stop shipping composition copies inside the docs bundle and serve them from the CDN that docs/images/ already uses, which needs the upload path wired. Failing that, the preview copy has to carry only what a preview needs: 27.4 MB of the 42 MB is binaries over 200 KB, including three copies of the same 2.4 MB macbook.glb.

Test plan

  • Unit tests added/updated
  • Manual testing performed
  • Documentation updated (if applicable)

git diff 6de29f5be HEAD is empty, so the revert undoes #3090 and nothing else, and #3155's media-use work is untouched. lint, format and test:scripts all exit 0.

@mintlify

mintlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hyperframes 🟢 Ready View Preview Aug 10, 2026, 6:44 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@miguel-heygen
miguel-heygen merged commit c86d401 into main Aug 10, 2026
58 of 59 checks passed
@miguel-heygen
miguel-heygen deleted the revert/video-primitives-registry branch August 10, 2026 18:47
@mintlify

mintlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hyperframes 🟡 Building Aug 10, 2026, 6:42 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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.

1 participant