apple / apple/swift-temporal-sdk

Adopt native `withTaskCancellationShield` once Swift 6.4 is available

Open Beginner friendly
#150 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
315
Forks
31
Avg merge
4d 11h
Merged PRs (30d)
4

Description

We currently manually a task cancellation shield by using an unstructured Task. With Swift 6.4 there is native support for `withTaskCancellationShield`. We should update our underlying implementation to use that.

Contributor guide

Open the contributing guide

Research direction

Locate the underlying implementation that manually creates an unstructured Task as a cancellation shield. Check Swift 6.4 availability, update that implementation to use the native support, and run the relevant existing tests to confirm cancellation behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.