Driftwatch

GitHub / GitHub REST API /

Breakingdirection flip: their tools call this safe

plan_type can now return "access"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects plan_type on copilot-seat-details reachable from 2 operations.

New value: access.

can now return "access"

Who is affected

Code that reads GitHub's copilot-seat-details objects, used by 2 GitHub operations.

Before and after

WhereBeforeAfter
copilot-seat-details.plan_type"business", "enterprise", "unknown""access", "business", "enterprise", "unknown"
copilot-organization-details.plan_type"business", "enterprise""access", "business", "enterprise"

Code that breaks

switch (response.plan_type) {
  // existing branches …
  // no branch for "access"
  default:
    throw new Error("unexpected plan_type");
}

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