fabro/lib/crates/fabro-server
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
tests/it Merge remote-tracking branch 'origin/main' 2026-04-23 08:34:44 -04:00
build.rs feat(cli): surface debug build profile in version output 2026-04-18 09:44:54 -04:00
Cargo.toml fix: server-side settings authority + unit tests that never hit live S3 2026-04-22 23:15:56 -04:00