Repository navigation
wan worker: take default_width and default_height as daemon options - #168
Merged
Merged
Conversation
The engine accepts both as a cmd video tool's default size, so a Wan config that used them passed startup and then failed at load with "unknown options". Co-Authored-By: Claude Opus 5.5 <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.
What
tools/video/wan/worker.pyrefuseddefault_widthanddefault_heightas unknown options. Since #162 the engine accepts both as acmdvideo tool's declared default size (main's ComfyUI worker uses them), so a Wan config that set them passed startup and then failed when the worker loaded:Both are now in
DAEMON_OPTIONS; the worker's docstring and README list them with the other daemon limits.Follow-up nit from Randy's round-5 review of #162.
Tests
test_worker.py: a new test builds the worker with every daemon video option,default_widthanddefault_heightincluded. It failed with the error above before the fix. 12 tests pass.test_fetch.py: 4 tests pass.zig buildandzig build test-unitpass (26/26 steps), andgit diff --checkis clean.zig build test's integration tests can't run: their daemons write under/tmp, and this machine's per-user/tmpquota is full of other work (DiskQuota). This change is Python only, so CI'szig build testis the full run.🤖 Generated with Claude Code