Skip to content

fix: use timestamped local-dev dirs to avoid SIGKILL on macOS#807

Merged
fengmk2 merged 1 commit intomainfrom
fix-bootstrap-cli-on-local
Mar 12, 2026
Merged

fix: use timestamped local-dev dirs to avoid SIGKILL on macOS#807
fengmk2 merged 1 commit intomainfrom
fix-bootstrap-cli-on-local

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Mar 12, 2026

On macOS, overwriting a Mach-O binary in-place (same inode) while
it's running causes the kernel's code signature cache to become stale,
resulting in SIGKILL (exit 137) for new processes exec'd from that inode.

Use local-dev-<timestamp> directories instead of a fixed local-dev
so each pnpm bootstrap-cli installs to a fresh path with new inodes.
Old local-dev directories are cleaned up before each install.

On macOS, overwriting a Mach-O binary in-place (same inode) while
it's running causes the kernel's code signature cache to become stale,
resulting in SIGKILL (exit 137) for new processes exec'd from that inode.

Use `local-dev-<timestamp>` directories instead of a fixed `local-dev`
so each `pnpm bootstrap-cli` installs to a fresh path with new inodes.
Old local-dev directories are cleaned up before each install.
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 12, 2026

Deploy Preview for viteplus-staging canceled.

Name Link
🔨 Latest commit eef253f
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-staging/deploys/69b2f178a6b6710008e4d146

Copy link
Copy Markdown
Member Author

fengmk2 commented Mar 12, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 self-assigned this Mar 12, 2026
@fengmk2 fengmk2 marked this pull request as ready for review March 12, 2026 17:02
Copy link
Copy Markdown
Member

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@fengmk2 fengmk2 merged commit d844f71 into main Mar 12, 2026
22 checks passed
Copy link
Copy Markdown
Member Author

fengmk2 commented Mar 12, 2026

Merge activity

@fengmk2 fengmk2 deleted the fix-bootstrap-cli-on-local branch March 12, 2026 23:23
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.

2 participants