Skip to content

Polish Blaxel soft debt from third-pass review - #48

Merged
Nabhag8848 merged 5 commits into
feat/blaxel-providerfrom
cursor/blaxel-soft-debt-7ca2
Nov 11, 2026
Merged

Nabhag8848 merged 5 commits into
feat/blaxel-providerfrom
cursor/blaxel-soft-debt-7ca2

Conversation

@Nabhag8848

Copy link
Copy Markdown
Member

Summary

Follow-up to the third-pass review on #44: clear the remaining soft-debt items and keep docs current.

  • Dead create options: drop BlaxelCreatePlan.options; create calls native.create(params) only (still does not forward @blaxel/core SandboxCreateOptions / native 1–50s create timeout).
  • Standby ownership: @blaxel/core types SandboxInstance.sandbox private; projectHandle copies wire runtime state onto a Kit-facing state at the native boundary so identity mapping never reaches into the private field.
  • Bare HTTP 409: status fallback → AlreadyExists in Go + TS; coded SANDBOX_DELETION_IN_PROGRESS still Conflict.
  • Go Stat: comment clarifies why GET uses a rebuilt lower FS client (LS always AsDirectory; no public Get/Stat on SandboxInstanceFSService).
  • Docs: provider READMEs, docs/*, and website Blaxel / lifecycle / errors / filesystem panes updated to match.

Test plan

  • GOWORK=off go test . in sdks/go/providers/blaxel
  • npm test -w @sandbox-kit/blaxel (68 tests)
  • CI green on this branch
Open in Web Open in Cursor 

Drop unused create-plan options, project TS runtime state at the native
boundary, map bare HTTP 409 to AlreadyExists, clarify Go Stat ownership,
and update provider/user docs to match.

Co-authored-by: Nabhag Motivaras <Nabhag8848@users.noreply.github.com>
@cursor cursor Bot mentioned this pull request Nov 10, 2026
6 tasks done
@Nabhag8848

Copy link
Copy Markdown
Member Author

@cursoragent explian with examples so we can also document this.

@cursor

cursor Bot commented Nov 11, 2026

Copy link
Copy Markdown

You need to increase your spend limit or enable usage-based billing to run background agents. Go to Cursor

Nabhag8848 and others added 4 commits November 11, 2026 12:11
Scope bare 409 AlreadyExists to create, return real delete state with wait polling, and close Go/TS gaps that broke kind- and field-based app code.

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop wait polling; a successful DELETE is reported as Deleted even when Blaxel finishes removal asynchronously.

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop the 60s completion-hold policy for one native process wait, and report file Stat from a single ls path without parent listing.

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop builder-facing wording across guides, examples, and provider READMEs, and have TypeScript Stat use filesystem GET so file metadata matches Go.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Nabhag8848
Nabhag8848 merged commit cb9260c into feat/blaxel-provider Nov 11, 2026
3 checks passed
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