Registry blocks violate determinism contract: runtime data fetches + async timeline registration (maps, vfx-iphone-device, caption components)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- d3js, html, typescript
- Ambito
- frontend, testing-qa, tooling
Direzione di ricerca
Start by locating the us-map, us-map-flow, vfx-iphone-device, and caption-* catalog blocks and reproduce the cited validation builds. Inspect runtime data fetches, asynchronous window.__timelines registration, root backgrounds, projection handling, media lint errors, and caption contrast warnings. Done means the affected blocks render deterministically, register timelines synchronously, and pass the applicable lint and validation checks.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found during systematic validation of the prompting-guide examples (every catalog block exercised via real builds). Three block families break the framework's own composition contract, all fixable with one shared pattern.
Affected blocks
Map blocks (us-map, us-map-flow, likely us-map-bubble, us-map-hex, world-map, spain-map):
- Fetch topojson from a CDN at render time (
fetch("https://cdn.jsdelivr.net/npm/us-atlas@3/states-10m.json")/d3.json(...)) — violates the no-render-time-network determinism rule. - Build their entire GSAP timeline inside the async
.then()callback, sowindow.__timelinesisn't registered synchronously → the producer'spollSubCompositionTimelinesgate times out after 45 seconds and falls back to screenshot capture (same class as the known subcomp poll-timeout issue). us-mapadditionally paints its background on the composition root (the documented black-frame anti-pattern), andus-map/us-map-flowuse incompatible projections (fitSizevsscale/translate) plus opaque backgrounds, so the "layerable" flow/bubble overlays don't actually land on the base map's geography without merging at source.
vfx-iphone-device:
- Registers its timeline inside an async
onReady()(GLTF load + double rAF) → same 45s poll stall on every render. - Fails
hyperframes lintas a root composition (requestanimationframe_in_composition), and can't be a<template>sub-comp (full HTML doc) — there is no consumption mode where lint passes and validate/inspect can exercise it without editing the block. - First ~0.7s of the render is black (scene not yet painted).
- Ships hardcoded demo screen content with no injection point, though the catalog copy implies you can put "your UI" on the screen.
Caption components (all 15 caption-*):
- Ship with an empty
<video>(no src) →media_missing_src+media_in_subcompositionlint errors standalone; only lint-clean after being pasted into a host with real footage, which the catalog usage text doesn't mention. caption-neon-glow's intentional dim resting state (rgba(0,255,240,0.14)) trips 16 WCAG warnings with no note that they're benign — agents "fix" them and break the identity.
Shared fix pattern
- Bake remote data offline (geo topojson → inline projected geometry; validated approach: d3-geo projection at authoring time, zero runtime network).
- Register the paused timeline synchronously; move async asset readiness behind the existing media-readiness gates instead of gating timeline registration.
- Keep composition backgrounds off the root element.
- For the maps: share one projection between base + overlay variants (or ship transparent, projection-matched overlays).
- Caption components: ship without the placeholder
<video>(or with a documented, lint-exempt placeholder) and note the benign-contrast cases.
Repro evidence
Validation builds with full logs/renders exist for each case (us-map + us-map-flow merged-at-source build; vfx-iphone-device 15s render with 45s stall; caption-highlight/kinetic-slam/neon-glow re-authored builds). Happy to attach details per block.
🤖 Generated with Claude Code
- Lingua principale
- TypeScript
- Stelle
- 54.1k
- Fork
- 4.9k
- Merge medio
- 7h 18m
- PR unite (30g)
- 784
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di heygen-com/hyperframes
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
heygen-com/hyperframes#5027 ·
I maintainer di solito rispondono entro 1 giorno
-
fix(producer): propagate useGpu to HDR layered streaming encoderForse già presa @Monster-GM l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
heygen-com/hyperframes#5002 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
heygen-com/hyperframes#4702 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Studio catalog prompt editor has no accessible nameForse già presa @lorenzozanee l’ha presa 12 giorni fa. Apertabug difficulty/easy triage/ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
heygen-com/hyperframes#4384 ·
I maintainer di solito rispondono entro 1 giorno
-
lint: validate composition variables declared on supported root elementsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug difficulty/easy triage/ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
heygen-com/hyperframes#4383 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di heygen-com/hyperframes
Issue simili
-
dx hacktoberfest help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
cloudflare/agents#2498 ·
I maintainer di solito rispondono entro 1 giorno
-
Missing repro Platform: Android
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
software-mansion/react-native-reanimated#10816 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
e2e-failure ready-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
redhat-developer/rhdh-plugin-export-overlays#4129 ·
I maintainer di solito rispondono entro 1 giorno