---
title: "Record Issue Build Unreachable"
method: POST
path: "/api/rooster/issues/{issue_id}/build-unreachable"
tags: ["rooster"]
---

# Record Issue Build Unreachable

`POST /api/rooster/issues/{issue_id}/build-unreachable`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/rooster/issues/{issue_id}/build-unreachable`
- Auth: none declared

`tools/rooster_worker/drain.py` calls this instead of
`/build-harness-failed` when the build seat itself could not be
reached AT ALL for this attempt -- not "ran and could not fix it", not
"our own machinery broke mid-run", but "nobody answered". Frederick,
2026-08-11: "the issue just stays filed, and Rooster keeps trying to
get it filed until the Mac Studio is back online... no different than
if a developer was sick with the flu for a week."

See `issues_service.record_build_unreachable` for the full contract:
this does NOT spend a build attempt and has NO remediation ceiling --
unlike a harness failure, unreachability is never evidence anything is
broken, so it is never a countdown to a self-filed defect, a card, or
a DM. It only ever changes `build_unreachable_since`/`_detail`, which
`GET` reads of the issue already carry (see `_issue_to_dict`) so a
person can see "queued, seat offline since ..." on the row itself.

## Path parameters

- `issue_id` string, uuid, required

## Request body

- BuildUnreachableRequest
  - `detail` string
  - `pr_url` string, nullable
  - `saved_work` string, nullable
  - `provider_refused` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-02** `0a574ee511ff`: 1 info
  - added the new optional request property `provider_refused`

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/rooster/issues/:issue_id/build-unreachable/post.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
