Files
kilocode/.changeset/commit-message-no-changes-error.md
T
Marius 9fc1a1d94c fix(cli): return a typed 422 for commit-message with no changes (#12033)
A plain Error thrown when no changes are found became an untyped
defect through EffectBridge.fromPromise, which the error middleware
masked as a generic 500 "Unexpected server error". Declare a
CommitMessageNoChangesError (Schema.ErrorClass, httpApiStatus 422)
on the endpoint and translate the domain NoChangesError defect into
that typed failure, so the real message surfaces. The extension now
shows it directly instead of prepending a redundant prefix.
2026-07-08 12:08:37 +02:00

294 B

@kilocode/cli, kilo-code
@kilocode/cli kilo-code
patch patch

Show a clear "No changes found to generate a commit message for" error instead of a generic "Unexpected server error" when there is nothing to commit. The endpoint now returns a typed 422, and the extension surfaces the real message directly.