Skip to content

upgrade csb to latest and update git utils #2449

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Kitenite
Copy link
Contributor

@Kitenite Kitenite commented Jul 15, 2025

Description

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Refactor
  • Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes


Important

Upgrade @codesandbox/sdk to ^2.0.3, refactor git utilities, and add tests for parsing git outputs.

  • Dependencies:
    • Upgrade @codesandbox/sdk from ^1.1.6 to ^2.0.3 in package.json and bun.lock.
  • Refactoring:
    • Replace WebSocketSession with SandboxClient in file-operations.ts, index.tsx, file-watcher.ts, sandbox.ts, fork.ts, publish.ts, and manager.ts.
    • Refactor git utilities in git.ts to use command functions like statusCommand, logCommand, stageAllCommand, etc.
    • Remove isomorphic-git dependency and related functions.
  • Testing:
    • Add tests for parseGitLog and parseGitStatusOutput in git.test.ts to handle various cases including empty input, ANSI escape codes, and malformed lines.

This description was created by Ellipsis for 44a60f2. You can customize this summary. It will automatically update as commits are pushed.

Copy link

vercel bot commented Jul 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2025 1:49am
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2025 1:49am

Copy link

supabase bot commented Jul 15, 2025

This pull request has been ignored for the connected project wowaemfasoptxrdjhilu because there are no changes detected in apps/backend/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

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