Files
codex/codex-rs
ningyi-oai abb3701f4c Refresh workspace Git status before sending WebSocket turn frames (#65158)
## Why

A background Git scan can finish during WebSocket connection setup.
The generation frame previously used the earlier metadata snapshot,
so it could omit Git status that was already available when it was sent.

## What changed

Pick up same-turn Git results before building the generation frame,
without waiting for the scan. Handshake headers and prewarm frames use
the initial snapshot. Keep the earlier workspace snapshot if the refresh
would exceed the metadata size limit where the earlier one fit, or
displace a Git remote URL that would otherwise fit.

## Testing

Add regression coverage for Git status arriving during the handshake,
which request kinds can refresh, and remote URL retention at the
metadata size boundary.

GitOrigin-RevId: 942eeb8d5ee16756803ce3a5021d186a47fb9f0c
2026-12-02 03:47:42 +00:00
..
…
…
…
…