mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## Why Setting or clearing a thread goal could reconcile an already indexed rollout and overwrite SQLite-only thread metadata, including the thread preview. ## What changed Skip rollout reconciliation when SQLite already references the same existing rollout and its session metadata matches the requested thread. Continue reconciling when the SQLite row is missing or the stored rollout is invalid so goal mutations can still repair thread metadata. ## Testing Add coverage that verifies goal set and clear preserve SQLite previews, and that goal set restores a deleted SQLite thread row. GitOrigin-RevId: cf19cef98559fc67182ac7430e4e50ed2eed83f3