GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — fix(cache): do not report aborted on successful cache hits by Yahiro025 · Pull Request #5819 · nodejs/undici Conversation
Contributor
This relates to...Fixes #5818 RationaleA successful cache hit was reporting ChangesBug Fixes
FeaturesN/A Breaking Changes and DeprecationsN/A Status
Test plan
AI disclosureI used Cursor to help draft the fix and tests. I reviewed the diff and verified the regression coverage before opening this PR.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe cache interceptor treated stream.destroyed as aborted, so onResponseEnd saw aborted=true after a normal cache hit. Track abort with an explicit flag set only in abort().
mcollina
approved these changes
Member
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. lgtm
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #5819 +/- ## ========================================== + Coverage 93.51% 93.53% +0.02% ========================================== Files 110 110 Lines 39573 39576 +3 ========================================== + Hits 37006 37017 +11 + Misses 2567 2559 -8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Cache interceptor reports aborted=true during successful onResponseEnd
There was an error while loading. Please reload this page.