The production macOS build is showing severe performance problems, while Mac_Dev performs normally.
Observed behavior in production Mac build:
- Issue board scrolling becomes inconsistent or nearly unusable
- Changing an issue status in detail view is very slow
- Scrolling the status menu/options can be slow
- Typing in issue description/notes fields becomes sluggish
- Dragging issues between milestones/statuses on the board can lag badly
Observed behavior in Mac_Dev:
- Board scrolling is smooth
- Status changes are immediate
- Typing in description fields is responsive
- Drag/drop between milestones works well
Important comparison:
- Mac_Dev appears to run against an isolated local SwiftData store
- Production Mac app uses the normal CloudKit-backed store
- Because the same UI is fast in Mac_Dev, this does not look like a pure rendering problem
- Most likely cause is production store / CloudKit sync churn amplifying existing SwiftUI invalidation and save behavior
Current hypothesis:
- The production app is saving or observing live Issue mutations too aggressively
- Detail view edits and some quick actions may be causing repeated saves / broad view invalidation
- Cloud-backed persistence likely makes the problem much worse than the isolated dev store
- The UI architecture may still need cleanup, but the production data lane is likely a major factor
Any help in understanding how best to address this would be helpful.