Skip to content

fix(menubar): reduce repeated status parsing - #486

Merged
iamtoruk merged 1 commit into
getagentseal:mainfrom
vaibhavarora14:fix/reduce-status-parsing
Jun 18, 2026
Merged

fix(menubar): reduce repeated status parsing#486
iamtoruk merged 1 commit into
getagentseal:mainfrom
vaibhavarora14:fix/reduce-status-parsing

Conversation

@vaibhavarora14

Copy link
Copy Markdown
Contributor

Summary

  • Keeps cached daily data for yesterday instead of forcing a repeat hydration parse once it is already cached.
  • Suppresses duplicate warnings when the same unrecognized Cursor agent transcript is parsed repeatedly.
  • Adds regression coverage for both repeated-cache hydration and repeated transcript warnings.

Target issues

Closes #484

Testing

  • npm test -- --run tests/daily-cache.test.ts tests/providers/cursor-agent.test.ts
  • I have tested this locally against real data (not just unit tests)
  • npm test passes
  • npm run build succeeds

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
iamtoruk added a commit that referenced this pull request Jun 18, 2026
fix(menubar): reduce repeated status parsing (#486) + clock-skew guard
@iamtoruk
iamtoruk merged commit 0ac09d8 into getagentseal:main Jun 18, 2026
3 checks passed
timothybrush pushed a commit to timothybrush/codeburn that referenced this pull request Jun 18, 2026
Keeps the perf win from PR getagentseal#486 (yesterday stays cached, no re-parse every
run) but restores a narrow safety guard: drop any cached entry dated today or
later before computing the gap range. The cache only ever stores complete past
days, so a >= today entry can only come from the clock moving backward or a
stale older cache; without this it would be served frozen instead of being
recomputed live. Yesterday and earlier are untouched, so this does not
re-parse already-cached days. Adds a regression test.
iamtoruk added a commit that referenced this pull request Jun 22, 2026
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.

Reduce repeated Cursor agent status parsing

2 participants