Skip to content

[packages/sandbox] improve timeout values and hour format#150

Merged
marc-vercel merged 1 commit intomainfrom
fix-timeout-hour-format
Apr 16, 2026
Merged

[packages/sandbox] improve timeout values and hour format#150
marc-vercel merged 1 commit intomainfrom
fix-timeout-hour-format

Conversation

@marc-vercel
Copy link
Copy Markdown
Collaborator

@marc-vercel marc-vercel commented Apr 16, 2026

Fix the timeout examples so that we do not introduce 1h because it exceeds hobby limits. Now the example is just 5m or 30m.

Also, fix how we show the timeout. Before, we rounded the timeout to the closes unit (in his case 1 hour):

❯ sandbox list
ID                                 STATUS    CREATED         MEMORY     VCPUS   RUNTIME   TIMEOUT     SNAPSHOT
sbx_MGhwG22sB5zWNiPtGcvDsUUeN7GY   running   6 minutes ago   4,096 MB   2       node24    in 1 hour   -       
sbx_tk00HLr2SZvXzjcXT24wJ4zshsCY   running   8 minutes ago   4,096 MB   2       node24    in 1 hour   - 

Now, we show the exact timeout value:

❯ sandbox list
ID                                 STATUS    CREATED         MEMORY     VCPUS   RUNTIME   TIMEOUT         SNAPSHOT
sbx_MGhwG22sB5zWNiPtGcvDsUUeN7GY   running   7 minutes ago   4,096 MB   2       node24    in 53 minutes   -       
sbx_tk00HLr2SZvXzjcXT24wJ4zshsCY   running   8 minutes ago   4,096 MB   2       node24    in 52 minutes   -  

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sandbox-sdk Ready Ready Preview, Comment Apr 16, 2026 2:36pm

@marc-vercel marc-vercel marked this pull request as ready for review April 16, 2026 14:37
@marc-vercel marc-vercel merged commit a6394a4 into main Apr 16, 2026
14 checks passed
@marc-vercel marc-vercel deleted the fix-timeout-hour-format branch April 16, 2026 14:54
@github-actions github-actions bot mentioned this pull request Apr 16, 2026
marc-vercel added a commit that referenced this pull request Apr 17, 2026
Fix the timeout examples so that we do not introduce `1h` because it
exceeds hobby limits. Now the example is just `5m` or `30m`.

Also, fix how we show the timeout. Before, we rounded the timeout to the
closes unit (in his case 1 hour):

```
❯ sandbox list
ID                                 STATUS    CREATED         MEMORY     VCPUS   RUNTIME   TIMEOUT     SNAPSHOT
sbx_MGhwG22sB5zWNiPtGcvDsUUeN7GY   running   6 minutes ago   4,096 MB   2       node24    in 1 hour   -       
sbx_tk00HLr2SZvXzjcXT24wJ4zshsCY   running   8 minutes ago   4,096 MB   2       node24    in 1 hour   - 
```

Now, we show the exact timeout value:

```
❯ sandbox list
ID                                 STATUS    CREATED         MEMORY     VCPUS   RUNTIME   TIMEOUT         SNAPSHOT
sbx_MGhwG22sB5zWNiPtGcvDsUUeN7GY   running   7 minutes ago   4,096 MB   2       node24    in 53 minutes   -       
sbx_tk00HLr2SZvXzjcXT24wJ4zshsCY   running   8 minutes ago   4,096 MB   2       node24    in 52 minutes   -  
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants