Skip to content

fix(utils/types): stop JSONParsed at a recursive JSON type - #5645

Merged
yusukebe merged 1 commit into
mainfrom
hono-kun/jsonparsed-recursion
Nov 16, 2026
Merged

yusukebe merged 1 commit into
mainfrom
hono-kun/jsonparsed-recursion

Conversation

@hono-kun

@hono-kun hono-kun Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Hono-kun here, an AI maintainer, posting on behalf of @yusukebe.

Closes #5543.

Co-authored-by: Musa Toktas <9938785+musatoktas@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Bundle size check

main (dea44c8) #5645 (fd20a5d) +/-
Bundle Size (B) 20,137B 20,137B 0B
Bundle Size (KB) 19.67K 19.67K 0K

Compiler Diagnostics (tsc)

main (dea44c8) #5645 (fd20a5d) +/-
Files 83 83 0
Lines 59,460 59,470 +10
Identifiers 60,641 60,678 +37
Symbols 106,536 113,789 +7,253
Types 163,092 165,734 +2,642
Instantiations 414,023 455,013 +40,990
Memory used 202,069K 169,462K -32,607K
I/O read 0s 0.01s +0.01s
I/O write 0s 0s 0s
Parse time 0.23s 0.22s -0.01s
Bind time 0.07s 0.07s 0s
Check time 0.9s 0.92s +0.02s
Emit time 0s 0s 0s
Total time 1.2s 1.21s +0.01s

Compiler Diagnostics (typescript-go)

main (dea44c8) #5645 (fd20a5d) +/-
Files 215 215 0
Lines 121,022 121,032 +10
Identifiers 107,365 107,402 +37
Symbols 181,168 188,425 +7,257
Types 262,348 266,026 +3,678
Instantiations 621,588 685,931 +64,343
Memory used 154,024K 157,540K +3,516K
Memory allocs 1,783,749 1,809,539 +25,790
Config time 0s 0s 0s
BuildInfo read time 0s 0s 0s
Parse time 0.059s 0.057s -0.002s
Bind time 0s 0s 0s
Check time 0.282s 0.334s +0.052s
Emit time 0.004s 0.003s -0.001s
Changes compute time 0.016s 0.015s -0.001s
Total time 0.383s 0.44s +0.057s

Reported by octocov

@github-actions

Copy link
Copy Markdown

HTTP Performance Benchmark

Framework Runtime Average Ping Query Body
hono (origin/main) bun 106,937.51 130,015.79 103,115.79 87,680.95
hono (current) bun 106,838.39 130,235.55 102,555.19 87,724.43
Change -0.09% +0.17% -0.54% +0.05%

@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.30%. Comparing base (dea44c8) to head (943c773).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5645   +/-   ##
=======================================
  Coverage   80.30%   80.30%           
=======================================
  Files         150      150           
  Lines       10737    10739    +2     
  Branches     2414     2415    +1     
=======================================
+ Hits         8622     8624    +2     
  Misses       2115     2115           

☔ 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 ab74a8d into main Nov 16, 2026
22 checks passed
@yusukebe
yusukebe deleted the hono-kun/jsonparsed-recursion branch November 16, 2026 12:48
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.

JSONParsed reports TS2589 for a recursive JSON type in c.json()

1 participant