Skip to content

feat: implement disabled flag evaluation (reason=DISABLED) #1965

@jonathannorris

Description

@jonathannorris

Context

Today, evaluating a disabled flag in flagd returns an error (reason=ERROR, errorCode=FLAG_DISABLED). This conflicts with the OpenFeature spec, which defines DISABLED as a successful resolution reason, not an error. FLAG_DISABLED is also not a valid error code in either the OpenFeature spec or the OFREP evaluationFailure schema.

ADR: docs/architecture-decisions/disabled-flag-evaluation.md

Work

Notes

This is a breaking behavioral change — clients that branch on FLAG_DISABLED errors or HTTP 404 responses from OFREP single-flag evaluation will need to update. Ships as a minor version bump (flagd is pre-1.0). See the ADR for migration guidance.

The core evaluator and service layer changes must ship before the in-process provider updates so integrators see consistent behavior across all evaluation surfaces.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions