Driftwatch

Datadog / Datadog API v2 /

Breakingdirection flip: their tools call this safe

value can now return "ci_pipelines", "ci_tests"

What changed

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

Affects this value on OrgConnectionTypeEnum reachable from 3 operations.

New values: ci_pipelines, ci_tests.

can now return "ci_pipelines", "ci_tests"

Who is affected

Code that reads Datadog's OrgConnectionTypeEnum objects, used by 3 Datadog operations.

Before and after

WhereBeforeAfter
OrgConnectionTypeEnum"audit", "logs", "metrics""audit", "ci_pipelines", "ci_tests", "logs", "metrics"

Code that breaks

switch (response) {
  // existing branches …
  // no branch for "ci_pipelines"
  // no branch for "ci_tests"
  default:
    throw new Error("unexpected value");
}

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