fix(web): cache server console context#38535
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #38535 +/- ##
==========================================
- Coverage 85.39% 85.34% -0.06%
==========================================
Files 5170 5013 -157
Lines 270183 265787 -4396
Branches 51604 50528 -1076
==========================================
- Hits 230719 226829 -3890
+ Misses 35016 34510 -506
Partials 4448 4448
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
hyoban
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cache()for request-scoped dedupe.Verification
pnpm -C web test -- service/__tests__/server.spec.tspnpm -C web test -- app/(commonLayout)/__tests__/hydration-boundary.spec.tsxpnpm -C web test -- features/system-features/__tests__/system-features.spec.tsgit diff --checkManual Check
/render previously calledgetServerConsoleClientContext()3 times.cache(), the same page render emitted one context log per request wave.