• Stefy Lanza (nextime / spora )'s avatar
    take an upload even with no output directory configured (v0.4.87) · e79ccd03
    Stefy Lanza (nextime / spora ) authored
    POST /v1/files/upload exists so a client sends a file once and then names it:
    inlining a 40 MB clip in every request is the waste it was built to remove. But
    it stored its content-addressed files in the output directory and answered 501
    when there was none configured -- so on such an install the only way to send
    media was the inlining the endpoint replaces, and a client that had already
    switched to uploading saw its photo edits fail outright.
    
    An install always has a cache directory, so uploads fall back to it
    (media.uploads_dir()). With an output directory nothing moves: an upload still
    lands there beside the generated files. Both stores stay in the lookup path, so
    an install that gains --file-path later does not lose track of what it already
    holds, and /v1/files/<name> serves from the cache store only for up- names --
    the cache directory does not quietly become a second public output directory.
    501 now means there is nowhere at all to write; a non-writable store answers
    507 rather than a 500 out of makedirs.
    
    Composing a new video still needs an output directory, since there has to be
    somewhere to write the result.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01S8LAP3ueNzQJtwzhgVbq66
    e79ccd03
Name
Last commit
Last update
..
superpowers Loading commit data...
README.md Loading commit data...
admin-forward-auth.md Loading commit data...
chunking.md Loading commit data...
cluster.md Loading commit data...
deepseek-ds4.md Loading commit data...
digesta-field-report-2026-10-15.md Loading commit data...
dtype-auto-selection.md Loading commit data...
expressive-tts.md Loading commit data...
frontend-engine-split.md Loading commit data...
gguf-process-isolation.md Loading commit data...
glm-colibri.md Loading commit data...
install-from-packages.md Loading commit data...
kimi-k3.md Loading commit data...
ktransformers.md Loading commit data...
longcat-video.md Loading commit data...
minimax-h3.md Loading commit data...
modelli-digesta-e-container.md Loading commit data...
ocr-client-throughput-guide.md Loading commit data...
ocr-throughput-measurements-2026-10-18.md Loading commit data...
ocr.md Loading commit data...
orchestrator-runpod-guide.md Loading commit data...
piano-inferenza-su-coderai-prod.md Loading commit data...
process-isolation-plans.md Loading commit data...
reference-projects.md Loading commit data...
remote-execution.md Loading commit data...
reverse-proxy-nginx.md Loading commit data...
runpod-regional-storage-plan.md Loading commit data...
runpod.md Loading commit data...
surya-block-router-plan.md Loading commit data...
tools-as-services.md Loading commit data...
unlimited-ocr-plan.md Loading commit data...
video-compose.md Loading commit data...
vllm.md Loading commit data...
vlm-lora-training-plan.md Loading commit data...
zimage-lora-training.md Loading commit data...