mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-14 04:12:08 +00:00
The view, merge, and close handlers each repeated the same ~25-line prologue: open the run reader, load state, unwrap the stored record, parse owner/repo with the host check, and load GitHub creds. Move it into `load_pull_request_github_context` so each handler keeps only the work that's unique to it. Net -31 lines with no behavior change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||