Skip to content

Studio logs: add the managed vLLM log family to the reviewed list - #19278

Merged
danielhanchen merged 1 commit into
mainfrom
ci/log-bounds-review-vllm
Nov 24, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci/log-bounds-review-vllm

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Problem

studio/backend/tests/test_log_bounds.py::TestFamiliesAreBounded::test_a_new_family_cannot_be_added_unnoticed fails on main in the backend (Python 3.13, g-l) shard:

AssertionError: new log families:
    vllm

Cause

#19167 (per-attempt logs for managed vLLM) added "vllm": ("logs/vllm", "vllm-*.log") to MANAGED_ENGINE_LOG_FAMILIES while #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 over MANAGED_ENGINE_LOG_FAMILIES) runs that path:

  • it fills a temp studio home with DEFAULT_KEEP + 5 old vllm-*.log files and opens a new one;
  • it checks that exactly DEFAULT_KEEP remain, that the new one is kept, and that the oldest is gone.

It passes.

Fix

Add vllm to the reviewed list in test_a_new_family_cannot_be_added_unnoticed.

Verification

  • test_log_bounds.py: 7 passed. The cases include test_a_managed_engine_log_prunes_its_family_on_open[sglang] and [vllm].
  • On main, test_a_new_family_cannot_be_added_unnoticed fails with the error above.

…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.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T14:33:07.891905Z 1cc932e Manual 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 1cc932e194

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

@danielhanchen
danielhanchen merged commit 3e93897 into main Nov 24, 2026
1 of 19 checks passed
@danielhanchen
danielhanchen deleted the ci/log-bounds-review-vllm branch November 24, 2026 14:35
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