Skip to content

Commit 0bdfec1

Browse files
committed
HYPERFLEET-1017 - fix: revert minItems to 2 during Ready→Reconciled transition
Keep minItems at 2 for conditions arrays while Ready is still present alongside Reconciled. Bumping to 3 would break clients during the transition period. minItems can be set to 3 once Ready is fully removed.
1 parent b2448af commit 0bdfec1

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [1.0.12] - 2026-05-11
1111

12-
### Fixed
12+
### Changed
1313

14-
- Set `minItems: 3` for conditions arrays in cluster and nodepool status models (HYPERFLEET-1017)
14+
- Kept `minItems: 2` for conditions arrays during Ready → Reconciled transition period (HYPERFLEET-1017)
15+
- Documented `aliases.tsp` symlink convention in CLAUDE.md
16+
- Added changelog update instructions to CLAUDE.md
1517

1618
## [1.0.11] - 2026-05-07
1719

models/clusters/model.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ model ClusterStatus {
3939
*
4040
* These conditions are present immediately upon resource creation.
4141
*/
42-
@minItems(3)
42+
@minItems(2)
4343
conditions: ResourceCondition[];
4444
}
4545

models/nodepools/model.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ model NodePoolStatus {
3636
*
3737
* These conditions are present immediately upon resource creation.
3838
*/
39-
@minItems(3)
39+
@minItems(2)
4040
conditions: ResourceCondition[];
4141
}
4242

schemas/core/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ components:
13051305
type: array
13061306
items:
13071307
$ref: '#/components/schemas/ResourceCondition'
1308-
minItems: 3
1308+
minItems: 2
13091309
description: |-
13101310
List of status conditions for the cluster.
13111311
@@ -1671,7 +1671,7 @@ components:
16711671
type: array
16721672
items:
16731673
$ref: '#/components/schemas/ResourceCondition'
1674-
minItems: 3
1674+
minItems: 2
16751675
description: |-
16761676
List of status conditions for the nodepool.
16771677

schemas/gcp/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ components:
12571257
type: array
12581258
items:
12591259
$ref: '#/components/schemas/ResourceCondition'
1260-
minItems: 3
1260+
minItems: 2
12611261
description: |-
12621262
List of status conditions for the cluster.
12631263
@@ -1748,7 +1748,7 @@ components:
17481748
type: array
17491749
items:
17501750
$ref: '#/components/schemas/ResourceCondition'
1751-
minItems: 3
1751+
minItems: 2
17521752
description: |-
17531753
List of status conditions for the nodepool.
17541754

0 commit comments

Comments
 (0)