Skip to content

shutdown/close doesn't fully reset API state #1374

Description

@toddbaert

The spec (requirement 1.6.2) says shutdown MUST reset all API state, removing hooks, event handlers, and providers. There's also a pending clarification to explicitly include evaluation context and transaction context propagators (open-feature/spec#375).

Right now, close() only shuts down providers but doesn't clear or reset them. clearProviders() resets providers to no-op but doesn't touch hooks, event handlers, evaluation context, or transaction context propagators. Neither function fully satisfies 1.6.2.

Found this while doing a cross-SDK audit for Python 1.0 readiness.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions