Skip to content

Conversation

@ahkhanjani
Copy link
Contributor

@ahkhanjani ahkhanjani commented Dec 29, 2025

Closes #1243

Summary by CodeRabbit

  • New Features
    • Added WAV audio format to MIME type mappings to ensure files using the .wav extension are correctly recognized.
    • Improves compatibility and handling for WAV-based audio uploads, playback, and integrations across the platform.

✏️ Tip: You can customize this high-level summary in your review settings.

@changeset-bot
Copy link

changeset-bot bot commented Dec 29, 2025

⚠️ No Changeset found

Latest commit: f80ee2c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Dec 29, 2025

@ahkhanjani is attempting to deploy a commit to the Ping Labs Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 29, 2025

Walkthrough

Added a new MIME type entry audio/wav to the audio MIME types object with source "nginx" and extension mapping ["wav"].

Changes

Cohort / File(s) Summary
Audio MIME types configuration
packages/mime-types/src/audio.ts
Inserted new MIME type entry audio/wav with source: "nginx" and extensions: ["wav"] into the exported audio object.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: Add wav mime type support' directly and clearly summarizes the main change—adding support for the wav MIME type to the codebase.
Linked Issues check ✅ Passed The PR successfully addresses issue #1243 by adding the audio/wav MIME type entry to the audio.ts file, resolving the unsupported type error when uploading wav files from MediaRecorder.
Out of Scope Changes check ✅ Passed All changes are directly related to the stated objective of adding audio/wav MIME type support; no unrelated or out-of-scope modifications are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4cfdb8c and f80ee2c.

📒 Files selected for processing (1)
  • packages/mime-types/src/audio.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/mime-types/src/audio.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: bundle-analyze-result
  • GitHub Check: typecheck
  • GitHub Check: lint
  • GitHub Check: build
  • GitHub Check: e2e-node (minimal-appdir)
  • GitHub Check: e2e-node (backend-adapters)
  • GitHub Check: e2e-node (minimal-pagedir)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ahkhanjani ahkhanjani mentioned this pull request Dec 29, 2025
1 task
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between baaed19 and 4cfdb8c.

📒 Files selected for processing (1)
  • packages/mime-types/src/audio.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: bundle-analyze-result
  • GitHub Check: e2e-node (backend-adapters)
  • GitHub Check: e2e-node (minimal-appdir)
  • GitHub Check: e2e-node (minimal-pagedir)
  • GitHub Check: typecheck
  • GitHub Check: build
  • GitHub Check: lint

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.

feat: Add audio/wav support

1 participant