-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix(timeout): allow inherit request timeout for yaml requests #8382
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -118,7 +118,7 @@ const stringifyHttpRequest = (item: BrunoItem): string => { | |
| } | ||
|
|
||
| const timeout = httpSettings?.timeout; | ||
| if (isNumber(timeout)) { | ||
| if (isNumber(timeout) || timeout === 'inherit') { | ||
| settings.timeout = timeout; | ||
| } else { | ||
| settings.timeout = 0; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Add regression coverage for the This fixes a cross-layer serialization contract, but no matching tests are included here. Please add cases that save/load both HTTP and GraphQL requests with 🤖 Prompt for AI AgentsSource: Coding guidelines
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @shubh-bruno we should add this.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Please cover both HTTP and GraphQL round-trips for:
and assert the value survives save/load without falling back to 🐇👍 🧠 Learnings used
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @coderabbitai e2e playwrights tests for this already exists but only for
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Reusing the existing Playwright coverage in (ᵔᴥᵔ) ✏️ Learnings added
🧠 Learnings used |
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
nit: please create const for inherit and use.