Skip to content

Keep incremental rendering with visualization context - #34217

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

Keep incremental rendering with visualization context#34217
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cd70d2ba052db822d474eba8619d04cedf4c0573

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 19, 2026

Copy link
Copy Markdown

Keep incremental rendering with visualization context

Why

Providing an inline visualization context forced every streamed Markdown update
to rerender the full response, even when the source contained no visualization
directives.

What changed

  • Preserve the stable rendered prefix when visualization context is available
    but no directive is present.
  • Continue using canonical full rendering when the source contains a
    visualization directive.

Testing

Added a regression test that verifies directive-free streams match full
rendering while advancing the stable source boundary.

## Why

Providing an inline visualization context forced every streamed Markdown update
to rerender the full response, even when the source contained no visualization
directives.

## What changed

- Preserve the stable rendered prefix when visualization context is available
  but no directive is present.
- Continue using canonical full rendering when the source contains a
  visualization directive.

## Testing

Added a regression test that verifies directive-free streams match full
rendering while advancing the stable source boundary.

GitOrigin-RevId: cd70d2ba052db822d474eba8619d04cedf4c0573
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/cd70d2ba052db822d474eba8619d04cedf4c0573 branch from 70cb1fb to 74bfbda Compare July 19, 2026 19:38
@copyberry
copyberry Bot merged commit 74bfbda into main Jul 19, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/cd70d2ba052db822d474eba8619d04cedf4c0573 branch July 19, 2026 19:39
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants