Skip to content

Remeasure dynamic cells in the transcript overlay - #34232

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/03e7166cb94d7353c9b89bff8abb3b7ccb84a6bb
Jul 19, 2026
Merged

Remeasure dynamic cells in the transcript overlay#34232
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/03e7166cb94d7353c9b89bff8abb3b7ccb84a6bb

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 19, 2026

Copy link
Copy Markdown

Remeasure dynamic cells in the transcript overlay

Why

The transcript overlay cached every committed cell's height. Cells whose content changes after insertion, such as refreshed status output or newly available visualizations, could outgrow that cached height and be clipped.

What changed

  • Let history cells declare whether their transcript height is stable, and remeasure dynamic cells on later overlay renders.
  • Preserve cached heights for stable cells when appending a committed cell instead of rebuilding all renderables.

Testing

  • Cover status output growing after a rate-limit refresh.
  • Cover a visualization link replacing its unavailable placeholder.
  • Verify that appending a cell preserves cached measurements for stable cells.
## Why

The transcript overlay cached every committed cell's height. Cells whose content changes after insertion, such as refreshed status output or newly available visualizations, could outgrow that cached height and be clipped.

## What changed

- Let history cells declare whether their transcript height is stable, and remeasure dynamic cells on later overlay renders.
- Preserve cached heights for stable cells when appending a committed cell instead of rebuilding all renderables.

## Testing

- Cover status output growing after a rate-limit refresh.
- Cover a visualization link replacing its unavailable placeholder.
- Verify that appending a cell preserves cached measurements for stable cells.

GitOrigin-RevId: 03e7166cb94d7353c9b89bff8abb3b7ccb84a6bb
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/03e7166cb94d7353c9b89bff8abb3b7ccb84a6bb branch from 237bee2 to a97ae65 Compare July 19, 2026 21:35
@copyberry
copyberry Bot merged commit a97ae65 into main Jul 19, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/03e7166cb94d7353c9b89bff8abb3b7ccb84a6bb branch July 19, 2026 21:36
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants