Before submitting
Area
apps/server
Steps to reproduce
- Have staged and untracked changes.
- Make commit-message generation fail, such as by using a signed-out provider.
- Click Commit.
Expected behavior
No commit is created and the existing staging is unchanged.
Actual behavior
The commit flow runs git reset / git add -A before generating the message. If generation fails, the index stays changed.
Impact
Medium
Version or commit
main @ 2d156a8
Environment
Any Git repository; provider failure is required to trigger the unsafe exit path.
Workaround
Restore the intended staging manually before the next commit.
Before submitting
Area
apps/server
Steps to reproduce
Expected behavior
No commit is created and the existing staging is unchanged.
Actual behavior
The commit flow runs
git reset/git add -Abefore generating the message. If generation fails, the index stays changed.Impact
Medium
Version or commit
main @ 2d156a8
Environment
Any Git repository; provider failure is required to trigger the unsafe exit path.
Workaround
Restore the intended staging manually before the next commit.