Driftwatch

GitHub / GitHub REST API /

Breaking

Response field allowed_custom_agents removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects POST /agents/repos/{owner}/{repo}/automations.

Who is affected

Code that reads POST /agents/repos/{owner}/{repo}/automations (allowed_custom_agents).

Before and after

WhereBeforeAfter
POST /agents/repos/{owner}/{repo}/automations · allowed_custom_agentspresentabsent
PATCH /agents/repos/{owner}/{repo}/automations/{automation_id} · allowed_custom_agentspresentabsent
GET /agents/repos/{owner}/{repo}/automations/{automation_id} · allowed_custom_agentspresentabsent

Code that breaks

// response.allowed_custom_agents is now undefined
const allowed_custom_agents = response.allowed_custom_agents;

Based on GitHub’s published API specification. How severity is decided.