Skip to content

upgrade csb to latest and update git utils#2449

Closed
Kitenite wants to merge 3 commits into
mainfrom
feat/upgrade-csb-3
Closed

upgrade csb to latest and update git utils#2449
Kitenite wants to merge 3 commits into
mainfrom
feat/upgrade-csb-3

Conversation

@Kitenite

@Kitenite Kitenite commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

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.

@vercel

vercel Bot commented Jul 15, 2025

Copy link
Copy Markdown

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

@supabase

supabase Bot commented Jul 15, 2025

Copy link
Copy Markdown

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 ↗︎.

Comment thread packages/git/src/git.ts Outdated
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