Skip to content

bug: clip fps/resolution are admin-only operator settings - #461

Merged
lukepolo merged 1 commit into
mainfrom
bug/clip-settings-admin-only
Sep 29, 2026
Merged

lukepolo merged 1 commit into
mainfrom
bug/clip-settings-admin-only

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

Clip fps and resolution stay admin-only settings; the api already applies them to every render, so no client needs to read or send them.

  • migration 1889000000400 moves public.clip_fps/public.clip_resolution back to clip_fps/clip_resolution (idempotent; the public. value wins a clash, it is what the api applied); boot now deletes stray public.clip_* rows
  • createClipFromPreset, queueClipFromPreset and createClipRender ignore any client fps/resolution/output and always render at the operator settings; ClipSpecInput.output is optional, and the old args stay in the schema (ignored) so the deployed web keeps working until the web PR ships

Merge/deploy: merge the api first; the migration runs on boot and the metadata applies with the hasura pod.

Tests: controller clip tests (7) fail on main and pass here; SQL admin-only-clip-settings covers up, rerun, clash, 300→400, down, down clash and the boot delete.

Moves public.clip_fps/public.clip_resolution back to the unprefixed names
(the public. value wins a clash) and deletes stray public.clip_* rows on boot.
Every render takes fps and resolution from the operator settings and ignores
any a client sends; ClipSpecInput.output is optional.
@lukepolo
lukepolo merged commit ab0ba18 into main Sep 29, 2026
2 checks passed
@lukepolo
lukepolo deleted the bug/clip-settings-admin-only branch September 29, 2026 02:41
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