Thanks to visit codestin.com
Credit goes to github.com

Skip to content

perf: Gate runtime sync key builds by inputs#2609

Merged
nwparker merged 1 commit into
mainfrom
nwparker/perf-s17-runtime-sync-key-gate
May 22, 2026
Merged

perf: Gate runtime sync key builds by inputs#2609
nwparker merged 1 commit into
mainfrom
nwparker/perf-s17-runtime-sync-key-gate

Conversation

@nwparker
Copy link
Copy Markdown
Contributor

Summary

  • move App's runtime mobile session sync skip check into the sync-runtime-graph module
  • include agent status epoch/detail projection in the sync key so paired clients get prompt/tool updates
  • coalesce timestamp-only agent heartbeats into a 30s freshness bucket to avoid runtime graph sync churn

UX / regression risk

  • Contained to paired web/mobile session sync scheduling.
  • Does not change terminal layout handling, tab create/close IPC, browser streaming, SSH transport, provider IPC, Source Control, ChecksPanel, or PR status polling.
  • Prompt/tool/status detail updates publish immediately; timestamp-only freshness updates publish at most once per 30s bucket.

Verification

  • pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/runtime/sync-runtime-graph.test.ts
  • pnpm exec oxlint src/renderer/src/runtime/sync-runtime-graph.ts src/renderer/src/runtime/sync-runtime-graph.test.ts src/renderer/src/App.tsx
  • pnpm typecheck
  • pnpm test
  • pnpm exec electron-vite build --mode e2e
  • git diff --check origin/main...HEAD
  • sensitive reference scan

@nwparker nwparker merged commit 31859d4 into main May 22, 2026
2 checks passed
@nwparker nwparker deleted the nwparker/perf-s17-runtime-sync-key-gate branch May 22, 2026 06:47
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