fabro/lib/packages/fabro-api-client
Bryan Helmkamp 0bf2dd30ef
refactor(server): collapse 409 conflict into standard ApiError
Replace hand-built 409 response that inlined {errors,pull_request} with
a regular ApiError::with_code(CONFLICT, ..., "pull_request_exists") and
drop the optional pull_request field that had been added to the
ErrorResponse OpenAPI schema solely to carry the existing record.

Clients receiving a 409 can GET /runs/{id}/pull_request to retrieve the
stored record when they need it — the detail string still includes the
existing html_url, which is the field most clients branch on.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 22:45:29 -04:00
..
src refactor(server): collapse 409 conflict into standard ApiError 2026-04-23 22:45:29 -04:00
openapitools.json Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
package.json Fix relative path in fabro-api-client generate script 2026-03-13 20:42:45 -04:00
tsconfig.json refactor(run-status): unify tagged lifecycle states 2026-04-22 17:15:13 -04:00