`cancelRequest(withId:)` is entirely compiled out where Combine is unavailable
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start in native/swift/Sources/wordpress-api/SafeRequestExecutor.swift around line 152 and trace cancelRequest(withId:) and cancel(context:), including the session.allTasks lookup and task cancellation. Verify the Linux/non-Combine build, and consider the issue done when cancellation still runs without Combine and produces CancellationError.
Written by the indexing model from the issue text.
Description
Split out from Automattic/wordpress-rs#1497 — Swift executor URLSession error audit. Section E — Cancellation gaps.
File references are to
native/swift/Sources/wordpress-api/SafeRequestExecutor.swiftunless noted;:NNNline numbers were verified againstfix/converge-executor-error-classification.
Severity: low. The whole body sits inside #if canImport(Combine) (:152), including the session.allTasks lookup and task?.cancel() that need no Combine — only the notification fallback does. On Linux, cancel(context:) therefore cancels nothing, ever, and cancellation never produces CancellationError. Scope the #if to just the publisher fallback.
- Dominant language
- Rust
- Stars
- 36
- Forks
- 5
- Avg merge
- 16h 5m
- Merged PRs (30d)
- 39
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/wordpress-rs
-
Bug Kotlin
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Automattic/wordpress-rs#1625 ·
-
Bug Error Handling Swift
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/wordpress-rs#1520 ·
-
`WpNetworkResponse.init` uses `preconditionFailure` where the throwing error path already exists OpenBug Error Handling Swift
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Automattic/wordpress-rs#1515 ·
-
Bug Error Handling Swift
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/wordpress-rs#1511 ·
-
Bug Error Handling Swift
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Automattic/wordpress-rs#1506 ·
All issues in Automattic/wordpress-rs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100