Files
kilocode/packages/opencode/test/kilocode/commit-message
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
..
2026-04-15 13:51:05 -03:00