Skip to content

Commit 139bef6

Browse files
feat(devbox): expose provisioning_tier=flex in API + SDKs (alpha) (#9700)
1 parent 0f68442 commit 139bef6

8 files changed

Lines changed: 24 additions & 18 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 120
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-22ab4a80734e5e3792b7287a1281280d52eff936be4d805011521a1b64e1998d.yml
3-
openapi_spec_hash: d109d3b797016fe7657935d55549cc31
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-8f05915b107d49f4a50f2d83abfa1d7233a685f1d85e02465a218fa5acb55ddd.yml
3+
openapi_spec_hash: 905fa27970b4b7201184df9c63eba3b9
44
config_hash: ed1fdd7c9f0a25647e16b602bad4ff2e

CHANGELOG.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# Changelog
22

3-
## 1.23.1 (2026-06-09)
4-
5-
Full Changelog: [v1.23.0...v1.23.1](https://github.com/runloopai/api-client-python/compare/v1.23.0...v1.23.1)
6-
7-
### Features
8-
9-
* **devbox:** add provisioning_tier (flex) to LaunchParameters (alpha) ([#808](https://github.com/runloopai/api-client-python/issues/808)) ([cb59e8b](https://github.com/runloopai/api-client-python/commit/cb59e8bcb4578a8abc8c31902a80ec491949310b))
10-
113
## 1.23.0 (2026-06-05)
124

135
Full Changelog: [v1.22.1...v1.23.0](https://github.com/runloopai/api-client-python/compare/v1.22.1...v1.23.0)

src/runloop_api_client/types/shared/launch_parameters.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,10 @@ class LaunchParameters(BaseModel):
7575
"""
7676

7777
provisioning_tier: Optional[Literal["standard", "flex"]] = None
78-
"""(Optional, Alpha) standard is default and flex is lazily provisioned and may be pre-empted.
79-
80-
This is an alpha feature and its behavior may change without notice.
8178
"""
82-
79+
(Optional, Alpha) standard is default and flex is lazily provisioned and may be
80+
pre-empted. This is an alpha feature and its behavior may change without notice.
81+
"""
8382
required_services: Optional[List[str]] = None
8483
"""A list of ContainerizedService names to be started when a Devbox is created.
8584

src/runloop_api_client/types/shared_params/launch_parameters.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,10 @@ class LaunchParameters(TypedDict, total=False):
7777
"""
7878

7979
provisioning_tier: Optional[Literal["standard", "flex"]]
80-
"""(Optional, Alpha) standard is default and flex is lazily provisioned and may be pre-empted.
81-
82-
This is an alpha feature and its behavior may change without notice.
8380
"""
84-
81+
(Optional, Alpha) standard is default and flex is lazily provisioned and may be
82+
pre-empted. This is an alpha feature and its behavior may change without notice.
83+
"""
8584
required_services: Optional[SequenceNotStr[str]]
8685
"""A list of ContainerizedService names to be started when a Devbox is created.
8786

tests/api_resources/test_benchmarks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ def test_method_start_run_with_all_params(self, client: Runloop) -> None:
314314
},
315315
},
316316
"network_policy_id": "network_policy_id",
317+
"provisioning_tier": "standard",
317318
"required_services": ["string"],
318319
"resource_size_request": "X_SMALL",
319320
"user_parameters": {
@@ -703,6 +704,7 @@ async def test_method_start_run_with_all_params(self, async_client: AsyncRunloop
703704
},
704705
},
705706
"network_policy_id": "network_policy_id",
707+
"provisioning_tier": "standard",
706708
"required_services": ["string"],
707709
"resource_size_request": "X_SMALL",
708710
"user_parameters": {

tests/api_resources/test_blueprints.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None:
8080
},
8181
},
8282
"network_policy_id": "network_policy_id",
83+
"provisioning_tier": "standard",
8384
"required_services": ["string"],
8485
"resource_size_request": "X_SMALL",
8586
"user_parameters": {
@@ -309,6 +310,7 @@ def test_method_create_from_inspection_with_all_params(self, client: Runloop) ->
309310
},
310311
},
311312
"network_policy_id": "network_policy_id",
313+
"provisioning_tier": "standard",
312314
"required_services": ["string"],
313315
"resource_size_request": "X_SMALL",
314316
"user_parameters": {
@@ -482,6 +484,7 @@ def test_method_preview_with_all_params(self, client: Runloop) -> None:
482484
},
483485
},
484486
"network_policy_id": "network_policy_id",
487+
"provisioning_tier": "standard",
485488
"required_services": ["string"],
486489
"resource_size_request": "X_SMALL",
487490
"user_parameters": {
@@ -598,6 +601,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -
598601
},
599602
},
600603
"network_policy_id": "network_policy_id",
604+
"provisioning_tier": "standard",
601605
"required_services": ["string"],
602606
"resource_size_request": "X_SMALL",
603607
"user_parameters": {
@@ -827,6 +831,7 @@ async def test_method_create_from_inspection_with_all_params(self, async_client:
827831
},
828832
},
829833
"network_policy_id": "network_policy_id",
834+
"provisioning_tier": "standard",
830835
"required_services": ["string"],
831836
"resource_size_request": "X_SMALL",
832837
"user_parameters": {
@@ -1000,6 +1005,7 @@ async def test_method_preview_with_all_params(self, async_client: AsyncRunloop)
10001005
},
10011006
},
10021007
"network_policy_id": "network_policy_id",
1008+
"provisioning_tier": "standard",
10031009
"required_services": ["string"],
10041010
"resource_size_request": "X_SMALL",
10051011
"user_parameters": {

tests/api_resources/test_devboxes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None:
101101
},
102102
},
103103
"network_policy_id": "network_policy_id",
104+
"provisioning_tier": "standard",
104105
"required_services": ["string"],
105106
"resource_size_request": "X_SMALL",
106107
"user_parameters": {
@@ -1770,6 +1771,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -
17701771
},
17711772
},
17721773
"network_policy_id": "network_policy_id",
1774+
"provisioning_tier": "standard",
17731775
"required_services": ["string"],
17741776
"resource_size_request": "X_SMALL",
17751777
"user_parameters": {

tests/api_resources/test_scenarios.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None:
9393
},
9494
},
9595
"network_policy_id": "network_policy_id",
96+
"provisioning_tier": "standard",
9697
"required_services": ["string"],
9798
"resource_size_request": "X_SMALL",
9899
"user_parameters": {
@@ -242,6 +243,7 @@ def test_method_update_with_all_params(self, client: Runloop) -> None:
242243
},
243244
},
244245
"network_policy_id": "network_policy_id",
246+
"provisioning_tier": "standard",
245247
"required_services": ["string"],
246248
"resource_size_request": "X_SMALL",
247249
"user_parameters": {
@@ -464,6 +466,7 @@ def test_method_start_run_with_all_params(self, client: Runloop) -> None:
464466
},
465467
},
466468
"network_policy_id": "network_policy_id",
469+
"provisioning_tier": "standard",
467470
"required_services": ["string"],
468471
"resource_size_request": "X_SMALL",
469472
"user_parameters": {
@@ -586,6 +589,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -
586589
},
587590
},
588591
"network_policy_id": "network_policy_id",
592+
"provisioning_tier": "standard",
589593
"required_services": ["string"],
590594
"resource_size_request": "X_SMALL",
591595
"user_parameters": {
@@ -735,6 +739,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncRunloop) -
735739
},
736740
},
737741
"network_policy_id": "network_policy_id",
742+
"provisioning_tier": "standard",
738743
"required_services": ["string"],
739744
"resource_size_request": "X_SMALL",
740745
"user_parameters": {
@@ -957,6 +962,7 @@ async def test_method_start_run_with_all_params(self, async_client: AsyncRunloop
957962
},
958963
},
959964
"network_policy_id": "network_policy_id",
965+
"provisioning_tier": "standard",
960966
"required_services": ["string"],
961967
"resource_size_request": "X_SMALL",
962968
"user_parameters": {

0 commit comments

Comments
 (0)