Skip to content

Conversation

@yitianlian
Copy link
Collaborator

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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".

Comment on lines 395 to 397
def simulate_crash(self):
logger.warning(f"Simulating crash on engine {self.server_host}:{self.server_port}...")
kill_process_tree(self.process.pid)

Choose a reason for hiding this comment

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

P2 Badge Guard simulate_crash when no local process exists

The new simulate_crash unconditionally dereferences self.process.pid, but self.process is only created in _init_normal; in --rollout-external mode (or any path where no local server process is launched), this attribute is never set. If CI enables fault injection in an external-engine setup, the Ray task will raise AttributeError instead of simulating a crash, which defeats the test and can break the rollout manager. Consider checking self.args.rollout_external (or self.process is not None) before calling kill_process_tree.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants