-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add allowH2 define and more #5392
Conversation
WalkthroughThis pull request extends the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Context
User->>Context: Triggers an asynchronous task
Context->>Context: runInBackground(scope, taskName?) invoked
Context->>Context: _runInBackground(scope, taskName) handles task execution
Context-->>User: Confirms task scheduling
Possibly related PRs
Poem
Tip 🌐 Web search-backed reviews and chat
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #5392 +/- ##
==========================================
+ Coverage 94.89% 94.91% +0.01%
==========================================
Files 40 40
Lines 3762 3774 +12
Branches 352 352
==========================================
+ Hits 3570 3582 +12
Misses 192 192 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/app/extend/context.ts (1)
311-311
: Consider using a more specific type forproxy
.The
any
type for theproxy
property is too loose and could lead to type safety issues. Consider defining a more specific interface or type that accurately represents the expected structure.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
src/app/extend/context.ts
(1 hunks)src/lib/types.ts
(1 hunks)test/index.test-d.ts
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (20)
- GitHub Check: Node.js / Test (windows-latest, 22)
- GitHub Check: Node.js / Test (windows-latest, 18)
- GitHub Check: Node.js / Test (ubuntu-latest, 22)
- GitHub Check: Node.js / Test (ubuntu-latest, 20)
- GitHub Check: Node.js / Test (ubuntu-latest, 18)
- GitHub Check: Node.js / Test (macos-latest, 22)
- GitHub Check: Node.js / Test (macos-latest, 20)
- GitHub Check: Node.js / Test (windows-latest, 20)
- GitHub Check: Node.js / Test (windows-latest, 18)
- GitHub Check: Node.js / Test (macos-latest, 18)
- GitHub Check: Node.js / Test (ubuntu-latest, 20)
- GitHub Check: Node.js / Test (ubuntu-latest, 18)
- GitHub Check: Node.js / Test (ubuntu-latest, 20)
- GitHub Check: Node.js / Test (windows-latest, 20)
- GitHub Check: Node.js / Test (windows-latest, 18)
- GitHub Check: Node.js / Test (windows-latest, 20)
- GitHub Check: Node.js / Test (windows-latest, 22)
- GitHub Check: Node.js / Test (ubuntu-latest, 22)
- GitHub Check: Node.js / Test (ubuntu-latest, 18)
- GitHub Check: Node.js / Test (ubuntu-latest, 20)
🔇 Additional comments (2)
test/index.test-d.ts (1)
149-150
: LGTM!The type test correctly validates that the
allowH2
property in the httpclient config is of type boolean.src/lib/types.ts (1)
84-87
: Verify HTTP/2 support in the codebase.The
allowH2
property is well-defined and documented. However, let's verify that the codebase has the necessary HTTP/2 support implemented.Run the following script to check for HTTP/2 related code:
[skip ci] ## [4.0.8](v4.0.7...v4.0.8) (2025-02-04) ### Bug Fixes * add allowH2 define and more ([#5392](#5392)) ([413a6f9](413a6f9))
Summary by CodeRabbit