fabro/docs/reference
Bryan Helmkamp f8e5192fb3
fix(pr): address review feedback on PR refactor
- Return the existing PullRequestRecord on 409 from POST /runs/{id}/pull_request
  so structured clients can recover the URL/number without a follow-up call.
  The response now includes both the error envelope and a pull_request field
  (same shape precedent as /install/finish's leftover_env_keys).
- Add server tests for merge/close error paths: 404 no_stored_record, 400
  unsupported_host, 503 integration_unavailable, 400 invalid_merge_method, 502
  github_not_found.
- Add a dedicated regression test proving the PR handlers use the
  github_api_base_url captured at AppState construction, not a request-time
  env read (SSRF defense invariant from the plan).
- Add an upgrade hint on unstructured 404s from the new PR client methods so
  a new CLI against an old server sees "Upgrade the fabro server" instead of
  an opaque failure.
- Refresh the stale CLI docs paragraph so it describes server-side GitHub
  credentials, matching the post-refactor reality.
- Regenerate the TypeScript API client (had fallen behind the prior OpenAPI
  schema additions) and add PullRequestRecord to ErrorResponse as an optional
  field for the 409 case.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 20:34:18 -04:00
..
acknowledgements.mdx docs: rename Arc to Fabro throughout docs 2026-03-12 10:53:44 -04:00
architecture.mdx feat(auth): tighten server auth surface with single origin 2026-04-21 23:38:31 -04:00
cli.mdx fix(pr): address review feedback on PR refactor 2026-04-23 20:34:18 -04:00
dot-language.mdx feat(template): unify workflow and config template syntax 2026-04-11 10:58:50 -04:00
run-directory.mdx feat(cli): rename store dump to dump 2026-04-23 07:48:03 -04:00
sdk.mdx feat: embed fabro spa and align interruption semantics 2026-04-08 14:43:44 -04:00
shell-completions.mdx Add fabro completion subcommand for shell completions 2026-03-30 16:17:38 -04:00
user-configuration.mdx feat(auth): tighten server auth surface with single origin 2026-04-21 23:38:31 -04:00
verifying-releases.mdx ci(release): attest SLSA build provenance for binaries and image 2026-04-18 15:05:32 -04:00