agent-ecosystem/test/renderer/components
Mike 4c359d5185 perf(team): precompute ActivityTimeline session anchors once per render
Replace the per-item backward scan that located the most recent session
anchor with a single forward pass via useMemo.

Before: for every timeline item the render loop walked backward until
it found a lead-thought anchor, so N items produced up to N * N anchor
lookups on every render pass.

After: a single O(n) sweep builds previousSessionAnchorByIndex; render
time lookup is O(1). getItemSessionAnchorId is hoisted to module scope
so it is not recreated per render.

Behavior is unchanged. The three existing separator tests still pass,
and four new cases cover three-session transitions, long runs of
non-anchor items between thought groups, consecutive same-session
thoughts, and single-item lists.
2026-04-19 09:00:59 +05:00
..
cli fix(extensions): avoid success banner when no visible providers remain 2026-04-17 20:28:35 +03:00
common fix(ci): resolve branch lint errors 2026-04-18 12:32:44 +03:00
extensions chore(merge): sync dev into spike/team-snapshot-split-plan 2026-04-18 11:32:29 +03:00
runtime feat(extensions): add provider-aware runtime adapters 2026-04-17 10:08:13 +03:00
sidebar fix(sidebar): soften unread task highlight 2026-04-18 18:32:40 +03:00
team perf(team): precompute ActivityTimeline session anchors once per render 2026-04-19 09:00:59 +05:00
fileLink.test.ts feat: update task comment and message length limits to use centralized constant 2026-03-07 01:04:00 +02:00
renderOutput.test.ts feat: improve MCP tool input/output rendering 2026-02-19 19:09:53 -03:00
reviewDiffSafety.test.ts fix(team): deduplicate permission_request processing across all entry paths 2026-03-28 20:32:42 +02:00