Skip to content

Do not specify provider when creating a sandbox - #257

Merged
dbmikus merged 1 commit into
mainfrom
dylan/no-provider-in-create
Jun 26, 2026
Merged

dbmikus merged 1 commit into
mainfrom
dylan/no-provider-in-create

Conversation

@dbmikus

@dbmikus dbmikus commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

The amika sandbox create remote path hardcoded Provider: "daytona" in the create request. With Daytona being sunset server-side, that hardcoded value is now rejected for new sandboxes once the server's default provider is switched away from Daytona (provider_not_supported / provider_not_enabled 400).

This drops the hardcoded provider from the request. The provider field is omitempty, so leaving it unset omits it from the request body entirely, letting the remote API fall back to its configured default provider (SANDBOX_PROVIDER).

Changes

  • Remove the hardcoded Provider: "daytona" from the remote create-sandbox request in go/cmd/amika/sandbox/sandbox_create.go.

Notes

Requires the server-side change that makes provider optional and resolves the configured default when omitted (gofixpoint/amika-mono#563). The local-docker --provider flag is unaffected; it governs the local create path only.

Don't specify a provider when creating a sandbox because we want to fall
back to using the API server's default provider. This way, if we make a
change to the provider, we don't need to update the CLI release.
@dbmikus
dbmikus merged commit 22dbdc6 into main Jun 26, 2026
1 check passed
@dbmikus
dbmikus deleted the dylan/no-provider-in-create branch June 26, 2026 01:08
dbmikus added a commit that referenced this pull request Jun 29, 2026
Release amika@v0.11.2.

Changes since amika@v0.11.1:
- Do not specify provider when creating a sandbox (#257)
dbmikus pushed a commit that referenced this pull request Oct 23, 2026
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 5.0.0 to 6.1.0.

## Release notes

Sourced from pnpm/action-setup's releases.

### v6.1.0

### What's Changed
- feat: support pnpm v12 by `@zkochan` in pnpm/action-setup#288

Full Changelog: pnpm/action-setup@v6.0.10...v6.1.0

### v6.0.10

### What's Changed
- docs(README): point users to the successor pnpm/setup action by `@BlackHole1` in pnpm/action-setup#282
- refactor: introduce restore keys for cache by `@SukkaW` in pnpm/action-setup#280
- ci: use pnpm 11 for `pr-check` by `@jamietanna` in pnpm/action-setup#284
- fix: update pnpm to v11.19.0 by `@jamietanna` in pnpm/action-setup#283
- docs: update README to include devEngines.packageManager by `@nemchik` in pnpm/action-setup#273

### New Contributors
- `@jamietanna` made their first contribution in pnpm/action-setup#284
- `@nemchik` made their first contribution in pnpm/action-setup#273

Full Changelog: pnpm/action-setup@v6...v6.0.10

### v6.0.9

### What's Changed
- fix: update pnpm to v11.7.0 by `@zkochan` in pnpm/action-setup#267

Full Changelog: pnpm/action-setup@v6...v6.0.9

### v6.0.8

### What's Changed
- docs(README): fix `cache_dependency_path` type by `@haines` in pnpm/action-setup#257
- fix: drop patchPnpmEnv so standalone+self-update works on Windows by `@zkochan` in pnpm/action-setup#258
- fix: update pnpm to 11.1.1 by `@mungodewar` in pnpm/action-setup#248

### New Contributors
- `@mungodewar` made their first contribution in pnpm/action-setup#248

Full Changelog: pnpm/action-setup@v6.0.7...v6.0.8

### v6.0.7

### What's Changed
- fix: honor devEngines.packageManager.onFail=error (#252) by `@zkochan` in pnpm/action-setup#254
- fix: restore inputs from state in post by `@haines` in pnpm/action-setup#255
- fix: self-update bootstrap to packageManager-pinned version (#233) by `@zkochan` in pnpm/action-setup#256

### New Contributors
- `@haines` made their first contribution in pnpm/action-setup#255

Full Changelog: pnpm/action-setup@v6.0.6...v6.0.7

... (truncated)

## Commits
- `ea17c68` feat: support pnpm v12 (#288)
- `0977fd9` docs: Update README to include devEngines.packageManager (#273)
- `48261ac` fix: update pnpm to v11.19.0 (#283)
- `75677f7` ci: use pnpm 11 for `pr-check` (#284)
- `769ae71` refactor: introduce restore keys for cache (#280)
- `6fed91f` docs(README): point users to the successor pnpm/setup action (#282)
- `0ebf471` fix: update pnpm to v11.7.0 (#267)
- `0e279bb` fix: update pnpm to 11.1.1 (#248)
- `3e83581` fix: drop patchPnpmEnv so standalone+self-update works on Windows (#258)
- `551b42e` docs(README): fix `cache_dependency_path` type (#257)
- Additional commits viewable in compare view
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