# \[Post-review Update\] SF-0023 ProgressManager

**URL:** <https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428>\
**Category:** Foundation\
**Created:** [September 29, 2025, 4:30pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428 "2025-09-29T16:30:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![icharleshu](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/icharleshu/32/20905_2.png) [@icharleshu](https://forums.swift.org/u/icharleshu)\
**Post date:** [September 29, 2025, 4:30pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428/1 "2025-09-29T16:30:02Z")

</div>

Hello all,

The author of SF-0023 `ProgressManager`: Progress Reporting in Swift Concurrency, Chloe, wants to propose a [minor post-review update for SF-0023](https://github.com/swiftlang/swift-foundation/pull/1519/files). Reviews for these updates begin now and run through Monday, October 6th, 2025.

[Pitch Thread](https://forums.swift.org/t/pitch-progress-reporting-in-swift-concurrency/78112)

[First Review](https://forums.swift.org/t/review-sf-0023-progress-reporting-in-swift-concurrency/79474)

[Second Pitch Thread](https://forums.swift.org/t/pitch-2-progressmanager-progress-reporting-in-swift-concurrency/80024)

[Second Review](https://forums.swift.org/t/review-2nd-sf-0023-progressreporter-progress-reporting-in-swift-concurrency/80284/1)

Here's a summary of changes:

- Replaced `withProperties` method with `setCounts`

- Removed `ProgressManager.Values` struct

- Made `ProgressManager` conform to `@dynamicMemberLookup` and moved `subscript(dynamicMember:)` methods from `ProgressManager.Values` to `ProgressManager`

- Changed behavior of API so that additional properties are restricted to either `Int`, `Double`, `String?`, `URL?`, `UInt64` or `Duration` types instead of `any Sendable` types

- Added overloads for `subscript(dynamicMember:)` to account for currently-allowed types

- Added requirements to `ProgressManager.Property` protocol to define summarization and termination (deinit) behavior

- Replaced `total(of:)` with overloads for `summary(of:)` to account for all available types and removed `values(of:)` method

Reviews are an important part of the Swift-Foundation evolution process. All review feedback should be either on this forum thread or, if you would like to keep your feedback private, directly to me as the review manager by email or [DM](https://forums.swift.org/u/icharleshu/summary). When contacting the review manager directly, please include proposal name in the subject line.

#### Trying it out

Checkout the implementation PR [here](https://github.com/swiftlang/swift-foundation/pull/1468)

More information about Swift-Foundation review process is available at

> [swift-foundation/CONTRIBUTING.md at main · swiftlang/swift-foundation · GitHub](https://github.com/apple/swift-foundation/blob/main/CONTRIBUTING.md)

Thank you,

Charles Hu

Review Manager

---

<div class="post-metadata">

**Author:** ![JacobHearst](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jacobhearst/32/31923_2.png) [@JacobHearst](https://forums.swift.org/u/JacobHearst)\
**Post date:** [January 6, 2026, 4:23pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428/2 "2026-01-06T16:23:34Z")

</div>

Is this scheduled for release in Swift 6.3?

---

<div class="post-metadata">

**Author:** ![tinaliu](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tinaliu/32/20927_2.png) [@tinaliu](https://forums.swift.org/u/tinaliu)\
**Post date:** [January 13, 2026, 9:14pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428/3 "2026-01-13T21:14:38Z")

</div>

As seen in the [source file](https://github.com/swiftlang/swift-foundation/blob/2ec017280dfb1e30f68e43c01fe6941c44624723/Sources/FoundationEssentials/ProgressManager/ProgressManager.swift#L4) this is merged with availability of 6.4

---

<div class="post-metadata">

**Author:** ![KeithBauerANZ](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/keithbaueranz/32/27897_2.png) [@KeithBauerANZ](https://forums.swift.org/u/KeithBauerANZ)\
**Post date:** [June 21, 2026, 9:51pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428/4 "2026-06-21T21:51:18Z")

</div>

Resurrecting this thread to note, since Xcode 27 beta has shipped with `ProgressManager` enabled, that [#83359](https://github.com/swiftlang/swift/issues/83359) is _still_ not fixed, so all concurrent observation does not work correctly, which means that using `ProgressManager` to monitor concurrent work is unreliable.

Here's a ContentView to paste into a new iOS project that demonstrates the problem:

```swift
struct ContentView: View {

    @State var manager = ProgressManager(totalCount: 10)
    @State var id = 0

    var body: some View {
        VStack {
            Button("Count to 10") {
                id += 1
            }
            ProgressView(
                value: manager.fractionCompleted,
                total: 1.0
            )
            Text("\(manager.completedCount)/\(manager.totalCount!)")
        }
            .padding()
            .task(id: id) {
                manager = ProgressManager(totalCount: 10)
                await Task.detached { [manager] in
                    for _ in 0..<10 {
                        manager.complete(count: 1)
                    }
                }.value
            }
    }
}

```

Most presses of "count to ten" will result in the progress bar being set to 10/10, but some will not. 0/10 is the most common "other value" to stop at, but you can see everything in between if you click the button enough times.

---

<div class="post-metadata">

**Author:** ![tinaliu](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tinaliu/32/20927_2.png) [@tinaliu](https://forums.swift.org/u/tinaliu)\
**Post date:** [June 22, 2026, 6:25pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428/5 "2026-06-22T18:25:44Z")

</div>

Thanks for the report. I filed an issue on your behalf: [ProgressManager: concurrent observation does not work correctly · Issue #2053 · swiftlang/swift-foundation · GitHub](https://github.com/swiftlang/swift-foundation/issues/2053)

---

<div class="post-metadata">

**Author:** ![KeithBauerANZ](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/keithbaueranz/32/27897_2.png) [@KeithBauerANZ](https://forums.swift.org/u/KeithBauerANZ)\
**Post date:** [June 22, 2026, 8:43pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428/6 "2026-06-22T20:43:49Z")

</div>

Thanks. Although it certainly doesn't work as expected, I don't believe that `ProgressManager` itself needs to be fixed, only `withObservationTracking` and friends. And I don't believe this problem can be fixed at the Foundation level.

---

<div class="post-metadata">

**Author:** ![tinaliu](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tinaliu/32/20927_2.png) [@tinaliu](https://forums.swift.org/u/tinaliu)\
**Post date:** [June 22, 2026, 9:14pm UTC](https://forums.swift.org/t/post-review-update-sf-0023-progressmanager/82428/7 "2026-06-22T21:14:44Z")

</div>

Yup I agree. I created one in swift-foundation for @chloe-yeo's convenience since she has been working with @Philippe_Hausler on verifying the observation fix; not that I think it's a bug in swift-foundation per-se
