Skip to content

Share Go caches across worktrees without serializing lint - #15

Merged
meoyawn merged 2 commits into
masterfrom
codex/shared-worktree-caches
Sep 27, 2026
Merged

meoyawn merged 2 commits into
masterfrom
codex/shared-worktree-caches

Conversation

@meoyawn

@meoyawn meoyawn commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

Move golangci-lint data out of individual worktrees into ~/.cache/golangci-lint, and allow concurrent lint processes to share it without the global runner lock. Keep GOCACHE explicitly set through Moon to ~/.cache/go-build on macOS and Linux; stop storing temporary Go and linter files inside cache directories.

Update GitHub Actions cache paths and keys and document the same behavior for standalone and parent-workspace tasks.

Validation: the OASmith and Spaniel lint tasks passed concurrently in the Listenbox workspace. Resolved standalone and parent Moon tasks both use the expected shared cache paths; workflow YAML parsing and git diff --check passed.

@meoyawn
meoyawn merged commit 09af1d0 into master Sep 27, 2026
1 check passed
@meoyawn
meoyawn deleted the codex/shared-worktree-caches branch September 27, 2026 00:34
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