Skip to content

Switch to approachable concurrency + default to main actor isolation#2422

Merged
Dimillian merged 5 commits intomainfrom
fix/approachable-concurrency
Jan 7, 2026
Merged

Switch to approachable concurrency + default to main actor isolation#2422
Dimillian merged 5 commits intomainfrom
fix/approachable-concurrency

Conversation

@Dimillian
Copy link
Owner

@Dimillian Dimillian commented Jan 7, 2026

Part 1

Summary

  • Aligned NotificationService overrides and helpers with nonisolated base APIs under main-actor-by-default
  • Routed AppIntent mutations to MainActor
  • Avoided main-actor capture warning in icon selector action

Tests

  • mcp__XcodeBuildMCP__build_sim
  • AccountTests
  • ModelsTests
  • TimelineTests
  • EnvTests

Part 2

Summary

  • Enabled MainActor default isolation for UI-bound SwiftPM packages (DesignSystem, StatusKit, Timeline, Notifications, MediaUI, Account, Explore, Lists, Conversations)
  • Added targeted isolation fixes in UI flows (Account tabs conformances, TimelineFilter codable/hash/id, notification row helper)
  • Resolved StatusKit concurrency warnings by hopping to MainActor where needed (image resize, media refresh)

Testing

  • mcp__XcodeBuildMCP__build_sim
  • AccountTests
  • StatusKitTests
  • TimelineTests

@Dimillian
Copy link
Owner Author

@codex review

@Dimillian Dimillian changed the title fix(concurrency): align main-actor isolation Switch to approachable concurrency + default to main actor isolation Jan 7, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b312bedf2e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Dimillian
Copy link
Owner Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8b7f84332

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Moved stream event decoding into a new StreamEventDecoder actor for sequential processing and improved error handling. Updated event emission methods to be public and streamlined error logging for decoding failures.
@Dimillian
Copy link
Owner Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Delightful!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Dimillian Dimillian merged commit 6900327 into main Jan 7, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant