Skip to content

feat(sdk,docs): adding resize to the golang and ruby sdks#3588

Open
brunogrbavac wants to merge 4 commits intomainfrom
feat/resize-sdks
Open

feat(sdk,docs): adding resize to the golang and ruby sdks#3588
brunogrbavac wants to merge 4 commits intomainfrom
feat/resize-sdks

Conversation

@brunogrbavac
Copy link
Collaborator

Added resize methods to Go and Ruby SDKs, also generated all the API clients. Added a resize paragraph in the Sandboxes documentation.

Documentation

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

Copilot AI review requested due to automatic review settings February 1, 2026 14:05
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds resize functionality to the Go and Ruby SDKs, allowing users to dynamically adjust sandbox resources (CPU, memory, and disk) after creation. The changes include new resize methods in both SDKs, comprehensive documentation updates, and regenerated API clients to support the new resize operations.

Changes:

  • Added Resize and ResizeWithTimeout methods to the Go SDK with timeout handling and state polling
  • Added resize and wait_for_resize_complete methods to the Ruby SDK
  • Generated API clients for Go, Ruby, Python, and TypeScript to support the new resize endpoint and RESIZED state
  • Added documentation section explaining resize behavior for started vs stopped sandboxes

Reviewed changes

Copilot reviewed 23 out of 24 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
libs/sdk-go/pkg/daytona/sandbox.go Implements resize methods with timeout handling and state polling
libs/sdk-ruby/lib/daytona/sandbox.rb Implements resize method with resource validation
libs/toolbox-api-client-go/model_session_send_input_request.go Generated model for session input requests
libs/toolbox-api-client-go/api_process.go Generated API method for sending input to commands
libs/api-client-ruby/lib/daytona_api_client/models/resize_sandbox.rb Generated model for resize requests with validation
libs/api-client-ruby/lib/daytona_api_client/api/sandbox_api.rb Generated API method for resizing sandboxes
libs/api-client-/models/ Generated enum updates adding RESIZED/RESIZING states
examples//lifecycle/ Example code demonstrating resize functionality
apps/docs/src/content/docs/en/sandboxes.mdx Documentation for resize feature with usage examples

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings February 2, 2026 11:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 22 out of 23 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

… resize docs

Signed-off-by: Bruno Grbavac <bruno.grbavac@outlook.com>
Signed-off-by: Bruno Grbavac <bruno.grbavac@outlook.com>
Signed-off-by: Bruno Grbavac <bruno.grbavac@outlook.com>
Copilot AI review requested due to automatic review settings February 16, 2026 08:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…ing interval

Signed-off-by: Bruno Grbavac <bruno.grbavac@outlook.com>
Copilot AI review requested due to automatic review settings February 16, 2026 13:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@brunogrbavac brunogrbavac requested a review from MDzaja February 16, 2026 13:49
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.

1 participant