Repository navigation
Studio logs: add the managed vLLM log family to the reviewed list - #19278
Merged
Merged
Conversation
…9167) #19167 added a vllm entry to MANAGED_ENGINE_LOG_FAMILIES while #19276 was landing the review gate for them, so test_a_new_family_cannot_be_added_unnoticed fails on main. The family is bounded: test_a_managed_engine_log_prunes_its_family_on_open[vllm] opens a vllm log past DEFAULT_KEEP and passes. Record the review.
Member
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
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.
Problem
studio/backend/tests/test_log_bounds.py::TestFamiliesAreBounded::test_a_new_family_cannot_be_added_unnoticedfails on main in the backend(Python 3.13, g-l)shard:Cause
#19167 (per-attempt logs for managed vLLM) added
"vllm": ("logs/vllm", "vllm-*.log")toMANAGED_ENGINE_LOG_FAMILIESwhile #19276 was adding the review gate for those families. Both merged, so the gate reports the new family as unreviewed. That is what the gate is for: a new log family is a decision about disk growth.Review
The family is bounded. #19167 writes vLLM attempt logs through
ManagedEngineLog.open, which prunes the family's glob after opening each file.test_a_managed_engine_log_prunes_its_family_on_open[vllm](added in #19276, parametrised overMANAGED_ENGINE_LOG_FAMILIES) runs that path:DEFAULT_KEEP + 5oldvllm-*.logfiles and opens a new one;DEFAULT_KEEPremain, that the new one is kept, and that the oldest is gone.It passes.
Fix
Add
vllmto the reviewed list intest_a_new_family_cannot_be_added_unnoticed.Verification
test_log_bounds.py: 7 passed. The cases includetest_a_managed_engine_log_prunes_its_family_on_open[sglang]and[vllm].test_a_new_family_cannot_be_added_unnoticedfails with the error above.