Skip to content

fix: Reduce unnecessary IPC calls causing UI unresponsiveness#1542

Open
charlesvien wants to merge 5 commits into04-07-folder_logic_cleanupfrom
04-07-app_becomes_unresponsive
Open

fix: Reduce unnecessary IPC calls causing UI unresponsiveness#1542
charlesvien wants to merge 5 commits into04-07-folder_logic_cleanupfrom
04-07-app_becomes_unresponsive

Conversation

@charlesvien
Copy link
Copy Markdown
Member

@charlesvien charlesvien commented Apr 8, 2026

Problem

Excessive IPC calls during boot and redundant re-renders cause the app to become unresponsive.

Closes #1348

Changes

  1. Add opt-in IPC timing middleware to log call durations during first 15s of boot
  2. Fix markAsViewed re-firing on every render by stabilizing the dependency to a string key instead of a new array reference
  3. Dedupe recordActivity mutation calls per task run using a module-level Set

How did you test this?

Manually

@charlesvien charlesvien changed the title Dedupe recordActivity calls on session connect fix: Dedupe recordActivity calls on session connect Apr 8, 2026
@charlesvien charlesvien changed the title fix: Dedupe recordActivity calls on session connect fix: Reduce unnecessary IPC calls causing UI unresponsiveness Apr 8, 2026
@charlesvien charlesvien marked this pull request as ready for review April 8, 2026 02:04
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