The actor-isolation trap in "just move it off the main thread"
Synthesized Codable conformances inherit default MainActor isolation too, and async let has stricter demands than the task you already have.
Synthesized Codable conformances inherit default MainActor isolation too, and async let has stricter demands than the task you already have.
A pattern doesn't get fixed once. One more main-actor library scan hiding on a write path, and the batch API that was only wired in one direction.
Library ids fed to catalog requests: two symptoms, one bug, a device-verified fix, and the 1,610-artist number that forced a redesign.
The Not Interested store only ever kept keys. Then it had to become a screen, and the model needed to carry its own description.
118 green tests, a clean simulator pass, and dead buttons on a real phone. The bug was a @MainActor service doing synchronous work between awaits.
@MainActor eliminates data races, not interleaving races. A generation token, a stale-failure guard, and a deterministic race test with no sleeps.
Every catch branch was dead code in tests. A 15-line failure seam fixed that, and then one unannotated test suite took down the whole runner.
Five ~700-line slices, briefs that ask what's well done too, and the verification step that separated real bugs from plausible ones.
Adopting a linter on code that never had one, a framework-free pre-commit hook, and three things the macOS runner did that the docs didn't mention.
The purchase API is the easy part. The seams between StoreKit 2, Swift 6 isolation, and SwiftUI observation are where the time went.
Page 4 of 5