豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

fix(aws-lambda): handle invalid header names in request processing#4883

Merged
yusukebe merged 2 commits intomainfrom
fix/aws-lambda-handle-invalid-header
Apr 15, 2026
Merged

fix(aws-lambda): handle invalid header names in request processing#4883
yusukebe merged 2 commits intomainfrom
fix/aws-lambda-handle-invalid-header

Conversation

@yusukebe
Copy link
Copy Markdown
Member

@yusukebe yusukebe commented Apr 15, 2026

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

Bundle size check

main (3779927) #4883 (0dfe5ea) +/-
Bundle Size (B) 18,489B 18,489B 0B
Bundle Size (KB) 18.06K 18.06K 0K

Compiler Diagnostics (tsc)

main (3779927) #4883 (0dfe5ea) +/-
Files 229 229 0
Lines 146,731 146,731 0
Identifiers 124,420 124,420 0
Symbols 150,435 150,435 0
Types 157,114 157,114 0
Instantiations 401,812 401,812 0
Memory used 254,150K 251,543K -2,607K
I/O read 0.02s 0.02s 0s
I/O write 0s 0s 0s
Parse time 0.72s 0.56s -0.16s
Bind time 0.28s 0.23s -0.05s
Check time 1.49s 1.21s -0.28s
Emit time 0.01s 0.01s 0s
Total time 2.51s 2s -0.51s

Compiler Diagnostics (typescript-go)

main (3779927) #4883 (0dfe5ea) +/-
Files 229 229 0
Lines 150,912 150,912 0
Identifiers 125,098 125,098 0
Symbols 190,741 190,741 0
Types 255,501 255,501 0
Instantiations 609,367 609,367 0
Memory used 162,018K 162,147K 129K
Memory allocs 1,768,059 1,768,433 374
Config time 0.001s 0s -0.001s
BuildInfo read time 0.001s 0.001s 0s
Parse time 0.101s 0.074s -0.027s
Bind time 0s 0s 0s
Check time 0.442s 0.341s -0.101s
Emit time 0.012s 0.17s 0.158s
Changes compute time 0.025s 0.027s 0.002s
Total time 0.648s 0.641s -0.007s

Reported by octocov

@github-actions
Copy link
Copy Markdown

HTTP Performance Benchmark

Framework Runtime Average Ping Query Body
hono (origin/main) bun 34,803.11 47,798.62 31,281.59 25,329.13
hono (current) bun 36,031.83 51,094.21 31,607.72 25,393.57
Change +3.53% +6.89% +1.04% +0.25%

@yusukebe
Copy link
Copy Markdown
Member Author

I think this is okay. I merge it immediately.

@yusukebe yusukebe merged commit fa2c74f into main Apr 15, 2026
18 checks passed
@yusukebe yusukebe deleted the fix/aws-lambda-handle-invalid-header branch April 15, 2026 06:08
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 15, 2026

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.90%. Comparing base (3779927) to head (48498e7).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/adapter/aws-lambda/handler.ts 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4883      +/-   ##
==========================================
- Coverage   92.90%   92.90%   -0.01%     
==========================================
  Files         177      177              
  Lines       11807    11817      +10     
  Branches     3522     3528       +6     
==========================================
+ Hits        10969    10978       +9     
- Misses        837      838       +1     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 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.

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.

1 participant