Skip to content

Commit 8ac5cc5

Browse files
fix: TTL shutdown showed non-standard reason in devbox logs (#8636)
1 parent f59b88f commit 8ac5cc5

2 files changed

Lines changed: 5 additions & 3 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: 109
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-a1c7e69cbbf7a7cf63893358470cee52714633e6d31ce6dff2e7255c7445a1aa.yml
3-
openapi_spec_hash: a0e88c05a9b74c2bc9192bd7d94de3c0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-5a483f0dac23061ed86208a55bb901b4157b4e40b9011f057cb11b519a42cc01.yml
3+
openapi_spec_hash: f4c6b6b82e5a543d3a9e1f326c311b51
44
config_hash: ecb1ff09d29b565ed1452b5e0362e64d

src/runloop_api_client/types/devbox_view.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ class DevboxView(BaseModel):
113113
name: Optional[str] = None
114114
"""The name of the Devbox."""
115115

116-
shutdown_reason: Optional[Literal["api_shutdown", "keep_alive_timeout", "entrypoint_exit", "idle"]] = None
116+
shutdown_reason: Optional[
117+
Literal["api_shutdown", "keep_alive_timeout", "entrypoint_exit", "idle", "ttl_expired"]
118+
] = None
117119
"""
118120
The shutdown reason if the Devbox shutdown, if the Devbox has a 'shutdown'
119121
status.

0 commit comments

Comments
 (0)