Skip to content

perf(studio-server): coordinate cancelable thumbnail generation#2720

Draft
miguel-heygen wants to merge 1 commit into
codex/studio-timeline-g-work-priority-v2from
codex/studio-timeline-g-server-coordinator-v2
Draft

perf(studio-server): coordinate cancelable thumbnail generation#2720
miguel-heygen wants to merge 1 commit into
codex/studio-timeline-g-work-priority-v2from
codex/studio-timeline-g-server-coordinator-v2

Conversation

@miguel-heygen

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

Copy link
Copy Markdown
Collaborator

What

Family G — Adaptive thumbnails.

Coordinate cancelable thumbnail generation in Studio Server and the browser bridge.

Why

Client-side virtualization is insufficient if duplicate or obsolete thumbnail requests continue consuming browser and server resources.

How

Deduplicate generation by request identity, own cancellation and cleanup in one server coordinator, make output writes atomic, expose the shared device-scale contract, and propagate aborts through the CLI/Vite bridge.

Test plan

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

Validated with 78 changed-surface Studio tests, 19 focused server tests, 3,026 full Studio tests, 406 full Studio Server tests, both typechecks, format, lint, file-size gate, and full workspace build.

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