Skip to content

Fix multipart filenames for audio uploads - #990

Merged
mergify[bot] merged 1 commit into
vllm-project:mainfrom
fedirz:fix/983-audio-upload-filename
Aug 7, 2026
Merged

Fix multipart filenames for audio uploads#990
mergify[bot] merged 1 commit into
vllm-project:mainfrom
fedirz:fix/983-audio-upload-filename

Conversation

@fedirz

@fedirz fedirz commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • honor explicit audio filenames before path-derived names
  • derive in-memory filenames from the resolved audio format
  • defensively provide a nonempty multipart filename in the audio request handler

Testing

  • uv run tox -e tests -- targeted filename regression tests (5 passed)
  • uv run tox -e lint-check
  • uv run tox -e type-check

The complete audio utility file was also attempted locally; 250 tests passed and 18 audio codec tests failed because TorchCodec could not load local FFmpeg dylibs. The new metadata-only regressions mock the codec boundary and pass.

Fixes #983


git log

commit 7efdd8b
Author: Fedir Zadniprovskyi github.g1k56@simplelogin.com
Date: Mon Aug 3 10:42:54 2026 -0700

fix: ensure audio uploads include filenames

Signed-off-by: Fedir Zadniprovskyi <github.g1k56@simplelogin.com>

Signed-off-by: Fedir Zadniprovskyi github.g1k56@simplelogin.com

Signed-off-by: Fedir Zadniprovskyi <github.g1k56@simplelogin.com>
@mergify

mergify Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Hi @fedirz, the DCO check has failed. Please click on DCO in the Checks section for instructions on how to resolve this.

@fedirz
fedirz force-pushed the fix/983-audio-upload-filename branch from 80b3cc3 to 7efdd8b Compare August 3, 2026 17:43

@sjmonson sjmonson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. I confirmed that this fixes datasets without filenames.

@sjmonson

sjmonson commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

@Mergifyio queue

@mergify

mergify Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 18 hours 45 minutes 52 seconds in the queue, including 7 minutes 22 seconds running CI.

Required conditions to merge
  • github-review-approved [🛡 GitHub repository ruleset rule Merge Requirements]
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / type-checks
    • check-neutral = @github-actions/quality (3.10) / type-checks
    • check-skipped = @github-actions/quality (3.10) / type-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / precommit-checks
    • check-neutral = @github-actions/quality (3.10) / precommit-checks
    • check-skipped = @github-actions/quality (3.10) / precommit-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / quality-checks
    • check-neutral = @github-actions/quality (3.10) / quality-checks
    • check-skipped = @github-actions/quality (3.10) / quality-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / e2e-tests
    • check-neutral = @github-actions/tests (3.10) / e2e-tests
    • check-skipped = @github-actions/tests (3.10) / e2e-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / integration-tests
    • check-neutral = @github-actions/tests (3.10) / integration-tests
    • check-skipped = @github-actions/tests (3.10) / integration-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / unit-tests
    • check-neutral = @github-actions/tests (3.10) / unit-tests
    • check-skipped = @github-actions/tests (3.10) / unit-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/update-description
    • check-neutral = @github-actions/update-description
    • check-skipped = @github-actions/update-description

@mergify mergify Bot added the queued label Aug 6, 2026
@mergify
mergify Bot merged commit 3ac8fb6 into vllm-project:main Aug 7, 2026
12 checks passed
@mergify mergify Bot removed the queued label Aug 7, 2026
cmiyai pushed a commit to cmiyai/guidellm that referenced this pull request Aug 14, 2026
## Summary

- honor explicit audio filenames before path-derived names
- derive in-memory filenames from the resolved audio format
- defensively provide a nonempty multipart filename in the audio request handler

## Testing

- uv run tox -e tests -- targeted filename regression tests (5 passed)
- uv run tox -e lint-check
- uv run tox -e type-check

The complete audio utility file was also attempted locally; 250 tests passed and 18 audio codec tests failed because TorchCodec could not load local FFmpeg dylibs. The new metadata-only regressions mock the codec boundary and pass.

Fixes vllm-project#983



---

# git log

commit 7efdd8b
Author: Fedir Zadniprovskyi <github.g1k56@simplelogin.com>
Date:   Mon Aug 3 10:42:54 2026 -0700

    fix: ensure audio uploads include filenames
    
    Signed-off-by: Fedir Zadniprovskyi <github.g1k56@simplelogin.com>

---------

Signed-off-by: Fedir Zadniprovskyi <github.g1k56@simplelogin.com>
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.

[Bug]: In-memory audio is uploaded without a multipart filename

2 participants