Skip to content

fix: drop unmapped alchemy-effect vendor gitlink - #263

Draft
shuv1337 wants to merge 2 commits into
mainfrom
cursor/drop-unmapped-alchemy-gitlink-3a90
Draft

shuv1337 wants to merge 2 commits into
mainfrom
cursor/drop-unmapped-alchemy-gitlink-3a90

Conversation

@shuv1337

@shuv1337 shuv1337 commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

What Changed

Removes the unmapped gitlink at .repos/alchemy-effect/.vendor/alchemy (160000 c9f5e549) and teaches sync:repos to drop nested gitlinks after a subtree add or pull. Restores persist-credentials: false on the checkouts that dropped it only to avoid git submodule foreach dying on this pointer.

Fixes #253

Papercut pc_cf5a5bfa6330.

Why

git subtree copied alchemy-effect's .vendor/alchemy submodule pointer and did not promote its nested .gitmodules entry. This repo has no root .gitmodules, so git submodule status and git submodule foreach exit 128 with no submodule mapping found. Checkout clean on a persistent worktree uses that foreach and had to recreate the repository. Lean GitHub-hosted CI still passed because it clones into an empty workspace and had stopped setting persist-credentials: false.

Upstream marks that submodule update = none and describes it as a ~900MB reference-only checkout that even alchemy-effect CI skips. The parent repo vendors .repos/ as a subtree, so the pointer is removed rather than checked out or declared as a submodule.

UI Changes

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Verification

vp test run scripts/sync-reference-repos.test.ts — 13 passed. git submodule status and git submodule foreach now exit 0 in this checkout.

Open in Web Open in Cursor 

cursoragent and others added 2 commits October 4, 2026 08:01
pc_cf5a5bfa6330

The vendored alchemy-effect subtree recorded .vendor/alchemy as a
gitlink without a root .gitmodules entry. Checkout clean runs
git submodule foreach and exits 128, so a persistent self-hosted
worktree had to be recreated.

Remove the pointer instead of vendoring the upstream ~900MB
reference checkout or declaring a submodule. Restore
persist-credentials: false now that foreach can succeed, and strip
the same class of gitlink after subtree sync.

Co-authored-by: shuv <shuv1337@users.noreply.github.com>
The checkout regression reads the full index. execFileSync stops at
1MB, and the scripts typecheck rejects node:child_process.

Co-authored-by: shuv <shuv1337@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

Papercut: shuv2code lean CI succeeds but checkout reports a missing .gitmodules mapping for…

2 participants