Repository navigation
Reduce Media Studio payloads and redundant reads - #27
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Preserve existing API defaults, saved-state contracts, pricing, refresh/retry and original-media previews. Add opt-in summary/cursor paths; keep legacy full-list and offset consumers working. Includes template catalog reuse and visible gallery recovery errors.
Evidence
Representative separate paired development comparisons, each with five serial warm samples; these are not one cumulative benchmark:
All four hosted CI checks passed on
6059967: publication safeguards, Windows onboarding, assistant mechanical contracts, and the full quality gate. The quality-gate run passed 993 backend tests, 1,120 web tests across 182 files, lint, type checking, the production build and Studio browser smoke. Fixtures ran only in the authorized ephemeral GitHub-hosted environment; no broad local suites or local production build were run. A successful hosted build/smoke is not a production performance benchmark. Private raw captures are intentionally excluded.Merge Danger
Door: two-way
Source reverts restore prior behavior; no database migrations or destructive data changes. Legacy full-list/timestamp/offset contracts remain available. Roll back coherent frontend/backend cursor or summary slices together.
Blast Radius: cross-stack
Touches Studio gallery/presets, Graph startup/workflow browsing/media selection, General Settings and Jobs card serialization, plus additive backend projections/cursors. Primary risks are stale request ownership, hydration/default preservation, tied pagination order and pricing display fallback. Focused regressions and paired browser checks cover these paths; production and disclosed live-data cases still require follow-up. No merge, deployment or paid-generation approval is implied.