feat(cli): add fluidframes CLI + FrameGenJob API and fix stale runtime cache#54
Merged
Conversation
…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>
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
[tool.uv] cache-keysoversrc/**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). Addstests/test_packaging.pyguarding the config plus an integration test that builds the wheel and verifies all packages (gui/,fluidframes/,_vendor/) are present.FrameGenJobinqualityscaler.fluidframes, mirroringUpscaleJob(start/cancel/events/wait/done, reuses core upscale events), with a full unit-test suite.fluidframesCLI subcommand (model, factor, slowmotion, resize, codec, quality, cpus, keep-frames) sharing an extracted_stream_job_eventsloop withupscale, plusmodels --fluidframesto list RIFE models. 10 new CLI tests using the existing fake-module fixture pattern.uv.lockto project version 2026.3.1 (was stale at 2026.3.0).Closes #53
Test plan
uv run --project . pytest tests -q— 232 passeduv run --project . pytest tests/test_packaging.py -m integration -q— wheel completeness verifieduvx ruff check src/qualityscaler tests— clean🤖 Generated with Claude Code