Skip to content

CL-5856: Return 422 when channel agent launch fails - #44

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-5856-channel-creation-422-on-launch-fail
Aug 10, 2026
Merged

CL-5856: Return 422 when channel agent launch fails#44
TheGreatAxios merged 2 commits into
mainfrom
cl-5856-channel-creation-422-on-launch-fail

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Catch agent launch failures during channel create and return 422 with agent_launch_failed instead of 500
  • Compensate minted channel tenant and delete channel settings so retries start clean
  • Add deleteChannelSettings on the chat store for that compensation path

Test plan

  • bun test packages/chat/test/routes.test.ts — 31 pass including new launch-failure case

Closes CL-5856

@TheGreatAxios
TheGreatAxios force-pushed the cl-5856-channel-creation-422-on-launch-fail branch 2 times, most recently from d58088e to db6c782 Compare August 9, 2026 23:59
@TheGreatAxios
TheGreatAxios force-pushed the cl-5856-channel-creation-422-on-launch-fail branch from db6c782 to 79c43f0 Compare August 10, 2026 00:15
@TheGreatAxios
TheGreatAxios merged commit 934b1fa into main Aug 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant