Skip to content

Conversation

@bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented May 24, 2025

I discovered that if I ran codex <PROMPT> in a cwd that was not a Git repo, Codex did not automatically run <PROMPT> after I accepted the Git warning. It appears that we were not managing the AppState transition correctly, so this fixes the bug and ensures the Codex session does not start until the user accepts the Git warning.

In particular, we now create the ChatWidget lazily and store it in the AppState::Chat variant.

@bolinfest bolinfest merged commit 6b5b184 into main May 24, 2025
9 checks passed
@bolinfest bolinfest deleted the pr1105 branch May 24, 2025 15:33
@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2025
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