Skip to content

Refactor to avoid conditionals in get_updatable_engines_and_lock#945

Open
fzyzcjy wants to merge 1 commit intorollout_ft/27from
rollout_ft/28
Open

Refactor to avoid conditionals in get_updatable_engines_and_lock#945
fzyzcjy wants to merge 1 commit intorollout_ft/27from
rollout_ft/28

Conversation

@fzyzcjy
Copy link
Copy Markdown
Collaborator

@fzyzcjy fzyzcjy commented Apr 7, 2026

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the get_updatable_engines_and_lock method in rollout_manager.py to implement an early return pattern when no updatable server is available. This change simplifies the code by removing redundant conditional checks for the server instance. I have no feedback to provide.

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.

1 participant