Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Dec 16, 2025

AbortSignal (provided by AbortController) is the standard way of doing this and is in-line with how e.g. the webdav library, axios or native fetch work.
Also cancelable-promise is deprecated in favor of this.

@susnux susnux added this to the v4.0.0 milestone Dec 16, 2025
@susnux susnux added 3. to review 3️⃣ Waiting for reviews type: breaking 💥 changes that require a new major version type: refactor ♻️ Refactor code (not a bug fix, not a feature just refactoring) labels Dec 16, 2025
AbortSignal (provided by AbortController) is the standard way of doing
this and is in-line with how e.g. the webdav library, axios or native
fetch work.
Also `cancelable-promise` is deprecated in favor of this.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the refactor/migrate-abort-controller branch from 493656b to f0b387a Compare December 16, 2025 14:43
@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.02%. Comparing base (af703f9) to head (f0b387a).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
lib/dav/dav.ts 75.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1428      +/-   ##
==========================================
- Coverage   91.21%   91.02%   -0.19%     
==========================================
  Files          24       24              
  Lines         694      691       -3     
  Branches      189      192       +3     
==========================================
- Hits          633      629       -4     
  Misses         50       50              
- Partials       11       12       +1     

☔ View full report in Codecov by Sentry.
📢 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.

@susnux susnux merged commit 91587cb into main Dec 16, 2025
9 of 11 checks passed
@susnux susnux deleted the refactor/migrate-abort-controller branch December 16, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review 3️⃣ Waiting for reviews type: breaking 💥 changes that require a new major version type: refactor ♻️ Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants