Skip to content

Clone from snapshot#582

Merged
haydenbleasel merged 9 commits intomainfrom
snapshot
Feb 22, 2026
Merged

Clone from snapshot#582
haydenbleasel merged 9 commits intomainfrom
snapshot

Conversation

@haydenbleasel
Copy link
Owner

@haydenbleasel haydenbleasel commented Feb 22, 2026

This pull request updates the sandbox setup and dependency installation steps to leverage a pre-configured snapshot, streamlining the environment initialization process and reducing redundant configuration. The main improvements are the switch to a snapshot-based sandbox, removal of manual Git and global tool setup, and simplification of dependency installation.

Sandbox initialization improvements:

  • The create-sandbox.ts step now uses a pre-configured snapshot for environment setup, eliminating the need for manual Git user configuration and global tool installation. The repository is cloned using the authenticated URL after snapshot creation.

Git configuration simplification:

  • The configure-git.ts step removes manual configuration of user.name, user.email, and core.hooksPath, as these are already set in the snapshot. Only the remote URL is updated per run. [1] [2]

Dependency installation simplification:

  • The install-dependencies.ts step removes installation of global tools (ni, claude-code, and package managers), as these are pre-installed in the snapshot. Now, only project dependencies are installed using ni.

Note

Medium Risk
Changes the sandbox bootstrap path (snapshot + manual clone) and git/dep setup used by automated workflows; failures would break PR review/lint automation though scope is contained to sandbox orchestration.

Overview
Switches linting/PR-review workflows to create sandboxes from a pre-baked snapshot, then explicitly git clone the target repo into the sandbox instead of having Sandbox.create pull from Git.

Simplifies per-run setup by removing global tool installation from installDependencies and dropping git user configuration from configureGit (now just sets authenticated origin and forces local hooks off). Docs are updated to describe the snapshot environment, and the lockfile bumps the CLI/docs toolchain versions.

Written by Cursor Bugbot for commit a498cea. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link

changeset-bot bot commented Feb 22, 2026

⚠️ No Changeset found

Latest commit: a498cea

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Feb 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ultracite-app Ready Ready Preview, Comment Feb 22, 2026 2:50am
ultracite-jfuu Ready Ready Preview, Comment Feb 22, 2026 2:50am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ultracite-web Ignored Ignored Feb 22, 2026 2:50am

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@haydenbleasel haydenbleasel merged commit ca24a22 into main Feb 22, 2026
20 checks passed
@haydenbleasel haydenbleasel deleted the snapshot branch February 22, 2026 02:57
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