FM-015 Time, State, and API Lifecycle

Deprecated Endpoint and Lifecycle Failures

Endpoints removed before consumers migrate, or retained past their announced retirement, with inadequate deprecation signaling.

Failure explanation

An endpoint is deprecated but the provider and consumers do not manage its lifecycle consistently. The provider may remove it before the announced date, fail to communicate the replacement, omit deprecation metadata, or keep it indefinitely without knowing whether it is still used. Consumers may ignore deprecation notices until production traffic breaks.

Example

The provider announces that /v1/invoices will be retired in 90 days, but the endpoint disappears after 30 days. A partner that planned a quarterly release cannot migrate in time.

How to test

  • Validate documented deprecation and sunset headers or metadata where used.
  • Check replacement documentation and migration compatibility.
  • Test old and new endpoints during the transition window.
  • Verify retirement behavior and that unsupported versions return clear responses.

Expected behavior

Deprecation dates, support windows, replacements, and retirement behavior are consistent with the published lifecycle policy. Tests should not assume one universal deprecation-header policy; validate the provider’s stated policy.

Runnable examples

Each example includes a broken server, a fixed server, an OpenAPI spec, and a clrsig scenario that detects the failure.