Skip to content

perf(timeline): cache derived timeline data#82

Merged
tyulyukov merged 1 commit intomainfrom
feature/timeline-cache
May 1, 2026
Merged

perf(timeline): cache derived timeline data#82
tyulyukov merged 1 commit intomainfrom
feature/timeline-cache

Conversation

@tyulyukov
Copy link
Copy Markdown
Owner

Summary

  • Cache derived work log, timeline row, and timeline entry computations to avoid recomputing the same projections on unchanged inputs.
  • Scope timeline derivation to the latest turn where applicable, reducing unnecessary iteration over unrelated activities.
  • Stabilize MessagesTimeline remount and scroll state when switching threads without forcing a full component reset.
  • Update chat view selectors to read thread shells and rate-limit activity data more directly across environments.

Testing

  • Not run (PR description only).
  • bun fmt
  • bun lint
  • bun typecheck
  • Relevant bun run test suites for timeline/session derivation behavior

- memoize work log, timeline entry, and row derivations
- preserve timeline scroll state when switching threads
- use thread shells and rate-limit activity selection across environments
@github-actions github-actions Bot added the size:L label May 1, 2026
@tyulyukov tyulyukov merged commit e55bcce into main May 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant