Skip to content

Commit d53ae30

Browse files
chore: remove dead port configuration code, mark deprecated / ignored in the API (#8195)
1 parent 8b8eda2 commit d53ae30

6 files changed

Lines changed: 2 additions & 16 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: 117
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-0568973e19e8af9fa953b2ded109ab2b69e76e90e2b74f33617dbf7092e26274.yml
3-
openapi_spec_hash: 10ba804ce69510d7985e05c77d0ffcf6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-b56067b06cdf0eb4150f81d8f53e46d9c79b8cbecba6f8c0ee82f798d8cd2447.yml
3+
openapi_spec_hash: 4e0020f255cd31baa79227a5888e1eac
44
config_hash: de99cfce88e2d1f02246dc6c2f43bc6c

src/resources/shared.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,6 @@ export interface LaunchParameters {
199199
*/
200200
architecture?: 'x86_64' | 'arm64' | null;
201201

202-
/**
203-
* A list of ports to make available on the Devbox. Only ports made available will
204-
* be surfaced to create tunnels via the 'createTunnel' API.
205-
*/
206-
available_ports?: Array<number> | null;
207-
208202
/**
209203
* Custom CPU cores. Must be 0.5, 1, or a multiple of 2. Max is 16.
210204
*/

tests/api-resources/benchmarks.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ describe('resource benchmarks', () => {
197197
launchParameters: {
198198
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
199199
architecture: 'x86_64',
200-
available_ports: [0],
201200
custom_cpu_cores: 0,
202201
custom_disk_size: 0,
203202
custom_gb_memory: 0,

tests/api-resources/blueprints.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ describe('resource blueprints', () => {
4040
launch_parameters: {
4141
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
4242
architecture: 'x86_64',
43-
available_ports: [0],
4443
custom_cpu_cores: 0,
4544
custom_disk_size: 0,
4645
custom_gb_memory: 0,
@@ -184,7 +183,6 @@ describe('resource blueprints', () => {
184183
launch_parameters: {
185184
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
186185
architecture: 'x86_64',
187-
available_ports: [0],
188186
custom_cpu_cores: 0,
189187
custom_disk_size: 0,
190188
custom_gb_memory: 0,
@@ -283,7 +281,6 @@ describe('resource blueprints', () => {
283281
launch_parameters: {
284282
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
285283
architecture: 'x86_64',
286-
available_ports: [0],
287284
custom_cpu_cores: 0,
288285
custom_disk_size: 0,
289286
custom_gb_memory: 0,

tests/api-resources/devboxes/devboxes.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ describe('resource devboxes', () => {
5050
launch_parameters: {
5151
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
5252
architecture: 'x86_64',
53-
available_ports: [0],
5453
custom_cpu_cores: 0,
5554
custom_disk_size: 0,
5655
custom_gb_memory: 0,

tests/api-resources/scenarios/scenarios.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ describe('resource scenarios', () => {
6262
launch_parameters: {
6363
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
6464
architecture: 'x86_64',
65-
available_ports: [0],
6665
custom_cpu_cores: 0,
6766
custom_disk_size: 0,
6867
custom_gb_memory: 0,
@@ -132,7 +131,6 @@ describe('resource scenarios', () => {
132131
launch_parameters: {
133132
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
134133
architecture: 'x86_64',
135-
available_ports: [0],
136134
custom_cpu_cores: 0,
137135
custom_disk_size: 0,
138136
custom_gb_memory: 0,
@@ -283,7 +281,6 @@ describe('resource scenarios', () => {
283281
launchParameters: {
284282
after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
285283
architecture: 'x86_64',
286-
available_ports: [0],
287284
custom_cpu_cores: 0,
288285
custom_disk_size: 0,
289286
custom_gb_memory: 0,

0 commit comments

Comments
 (0)