Skip to content

chore(gitignore): ignore worker/.wrangler/ cache#523

Merged
aaddrick merged 1 commit intomainfrom
chore/gitignore-wrangler-cache
Apr 25, 2026
Merged

chore(gitignore): ignore worker/.wrangler/ cache#523
aaddrick merged 1 commit intomainfrom
chore/gitignore-wrangler-cache

Conversation

@aaddrick
Copy link
Copy Markdown
Owner

Summary

  • Adds worker/.wrangler/ to .gitignore. It's a Cloudflare Wrangler tool cache (regenerated on demand by wrangler dev / wrangler deploy) and Cloudflare's official guidance is to gitignore it.
  • Stops git status from showing it as untracked after any local Worker work.

Test plan

  • Run wrangler dev or similar in worker/ → confirm git status stays clean
  • Confirm CI Worker deploy job still functions (the cache is local-only; CI builds fresh each run)

Generated with Claude Code
Co-Authored-By: Claude Opus 4.7 [email protected]
95% AI / 5% Human
Claude: identified the untracked artifact as a wrangler cache, added the .gitignore entry, deleted the local copy, opened the PR
Human: approved the cleanup approach (separate small PR rather than tacking onto #522)

The .wrangler/ directory is a Cloudflare Wrangler tool cache (local
dev sessions, build cache, simulated KV/D1 state) that's regenerated
on demand by `wrangler dev` / `wrangler deploy`. Cloudflare's docs
recommend gitignoring it. Currently shows up as untracked after any
local Worker work — quieting the `git status` noise.

Co-Authored-By: Claude <[email protected]>
@aaddrick aaddrick merged commit 944fc5a into main Apr 25, 2026
9 checks passed
@aaddrick aaddrick deleted the chore/gitignore-wrangler-cache branch April 25, 2026 12:44
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