feat: set process titles on env server and workers#1082
Merged
Conversation
…isibility
Adds setproctitle dependency and a set_proc_title utility to label
env server and worker processes as Verifiers::EnvServer and
Verifiers::EnvWorker{N}, making them identifiable in ps/htop.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ensures titles are visible immediately, before slow env loading. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
willccbb
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setproctitledependency andset_proc_titleutility toprocess_utils.pyVerifiers::EnvServerand worker processes asVerifiers::EnvWorker{N}ps,htop, andpstreefor easier debuggingCompanion to PrimeIntellect-ai/prime-rl#2159 which sets titles on all prime-rl entrypoints.
🤖 Generated with Claude Code
Note
Low Risk
Low risk: changes are limited to setting process titles and adding a small runtime dependency, with no impact on request handling or shutdown logic.
Overview
Adds the
setproctitledependency and a newset_proc_titlehelper inprocess_utilsto standardize process naming asVerifiers::{name}.The env server and each env worker now set their process titles at startup (e.g.,
Verifiers::EnvServer,Verifiers::EnvWorker{N}) to make spawned processes easier to identify inps/htop/pstree.Written by Cursor Bugbot for commit 53f8238. This will update automatically on new commits. Configure here.