Skip to content

Rewatch: ignore stale lock for unrelated process name#8316

Merged
cknitt merged 2 commits intomasterfrom
fix-rewatch-lock
Mar 30, 2026
Merged

Rewatch: ignore stale lock for unrelated process name#8316
cknitt merged 2 commits intomasterfrom
fix-rewatch-lock

Conversation

@cknitt
Copy link
Copy Markdown
Member

@cknitt cknitt commented Mar 27, 2026

Process ids can be re-used by the OS, therefore it can happen that an unrelated process is using the process id of a previous rewatch process, leading to false positives in the lockfile check.

In such a case, we should ignore the lockfile.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 27, 2026

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript@8316

@rescript/darwin-arm64

npm i https://pkg.pr.new/@rescript/darwin-arm64@8316

@rescript/darwin-x64

npm i https://pkg.pr.new/@rescript/darwin-x64@8316

@rescript/linux-arm64

npm i https://pkg.pr.new/@rescript/linux-arm64@8316

@rescript/linux-x64

npm i https://pkg.pr.new/@rescript/linux-x64@8316

@rescript/runtime

npm i https://pkg.pr.new/@rescript/runtime@8316

@rescript/win32-x64

npm i https://pkg.pr.new/@rescript/win32-x64@8316

commit: 9af95ef

@cknitt cknitt requested a review from nojaf March 30, 2026 07:00
Copy link
Copy Markdown
Member

@nojaf nojaf left a comment

Choose a reason for hiding this comment

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

Looks good from afar, can't say much about this.
If you needed a super thorough review, would be worth asking someone else but looks fine to me.

@cknitt
Copy link
Copy Markdown
Member Author

cknitt commented Mar 30, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@cknitt cknitt force-pushed the fix-rewatch-lock branch from 8c5d59e to 9af95ef Compare March 30, 2026 13:29
@cknitt cknitt merged commit 240eccd into master Mar 30, 2026
26 checks passed
@cknitt cknitt deleted the fix-rewatch-lock branch March 30, 2026 14:05
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