Skip to content
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

update version 0.0.9 #7

Merged
merged 5 commits into from
Dec 20, 2024
Merged

update version 0.0.9 #7

merged 5 commits into from
Dec 20, 2024

Conversation

CompuIves
Copy link
Member

@CompuIves CompuIves commented Dec 20, 2024

:happybox: New week, new CodeSandbox SDK update! v0.0.9

Small note: the SDK is open source!

This week we've been focused on speeding up fork & resume time. A lot of request time was spent on services calling each-other, so we've optimized these requests. Thanks to this, we have reduced VM clone (sandbox.create()) time from 3s to 1.3s. There is still more that we can do, and I'm convinced that we can get it below 1 second in the new year.

We've also introduced some minor QoL changes:

  • fs/writeFile will now create parent directory of the file if create: true is given. This allows you to write many files at once by calling write in parallel.
  • Snapshot builder CLI has some improvements:
    • We now support creating snapshots without health checks
    • We now show the id of the sandbox in prograss
    • We will not try to reuse sandbox ids when building from same directory, it's too flaky

Next up is working on performance, Sessions API and Snapshot Tags (which will enable global scheduling). We're super excited to bring this, and many other improvements in the new year! Happy new year! 🎆

Finally, if you have feedback, let us know!!

@CompuIves CompuIves merged commit 59755b8 into main Dec 20, 2024
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