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

# Record Issue Build Upstream

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

## 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-upstream`
- Auth: none declared

The builder read the code and the cause is in one of Marc's services.

`tools/rooster_worker/drain.py`'s `FILE-UPSTREAM:` marker lands here.
NOT a failure and NOT a pull request: the issue leaves the build queue,
is tagged for the named service, and is filed to that project on Marc's
GitLab through the same `issues_service.file_upstream` a self-filed
finding uses -- so Marc is told, and the reporter sees "waiting on
Marc", by machinery that already exists. See
`issues_service.record_build_upstream` for why this door is needed
(ISS-541) and what it deliberately does not charge.

422 for a service key the registry does not know: the drain charges
that as an ordinary failed attempt so the next builder is told the
exact name that was wrong.

## Path parameters

- `issue_id` string, uuid, required

## Request body

- BuildUpstreamRequest
  - `service` string, required
  - `reason` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[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)
