Skip to content

fix(request): fix multipart boundary mismatch in cloneRawRequest - #5133

Merged
yusukebe merged 1 commit into
mainfrom
fix/request-multipart-boundary
Jul 17, 2026
Merged

yusukebe merged 1 commit into
mainfrom
fix/request-multipart-boundary

Conversation

@yusukebe

@yusukebe yusukebe commented Jul 17, 2026 •

Copy link
Copy Markdown
Member

Fixes #5129 (comment)

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@github-actions

Copy link
Copy Markdown

HTTP Performance Benchmark

Framework Runtime Average Ping Query Body
hono (origin/main) bun 35,172.18 48,758.17 31,559.24 25,199.12
hono (current) bun 36,038.68 51,086.44 31,787.66 25,241.93
Change +2.46% +4.78% +0.72% +0.17%

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.04%. Comparing base (80959d4) to head (f8c72be).

Files with missing lines Patch % Lines
src/request.ts 40.00% 6 Missing ⚠️

❌ Your patch check has failed because the patch coverage (40.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5133      +/-   ##
==========================================
- Coverage   79.06%   79.04%   -0.03%     
==========================================
  Files         154      154              
  Lines       10770    10778       +8     
  Branches     2255     2256       +1     
==========================================
+ Hits         8515     8519       +4     
- Misses       2255     2259       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yusukebe
yusukebe merged commit d796450 into main Jul 17, 2026
20 checks passed
@yusukebe
yusukebe deleted the fix/request-multipart-boundary branch July 17, 2026 23:43
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.

parseBody() fails with "Failed to parse body as FormData" when formData() was read first (regression in 4.12.28)

1 participant