You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(coderd/apidoc): regenerate API docs for the chat todo routes #54
Xum (AI agent) filed this on behalf of @ibetitsmike.
Problem
coderd/apidoc on main is stale for the chat todo routes that #36 added. coderd/fork_chat_todos.go annotates GET /api/v2/chats/fork/{chat}/todos and GET /api/v2/chats/fork/{chat}/todos/watch, but coderd/apidoc/swagger.json and docs.go at main (9a63b6ab78) have no chats/fork path and no ChatTodo* schema. A full apidoc regeneration on any branch adds about 140 lines for them (reported by the W2 coordinator, confirmed by the lead with git show origin/main:coderd/apidoc/swagger.json | grep chats/fork, no match).
Impact
The generated API reference omits the todo routes, and every fork PR that runs make gen picks up unrelated apidoc hunks, which authors then have to drop by hand.
Fix
Regenerate coderd/apidoc (and the generated API markdown if the routes are not skipped) on a branch from main and commit only the generated output. fork-ci.yaml does not regenerate apidoc, so a drift check there is a separate decision for triage.
Activity