-
Notifications
You must be signed in to change notification settings - Fork 0
feat: update POST /api/sandboxes to use command execution #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sweetmantech
merged 13 commits into
test
from
sweetmantech/myc-4124-api-filetree-update-route-post-appapisandboxesroutets
Feb 3, 2026
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a35dc10
Fix React Server Components CVE vulnerabilities (#194)
vercel[bot] 85b66ea
feat: update POST /api/sandboxes to use command execution
sweetmantech 192917b
fix: use correct source parameter for snapshot in Sandbox.create
sweetmantech 7a0f2a7
test: update triggerRunSandboxCommand tests to use command payload
sweetmantech 279d6c4
refactor: use CreateSandboxParams from @vercel/sandbox SDK
sweetmantech ea3ada1
fix: handle union type for CreateSandboxParams
sweetmantech 50272cc
fix: simplify createSandbox to spread defaults before params
sweetmantech 056b7fe
fix: handle trigger failure gracefully and always return response
sweetmantech 42dbea4
debug: add extensive logging to trace request flow
sweetmantech 5af7b37
chore: remove debug logging
sweetmantech f6af33a
refactor: rename selectAccountSnapshot.ts to selectAccountSnapshots.ts
sweetmantech 190bd83
refactor: rename function to selectAccountSnapshots and return array
sweetmantech 7f8fa65
refactor: use Tables type from Supabase schema for account_snapshots
sweetmantech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Document
runIdas optional.createSandboxPostHandleromitsrunIdwhen the trigger fails, but the docs imply it’s always present. Please update the response docs to clarify it’s optional (or may benull) on trigger failure.Doc tweak
🤖 Prompt for AI Agents