From 260c7f83a7d45d6acd963a6686ac3a0e82ad5a3c Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Tue, 24 Oct 2023 11:57:46 -0300 Subject: [PATCH] fix: add stale state to provider state diagram Signed-off-by: Federico Bond --- specification/sections/02-providers.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/sections/02-providers.md b/specification/sections/02-providers.md index 41e6f37a..f0497bff 100644 --- a/specification/sections/02-providers.md +++ b/specification/sections/02-providers.md @@ -190,7 +190,7 @@ class MyProvider implements Provider { #### Requirement 2.4.2 -> The `provider` **MAY** define a `status` field/accessor which indicates the readiness of the provider, with possible values `NOT_READY`, `READY`, or `ERROR`. +> The `provider` **MAY** define a `status` field/accessor which indicates the readiness of the provider, with possible values `NOT_READY`, `READY`, `STALE`, or `ERROR`. Providers without this field can be assumed to be ready immediately. @@ -206,6 +206,9 @@ stateDiagram-v2 NOT_READY --> READY READY --> ERROR ERROR --> READY + READY --> STALE + STALE --> READY + STALE --> ERROR ``` see [provider status](../types.md#provider-status)