GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(projects): allow skipping initial worktree checkout by adambuchweitz · Pull Request #25506 · pingdotgg/t3code

Conversation

@adambuchweitz

@adambuchweitz adambuchweitz commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Large asset repositories can write gigabytes during worktree creation before external setup tooling can configure sparse checkout. Add a project-only “Skip initial worktree checkout” toggle in General settings, off by default, that passes --no-checkout through the shared GitManager creation path. PR worktrees use that same path; worktree registration, branch creation, and setup-command ordering and error handling stay intact.

This is a focused configuration option for the existing worktree capability. It defers initial population; it does not configure sparse checkout or add setup tooling.

Validation:

  • Added one parameterized integration test for absent, disabled, and enabled settings, asserting checkout contents, branch/HEAD, and worktree registration. The enabled case failed before the implementation.
  • GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=fetch.prune GIT_CONFIG_VALUE_0=false vp run check:changed HEAD: all 374 tests in the five relevant files, format, lint, both knip passes, and generated GraphQL checks pass. The command exits nonzero on unrelated type errors. The Git override avoids a remote-fetch fixture failure caused by this machine’s global fetch.prune=true; no Git config was changed.
  • Contracts and web typechecks pass. Server typechecking is blocked by existing Effect diagnostics in the applied Home branch; the affected-package check also reports existing diagnostics in client-runtime speech tests.

UI before/after images are pending explicit browser approval, as required by this checkout’s AGENTS.md. No browser verification has been performed.

Try it: configure an external setup command, select the project in Settings → General, enable the toggle, and create a new worktree thread. Disable it to restore normal initial checkout.

The setup command must work when the new directory contains only Git metadata. Repository-local scripts will not exist until the setup command populates them. The toggle is exposed in web/desktop settings; server-side behavior also applies to mobile and agent requests.

Implemented with GPT-6.1 Sol through the Codex harness.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adambuchweitz
feat(projects): allow skipping initial worktree checkout
85fd4e4
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Oct 26, 2026
@adambuchweitz adambuchweitz closed this Oct 26, 2026
@mikeohuo mikeohuo mentioned this pull request Oct 29, 2026
feat(server): t3.json can name sparse-checkout patterns for new worktrees #26820
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@adambuchweitz
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.