Skip to content

fix: shared_jobs sparse checkout excludes nix flake files#391

Merged
nhorton merged 1 commit intomainfrom
worktree-fix-shared-jobs-nix-flake
Apr 20, 2026
Merged

fix: shared_jobs sparse checkout excludes nix flake files#391
nhorton merged 1 commit intomainfrom
worktree-fix-shared-jobs-nix-flake

Conversation

@nhorton
Copy link
Copy Markdown
Contributor

@nhorton nhorton commented Apr 20, 2026

Summary

  • Switches the sync_shared_jobs sparse clone from --sparse --cone to --no-checkout --no-cone mode
  • Ensures only library/jobs/** is checked out, preventing root-level files (flake.nix, flake.lock) from being materialized
  • Applies the fix to both clone locations in the step instructions

Test plan

  • Run the shared_jobs workflow in a test repo and verify .deepwork/upstream/ contains only library/jobs/ contents
  • Verify no flake.nix or flake.lock appears in the sparse checkout

🤖 Generated with Claude Code

Use --no-checkout + --no-cone mode so that only library/jobs/** is
checked out, preventing root-level files like flake.nix and flake.lock
from being materialized in the sparse clone.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nhorton nhorton requested a review from ncrmro April 20, 2026 19:43
@nhorton nhorton added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit 8f9f6ff Apr 20, 2026
5 checks passed
@nhorton nhorton deleted the worktree-fix-shared-jobs-nix-flake branch April 20, 2026 19:48
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