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.
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.