Skip to content

perf(studio): schedule timeline thumbnail work#2652

Draft
miguel-heygen wants to merge 1 commit into
codex/studio-timeline-keyboard-controlsfrom
codex/studio-thumbnail-scheduler
Draft

perf(studio): schedule timeline thumbnail work#2652
miguel-heygen wants to merge 1 commit into
codex/studio-timeline-keyboard-controlsfrom
codex/studio-thumbnail-scheduler

Conversation

@miguel-heygen

@miguel-heygen miguel-heygen commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

What

schedule timeline thumbnail work.

Why

Retain the high-value visual thumbnail UX while bounding decoding, network, CPU, and memory work to useful viewport content.

How

Adds one layer of the thumbnail policy, scheduler, runtime, server, preference, component, context, or coordinator pipeline.

Key files in this layer:

  • packages/studio/src/player/lib/thumbnailPolicy.test.ts
  • packages/studio/src/player/lib/thumbnailPolicy.ts
  • packages/studio/src/player/lib/thumbnailScheduler.test.ts
  • packages/studio/src/player/lib/thumbnailScheduler.ts

Test plan

Validated on the complete stacked tip with formatting, lint, Studio typecheck, the full production build, and the Studio test suite (2,946 passing; 18 todo). Focused timeline/thumbnail tests and browser QA cover the affected interaction path.

  • Unit tests added/updated
  • Manual testing performed
  • Documentation updated (not applicable for this implementation layer)

Post-Deploy Monitoring & Validation

  • Owner: Studio team
  • Window: First 24 hours after rollout
  • Signals: Watch thumbnail request volume, abort/error rates, cache behavior, decoder concurrency, and Studio memory use.
  • Rollback trigger: Reproducible data loss, broken timeline editing/navigation, or sustained performance regression; revert this stack layer and its descendants.

This was referenced Jul 19, 2026

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

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