Skip to content

Automatically name forked processes based on callers #633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jul 17, 2025

From time to time, we have reports of extra child processes being created by the runtime server. It's hard to figure out where these are coming from because the user's application could be the one creating them. It could also be Tapioca or some other add-on.

This PR patches fork to always name the forked process using the file path of the caller, so that we know where fork was called. While caller_locations is a bit expensive, I think it's worth the extra help in debugging. Please let me know if you agree.

Copy link
Member Author

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

@vinistock vinistock self-assigned this Jul 17, 2025
@vinistock vinistock added the enhancement New feature or request label Jul 17, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review July 17, 2025 16:05
@vinistock vinistock requested a review from a team as a code owner July 17, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant