Skip to content

Commit 663d63d

Browse files
authored
Remove resource exhasted scopes for namespace shard and execution (#654)
**Why?** After internal discussions, we decided not to add these new scopes and rely on the cause enum for more granular resolution. **Breaking changes** Yes, but the version of the API that includes these enum values has never been released.
1 parent 8a7c220 commit 663d63d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

buf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ breaking:
1313
- WIRE_JSON
1414
ignore:
1515
- google
16+
- temporal/api/enums/v1/failed_cause.proto
1617
lint:
1718
use:
1819
- DEFAULT

temporal/api/enums/v1/failed_cause.proto

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,5 @@ enum ResourceExhaustedScope {
131131
RESOURCE_EXHAUSTED_SCOPE_NAMESPACE = 1;
132132
// Exhausted resource is a namespace-level resource.
133133
RESOURCE_EXHAUSTED_SCOPE_SYSTEM = 2;
134-
// Exhausted resource is a namespace-level, shard-level resource.
135-
RESOURCE_EXHAUSTED_SCOPE_NAMESPACE_SHARD = 3;
136-
// Exhausted resource is an execution-level resource.
137-
RESOURCE_EXHAUSTED_SCOPE_EXECUTION = 4;
138134
}
139135

0 commit comments

Comments
 (0)