Skip to content

feat(cli): add fluidframes CLI + FrameGenJob API and fix stale runtime cache#54

Merged
zackees merged 1 commit into
mainfrom
feat/ff-cli-api
Jun 12, 2026
Merged

feat(cli): add fluidframes CLI + FrameGenJob API and fix stale runtime cache#54
zackees merged 1 commit into
mainfrom
feat/ff-cli-api

Conversation

@zackees

@zackees zackees commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Phase 0 — declare [tool.uv] cache-keys over src/** so the managed runtime rebuilds the wheel when source changes, instead of silently reusing a stale cached build (root cause of the invisible Fluid Frames tab). Adds tests/test_packaging.py guarding the config plus an integration test that builds the wheel and verifies all packages (gui/, fluidframes/, _vendor/) are present.
  • Phase 1 — new FrameGenJob in qualityscaler.fluidframes, mirroring UpscaleJob (start/cancel/events/wait/done, reuses core upscale events), with a full unit-test suite.
  • Phase 2 — new fluidframes CLI subcommand (model, factor, slowmotion, resize, codec, quality, cpus, keep-frames) sharing an extracted _stream_job_events loop with upscale, plus models --fluidframes to list RIFE models. 10 new CLI tests using the existing fake-module fixture pattern.
  • Sync uv.lock to project version 2026.3.1 (was stale at 2026.3.0).

Closes #53

Test plan

  • uv run --project . pytest tests -q — 232 passed
  • uv run --project . pytest tests/test_packaging.py -m integration -q — wheel completeness verified
  • uvx ruff check src/qualityscaler tests — clean

🤖 Generated with Claude Code

…e cache

Phase 0: declare [tool.uv] cache-keys over src/** so the managed runtime
rebuilds the wheel when source files change instead of silently reusing a
stale cached build (root cause of the invisible Fluid Frames tab).

Phase 1: add FrameGenJob, a background frame-generation job mirroring
UpscaleJob (start/cancel/events/wait/done), exported from
qualityscaler.fluidframes.

Phase 2: add a "fluidframes" CLI subcommand (model, factor, slowmotion,
resize, codec, quality, cpus, keep-frames) sharing the event-streaming
loop with "upscale", plus "models --fluidframes".

Also sync uv.lock to project version 2026.3.1.

Closes #53

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@zackees
zackees merged commit 3b94939 into main Jun 12, 2026
18 checks passed
@zackees
zackees deleted the feat/ff-cli-api branch June 12, 2026 11:27
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.

Fluid Frames invisible at runtime: stale uv build cache; plan CLI entry point + API, then UI

1 participant