Skip to content

fix(worker): restrict wrangler writes and warn on shared secrets - #848

Open
unohee wants to merge 1 commit into
mainfrom
wt/t_7e7c2ef9
Open

unohee wants to merge 1 commit into
mainfrom
wt/t_7e7c2ef9

Conversation

@unohee

@unohee unohee commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove Wrangler directories from worker writable roots.
  • Warn during worktree creation when sharedPaths contains .env*, *.pem, .key, or credentials paths.
  • Document how to opt a path out of worker worktrees.

Verification

  • npm test -- --maxWorkers=2 src/support/osSandbox.test.ts src/support/sharedPathDetection.test.ts
  • npm run lint
  • npm run typecheck
  • npm run build

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