Skip to content

ci(docs): move the generated-tables determinism gate out of link checking - #14135

Merged
dagil-nvidia merged 6 commits into
mainfrom
dagil-nvidia/scope-docs-link-check
Sep 16, 2026
Merged

dagil-nvidia merged 6 commits into
mainfrom
dagil-nvidia/scope-docs-link-check

Conversation

@dagil-nvidia

@dagil-nvidia dagil-nvidia commented Sep 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

docs-link-check.yml's broken-links-check job opened with a 65-line byte-for-byte determinism
gate on gen_llms_tables.py: two runs under hostile TZ, LC_ALL, PYTHONHASHSEED, and
SOURCE_DATE_EPOCH, asserting identical output, a match against the committed bytes, and LF-only
line endings. It has nothing to do with link checking, and it lived in a different file from the
two pre-commit hooks that govern the same generator.

This extracts it to docs/fern/scripts/check_llms_tables_determinism.sh and registers it as a
local pre-commit hook beside gen-llms-tables and gen-llms-tables-check. All three now sit
together and all three run on the same trigger set. Because the pre-commit job in pre-merge.yml
runs --all-files, CI coverage is unchanged.

As a script it also runs locally, which the inline workflow step never could. That required one
behavior fix: the inline step used sed -i 's/$/\r/', which is GNU-only, since BSD sed requires an
argument after -i and fails on macOS. The CRLF corruption now goes through python3, with one
interpreter per tree rather than one per file.

No change to what either job in docs-link-check.yml checks.

Validation

  • Clean tree passes. Measured at roughly 4 seconds, against the pre-commit job's 3-minute budget.
  • Corrupting content inside a managed span (driver-floors in compatibility.mdx) makes the hook
    fail; restoring it makes the hook pass. Verified through pre-commit run, not only by invoking
    the script directly.
  • Corrupting content outside a managed span does not fail the gate. That is correct and worth
    recording: this gate governs generated spans, not hand-authored prose that happens to share the
    file.
  • docs-link-check.yml and .pre-commit-config.yaml both still parse; check_action_pins.py
    passes; targeted pre-commit run --files over all three changed paths is green.

Summary by CodeRabbit

  • Documentation

    • Improved validation for generated documentation tables.
    • Checks now confirm consistent output across different environments and ensure committed documentation stays synchronized.
  • Chores

    • Added an automated pre-commit check to detect documentation-generation inconsistencies and formatting issues before changes are submitted.

…king

The `broken-links-check` job in docs-link-check.yml opened with a 65-line
byte-for-byte determinism gate on gen_llms_tables.py. It has nothing to do with
link checking, and it sat in a different file from the two hooks that govern the
same generator.

Extract it to docs/fern/scripts/check_llms_tables_determinism.sh and register it
as a pre-commit hook beside gen-llms-tables and gen-llms-tables-check. As a
script it also runs locally, which the inline workflow step never could.

One behavior fix was required to make local runs work. The inline step used
`sed -i 's/$/\r/'`, which is GNU-only: BSD sed requires an argument after -i, so
it fails on macOS. The CRLF corruption now goes through python3, one interpreter
per tree rather than one per file.

Validation:
- Clean tree passes, ~4s measured, against the pre-commit job's 3-minute budget.
- Corrupting content inside a managed span (driver-floors) makes the hook fail;
  restoring makes it pass. Verified through `pre-commit run`, not just the
  script directly.
- Corrupting content OUTSIDE a managed span does not fail, which is correct: the
  gate governs generated spans, not hand-authored prose in the same file.
- docs-link-check.yml and .pre-commit-config.yaml both still parse; the two jobs
  in that workflow are unchanged otherwise.

Signed-off-by: Dan Gil <[email protected]>
@dagil-nvidia
dagil-nvidia requested review from a team as code owners September 1, 2026 20:38
@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test d0632da

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-01T20:42:33.525854Z d0632da PR opened
ℹ️ 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.

@github-actions github-actions Bot added ci Issues/PRs that reference CI build/test documentation Improvements or additions to documentation actions labels Sep 1, 2026

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

Copy link
Copy Markdown

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.

Reviewed commit: d0632da444

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

@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a1c8b311-0c9f-4e90-b1e1-fab6db4a3db4

📥 Commits

Reviewing files that changed from the base of the PR and between 2ace83b and d0632da.

📒 Files selected for processing (3)
  • .github/workflows/docs-link-check.yml
  • .pre-commit-config.yaml
  • docs/fern/scripts/check_llms_tables_determinism.sh
💤 Files with no reviewable changes (1)
  • .github/workflows/docs-link-check.yml

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


Walkthrough

The release-docs determinism workflow step was removed. A reusable shell script now validates generated documentation tables, and a pre-commit hook runs it for relevant changes.

Changes

Generated documentation determinism

Layer / File(s) Summary
Add deterministic documentation validation
.pre-commit-config.yaml, docs/fern/scripts/check_llms_tables_determinism.sh, .github/workflows/docs-link-check.yml
The pre-commit configuration invokes the new validation script for relevant files. The script regenerates tables under varied environments, compares outputs, checks committed files, and rejects CRLF endings. The previous workflow determinism step was removed.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to d0632

This change preserves the existing documentation validation while making it reusable locally and correcting macOS-incompatible line-ending handling; no actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description gives a detailed and relevant summary of the implementation and validation, but it does not use the required template sections and omits the required Related Issues section. Add the required Overview, Details, Where should the reviewer start?, and Related Issues sections. In Related Issues, either provide the applicable issue reference or confirm that no related issue exists.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely states the main change: moving the generated-tables determinism gate out of link checking.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI

Comment @coderabbitai help to get the list of available commands.

Comment thread .pre-commit-config.yaml Resolved
@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

- Drop the preliminary `gen_llms_tables.py --check`. The committed-bytes
  comparison later in the script already catches every stale marker-spliced
  page, verified by re-running the in-span drift test with it removed.
- Trim the script header to purpose and usage; the relocation history is in
  the commit log, not the file.
- Reduce the pre-commit comment to the one non-obvious fact, why the trigger
  pattern includes the harness itself, and drop the transient timing figure.

The two-line SPDX header is left as-is: all three sibling scripts under
docs/fern/scripts use exactly this form.

Signed-off-by: Dan Gil <[email protected]>
@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test 73de1d3

The batching comment described what the here-document does rather than why it
has to. The portability constraint that does matter, GNU versus BSD `sed -i`,
is stated above it and stays.

Signed-off-by: Dan Gil <[email protected]>
@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test 108cb3d

The committed-bytes comparison duplicated the gen-llms-tables-check hook, which
runs `gen_llms_tables.py --check` over an overlapping trigger set. Verified by
stripping the block and drifting a managed span: gen-llms-tables-check still
fails, so suite-level coverage is unchanged.

The two asset outputs were never covered by it anyway. They are untracked and
absent from a clean checkout, so `[ -f "$output" ]` skipped them; temp-vs-temp
and the CR scan are what actually cover those.

This script now owns reproducibility only. Recorded that split in the header,
including the dependency it creates: if gen-llms-tables-check is removed or its
`files:` pattern narrowed, staleness stops being caught anywhere.

Signed-off-by: Dan Gil <[email protected]>
@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test 418a8c7

@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test

@dmitry-tokarev-nv dmitry-tokarev-nv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed at ccbb6d18. Intent, read from the diff and the PR body: lift the 65-line byte-for-byte determinism gate on gen_llms_tables.py out of docs-link-check.yml's broken-links-check job into docs/fern/scripts/check_llms_tables_determinism.sh, and register it as a local pre-commit hook beside gen-llms-tables and gen-llms-tables-check.

Moving a gate is exactly where gates quietly stop gating, so I ran that question rather than read it. Everything below is measured on macOS ARM64 in a worktree at ccbb6d18.

The gate still fails when it should. Mutation battery, each mutation applied and reverted individually:

Mutation determinism script gen_llms_tables.py --check
none (clean tree) exit 0, ~6-7 s, tree unchanged exit 0
driver-floors span in compatibility.mdx drifted exit 0 (by design) exit 1, compatibility.mdx: STALE
build_block made PYTHONHASHSEED-dependent exit 1, 5x ::error ...not byte-identical across runs -
build_block emitting CRLF exit 1, 5x ::error ...contains CR bytes -

Through the hook rather than the script directly, pre-commit run gen-llms-tables-determinism --all-files is Passed on the clean tree and Failed with a readable diff on the non-determinism mutation. It also runs under macOS's system bash 3.2, not only Homebrew bash 5.3, so the "it runs locally now" claim holds on a stock Mac.

Nothing became green-by-absence. On this PR's check rollup, isRequired reports Check for broken markdown links - where the gate used to live - as not required. pre-commit is not required either, but pre-merge-status-check is, its needs: includes pre-commit, and its body asserts every need's result is success or skipped. pre-commit carries no if:, so it always runs. The move takes the gate from a job nothing depended on to one feeding a required check.

Coverage is preserved, and the freshness half was already there. gen-llms-tables-check exists unchanged at the base commit e75b404e; gen_llms_tables.py --check is a byte comparison of the regenerated pages against the committed bytes, which is what the deleted block did. The two asset outputs really are untracked and absent from a clean checkout, so the old [ -f "$output" ] guard always skipped them. gen_llms_tables.py imports stdlib only, so the new hook's files: pattern does cover the generator's inputs as its comment claims.

Blast radius. pre-commit/[email protected] defaults extra_args to --all-files, 16 tracked files match the new files: pattern, and there is no fail_fast in the config - so this hook now runs on every PR in the repo whatever that PR touches, and runs even when earlier hooks fail. The cost is in the noise: the pre-commit job took 113 s at this head against timeout-minutes: 3, and twelve recent Pre Merge runs land at 71-116 s.

PR-body claims spot-checked. BSD sed -i 's/$/\r/' does fail on macOS - sed: 1: "...": extra characters at the end of d command, exit 1, file byte-identical afterwards - and the replacement python3 form applies CRLF correctly.

#14122 (ci(docs): generate the Kubernetes API reference at publish time) touches .github/workflows/fern-docs.yml and docs/fern/scripts/tests/test_api_reference_regressions.py. No file overlap with this PR and no reference to gen_llms_tables.py, .pre-commit-config.yaml or docs-link-check.yml. The two do not interact.

One P3 inline.

@dmitry-tokarev-nv dmitry-tokarev-nv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving at ccbb6d18. No commits of mine on this branch.

What carried the decision, all measured rather than read:

  • The relocated gate still goes red. Injecting a PYTHONHASHSEED dependency into build_block fails it with 5 not byte-identical across runs errors; injecting CRLF fails it with 5 contains CR bytes errors; the clean tree passes in ~6-7 s and leaves the worktree untouched. Through the hook itself, pre-commit run gen-llms-tables-determinism --all-files is Passed clean and Failed on the mutation.
  • Nothing is green-by-absence. The gate's old home, Check for broken markdown links, is not a required check per isRequired; its new home, pre-commit, is a needs: of the required pre-merge-status-check, which asserts every need is success or skipped, and pre-commit has no if:. Strictly more enforcement than before.
  • The freshness half it stopped owning is genuinely owned elsewhere: gen-llms-tables-check is present unchanged at the base commit, and drifting the driver-floors span makes gen_llms_tables.py --check exit 1 while the determinism script correctly exits 0.
  • No timeout risk: 113 s for the pre-commit job at this head against timeout-minutes: 3, with twelve recent Pre Merge runs at 71-116 s.

Outstanding: one P3 - the success line still says current, which the script no longer checks. Non-blocking, with a verified one-line suggestion attached.

Deliberately not raised: the files: regex admits gen_llms_tables.sh and check_llms_tables_determinism.py, neither of which exists, and the block gains a stray blank line before check-component-imports. Both cosmetic, both noted rather than filed.

The script's header says freshness is not checked here, and the commit that
narrowed its scope removed the committed-bytes comparison that made the claim
true. The success message kept saying "current". With a generated span drifted
so gen_llms_tables.py --check exits 1, this script still exits 0 and printed a
line asserting the page was current.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Dan Gil <[email protected]>
@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test 0efc308

1 similar comment
@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test 0efc308

@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

/ok to test 0efc308

@harryskim harryskim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Docs-only review. No blockers — approving.

Verified against a local clone:

  • CI coverage is unchanged, as claimed. The pre-commit job in pre-merge.yml runs on every pull_request with no path filter and no if:, and pre-commit/action runs --all-files, so the new hook's files: pattern is bypassed in CI exactly as the old unconditional workflow step was.
  • Dropping the committed-bytes comparison costs nothing. docs/fern/assets/releases.json and releases-atom.xml are already untracked (generated at publish time by fern-docs.yml --assets-only), so the old [ -f "$output" ] guard was already falsy for them. For the five .mdx pages, gen-llms-tables-check covers freshness, and its pattern does match releases/release-history.mdx. The script header's "freshness is NOT checked here" note is accurate.
  • The BSD sed fix is correct, and the Python form is strictly better. sed -i 's/$/\\r/' appended \\r unconditionally, turning an existing \\r\\n into \\r\\r\\n; the Python normalizes to LF first. Filtering is identical (*.mdx only).
  • Mode 100755 + shebang satisfies both shebang/executable hooks; the SPDX header matches the sibling .sh scripts; no shellcheck hook exists, so nothing new lints it; docs-link-check.yml still needs its Set up Python step for detect_broken_links.py.

One non-blocking suggestion, for now or later: the outputs array is a hand-maintained third copy of the generator's own PAGES and ASSET_OUTPUTS registries. Add a page to PAGES and this list silently misses it — the gate keeps passing while covering less, which is the failure mode a reproducibility gate is least able to signal. A --list-outputs flag consumed via mapfile -t outputs < <(python3 docs/fern/scripts/gen_llms_tables.py --list-outputs) would close it. Pre-existing rather than a regression, but this PR's whole argument is that these pieces belong in one place.

Nits: scripts/(gen_llms_tables|check_llms_tables_determinism)\\.(py|sh) cross-matches two filenames that don't exist; the blank line after the new hook is the only one in that local list; and check_reference.sh, the "one-command gate for the Reference pages," doesn't pick up the new script.

@dagil-nvidia
dagil-nvidia merged commit fd997d6 into main Sep 16, 2026
221 checks passed
@dagil-nvidia
dagil-nvidia deleted the dagil-nvidia/scope-docs-link-check branch September 16, 2026 19:19
aung-san-i added a commit to aung-san-i/dynamo that referenced this pull request Sep 28, 2026
* feat: KV DC Relay file based source mode (ai-dynamo#14807)

Add live-reloaded file sources for KV DC Relay namespace selection and expose readiness and source revisions through /engine/state.

Preserve applied membership on invalid updates, coalesce discovery refreshes, and isolate native integration tests in forked processes.

Signed-off-by: Nikita Sukharev <[email protected]>

* feat(sglang): expose cross-encoder reranking through /v1/rerank (ai-dynamo#14032)

Signed-off-by: xianlubird <[email protected]>

* fix(profiler): explain inaccessible model paths during trust checks (ai-dynamo#14860)

Signed-off-by: hongkuanz <[email protected]>

* fix(sglang): sync discovery from native pause state (ai-dynamo#13951)

Signed-off-by: William Arnold <[email protected]>
Co-authored-by: Zero Rains <[email protected]>

* feat(recipes): add Solar Open2 250B NVFP4 aggregated and disaggregated recipes for B200 (ai-dynamo#14376)

Signed-off-by: Sandhya Rani Narravula <[email protected]>

* refactor(agents): session_id reader from AgentContext + forward to vLLM (ai-dynamo#14428)

Signed-off-by: Karen Chung <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(discovery): allow served aliases for the same model source (ai-dynamo#14857)

Signed-off-by: jthomson04 <[email protected]>

* fix(router): reject unknown explicit worker targets (ai-dynamo#14858)

Signed-off-by: jthomson04 <[email protected]>

* fix(xpu): stabilize XPU test workers (ai-dynamo#14539)

Signed-off-by: Wenxin Zhang <[email protected]>
Signed-off-by: VincyZhang <[email protected]>

* feat(mm-routing): add Nemotron 3 Nano Omni video routing (ai-dynamo#14653)

Signed-off-by: krishung5 <[email protected]>

* fix(sglang): validate diffusion input_reference and bound media fetches (ai-dynamo#14435)

The sglang image-diffusion and video-generation handlers passed the
client-supplied input_reference through to the generator's image_path after only
a non-empty check. Validate it first, and for remote references materialize it
locally before the generator sees it, so the generator is always handed a
trusted local path. This brings the sglang diffusion path in line with the
vLLM/omni and trtllm backends, which already validate the same field.

Behavior change: local I2I/I2V references now require DYN_MM_LOCAL_PATH to be
set to the allowed directory; previously any path was accepted.

common/http:

- validate_media_reference() returns a plain filesystem path for local
  references; local_media_reference() is an async context manager that fetches a
  remote one through fetch_bytes(policy=...), which revalidates every redirect
  hop, into a temp file removed on exit. data: is rejected -- a URI is not a path.
- fetch_bytes() gained max_bytes, streaming through collect_capped at an explicit
  read granularity so the cap is an allocation bound and not only a rejection: a
  128 MiB-decoded gzip body against the 64 MiB cap peaks at 68,032,217 bytes
  rather than the whole decompressed body. Content-Length is caller-controlled
  and absent when chunked, and aiohttp's read(n) returns at most n bytes, so
  neither a header check nor a single capped read suffices. Defaults to None,
  leaving existing callers unchanged.
- DYN_MM_MAX_FILE_SIZE_MB makes that cap operator-tunable, in megabytes, as the
  SGLang arg it replaces was. Read per call; empty, unparseable or non-positive
  falls back to 64 with a warning, so a malformed value neither takes the worker
  down nor reads as unlimited.
- Messages built from caller input are bounded via describe_media_source, moved
  from multimodal/media_source.py (it pulls in torch) into url_validator.py and
  re-exported from its old home; a no-op below 120 characters.
- HttpStatusError bounds its .message attribute, not only the rendered string:
  errors.rs::extract_http_like_error reads .status and .message off this class by
  name and forwards .message on a 4xx without calling str(). Backend exception
  text is bounded head-and-tail, since aiohttp renders the host before the errno.
- validate_local_path uses exc.strerror rather than the raw OSError, whose text
  repeats the filename, and now catches the ValueError that Path.resolve() raises
  on an embedded NUL so callers keep their 4xx-vs-5xx decision.

Rebased onto ai-dynamo#14563 (single aiohttp backend); the httpx-side half of the
max_bytes plumbing went with that backend.

Signed-off-by: nnshah1 <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>

* chore(deps): upgrade fastokens to 0.3.2 (ai-dynamo#14798)

Signed-off-by: jthomson04 <[email protected]>

* fix(vllm): ship codec-free OpenCV for image inputs (ai-dynamo#14361)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: GLAMR <[email protected]>
Co-authored-by: Anant Sharma <[email protected]>
Co-authored-by: yunzhoul-nv <[email protected]>

* docs: refresh community events

Automated refresh from the public Dynamo Google Calendar.

Generated by .github/workflows/community-events-refresh.yml.

Signed-off-by: dynamo-ops <[email protected]>

* ci: refresh the compliance baseline in auto-upgrade pipeline (ai-dynamo#14206)

Signed-off-by: Anant Sharma <[email protected]>

* feat(triton): honor KServe classification on tensor outputs (ai-dynamo#14783)

Signed-off-by: Yingge He <[email protected]>

* docs(rl): stop the verl guide sending readers to a vLLM version it cannot run on (ai-dynamo#14571)

Signed-off-by: [email protected] <[email protected]>

* feat(mocker): publish native KV events from the vLLM gRPC server (ai-dynamo#14737)

Signed-off-by: jthomson04 <[email protected]>

* fix(kv-router): release unowned radix branches after eviction (ai-dynamo#14878)

Signed-off-by: jthomson04 <[email protected]>

* fix: show correct backend versions in the install selectors (ai-dynamo#13599)

Signed-off-by: Anant Sharma <[email protected]>

* build(vllm): prepare v0.29.0 bump (ai-dynamo#14543)

Signed-off-by: Julien Darve <[email protected]>

* ci(xpu): validation PR for the re-applied XPU workflows and Dockerfile

Throwaway PR to prove the CI merged in #22 actually runs end to end on XPU
hardware. Adds only a comment to container/templates/vllm_runtime.Dockerfile,
which matches the `vllm` path filter (container/templates/vllm_*) and so makes
changed-files set vllm=true, which is what gates build-xpu and the
heterog-test-px-dn / heterog-test-pn-dx jobs.

What this exercises:
  - .github/workflows/pr-xpu.yaml            (push to pull-request/[0-9]+, needs the xpu label)
  - .github/workflows/pr-xpu-heterogeneous.yaml (push; its guard deliberately skips the label gate)
  - .github/workflows/epd-test-template.yml  (workflow_call, from the heterog jobs)
  - .github/scripts/test-filters.js          (the brace fix from #22)
  - container/templates/vllm_runtime.Dockerfile rendered and built for device=xpu

Not exercised: .github/workflows/xpu-heterogeneous-dispatch.yaml is
workflow_dispatch only and has to be run by hand from the Actions tab.

The marker comment must be removed before this branch is ever merged.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* feat(triton): Update Triton Base Image to 26.08 (ai-dynamo#14854)

Signed-off-by: J Wyman <[email protected]>
Co-authored-by: Rini Gupta <[email protected]>

* fix(operator): normalize equivalent worker hash inputs (ai-dynamo#14721)

Signed-off-by: bzsuni <[email protected]>

* test(sglang): exercise NIXL in embedding cache E/PD test (ai-dynamo#14795)

Signed-off-by: Sai Kiran Polisetty <[email protected]>

* fix(sglang): stop the elastic-EP scale-up worker crash-looping at startup (ai-dynamo#14568)

Signed-off-by: [email protected] <[email protected]>
Co-authored-by: yunzhoul-nv <[email protected]>

* fix(responses): honor tool_choice when parsing tool calls from text (ai-dynamo#14843)

Signed-off-by: xianlubird <[email protected]>

* ci: accept trusted full-CI request comments (ai-dynamo#14868)

Signed-off-by: Matej Kosec <[email protected]>

* docs: clarify EPP mode boundary and single-replica Dynamo mode fixes [DYN-4310] (ai-dynamo#14756)

Signed-off-by: Anna Tchernych <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* ci(docs): move the generated-tables determinism gate out of link checking (ai-dynamo#14135)

Signed-off-by: Dan Gil <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>

* ci(docs): generate the Kubernetes API reference at publish time (ai-dynamo#14122)

Signed-off-by: Dan Gil <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>

* fix(operator): discover pull secrets for init containers (ai-dynamo#14922)

Signed-off-by: bojiang-li <[email protected]>

* fix(sglang): stop an unusable mooncake backend crashing workers after model load (ai-dynamo#14461)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: glamr-agent <[email protected]>
Signed-off-by: GLAMR <[email protected]>

* fix(sglang): emit prefill handoff before completion in sidecar (ai-dynamo#14260)

Signed-off-by: jain-ria <[email protected]>
Co-authored-by: jain-ria <[email protected]>
Co-authored-by: Connor Carpenter <[email protected]>
Co-authored-by: ishandhanani <[email protected]>

* test(trtllm): enable fault tolerance coverage (ai-dynamo#14609)

Signed-off-by: tanmayv25 <[email protected]>

* fix(frontend): evict async tokenizer executors when the tokenizer is retired (ai-dynamo#13368)

Signed-off-by: Peter Pan <[email protected]>

* fix(llm): report KServe datatypes by their wire names, not protobuf variants (ai-dynamo#14957)

`ModelMetadata` reported each Triton-registered tensor's `datatype` using
`inference::DataType::as_str_name()`, which returns the `model_config.proto`
variant name (`TYPE_FP32`, `TYPE_STRING`, ...) instead of the KServe v2 wire
names (`FP32`, `BYTES`, ...). Every datatype was wrong, so spec-conforming
clients cannot parse any tensor the RPC describes. Adds `oip_name()` next to
`tensor::DataType::to_kserve` covering all fifteen proto variants (incl. FP16
and BF16) and mapping `TYPE_STRING → BYTES`.

Original PR by @ayaangazali: ai-dynamo#14770. Reissued under a signed commit to
unblock the copy-pr-bot signature gate; diff is byte-identical.

Closes ai-dynamo#14520.

Signed-off-by: ayaangazali <[email protected]>
Signed-off-by: ayaangazali <[email protected]>
Signed-off-by: Vinya Kestur <[email protected]>
Co-authored-by: ayaangazali <[email protected]>

* docs(mm-routing): document video KV routing (ai-dynamo#14958)

Signed-off-by: krishung5 <[email protected]>

* fix(sidecar): honor worker namespace suffix (ai-dynamo#14955)

Signed-off-by: Biswa Panda <[email protected]>

* fix(bindings): drain bridge tasks before interpreter finalization (ai-dynamo#14813)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: GLAMR <[email protected]>
Co-authored-by: Tushar Sharma <[email protected]>

* fix(discovery): stop a Qwen3-VL worker from serving video with another worker's contract (ai-dynamo#14624)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: GLAMR <[email protected]>

* fix(gms): honor configured timeout during initial weights admission (ai-dynamo#14877)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: Schwinn Saereesitthipitak <[email protected]>
Signed-off-by: GLAMR <[email protected]>
Co-authored-by: Schwinn Saereesitthipitak <[email protected]>

* feat(kv-router): add construction-time indexer delegates (ai-dynamo#14945)

* fix(sglang): support min_tokens on tokenizer-free decode workers (ai-dynamo#14276)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: GLAMR <[email protected]>
Signed-off-by: jain-ria <[email protected]>
Co-authored-by: jain-ria <[email protected]>
Co-authored-by: MatejKosec <[email protected]>

* feat(router): add SessionPrefixIndexer for session-block lineage (ai-dynamo#13807)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: Karen Chung <[email protected]>
Signed-off-by: Matej Kosec <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Matej Kosec <[email protected]>

* fix(vllm): settle kvwarm stages through a per-step round on every attention-DP rank (ai-dynamo#14728)

Signed-off-by: Yiming Liu <[email protected]>

* feat(vllm): benchmark hybrid caches with random KDA state (ai-dynamo#14900)

Signed-off-by: hongkuanz <[email protected]>

* fix(runtime): fix QUIC reassembly and reduce response stalls (ai-dynamo#14876)

Signed-off-by: jthomson04 <[email protected]>

* feat(router): unify frontend and standalone selection core (ai-dynamo#14570)

Signed-off-by: Ishan Dhanani <[email protected]>
Signed-off-by: Thomas Montfort <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Thomas Montfort <[email protected]>

* fix(planner): keep control APIs responsive during Prometheus collection (ai-dynamo#14377)

Signed-off-by: xianlubird <[email protected]>
Co-authored-by: Hongkuan Zhou <[email protected]>

* fix(router): record SGLang prefill completion after stream ends (ai-dynamo#14968)

Signed-off-by: jain-ria <[email protected]>

* fix(frontend): send inline media once on the TCP request plane (ai-dynamo#14801)

Signed-off-by: Sumit Mishra <[email protected]>
Co-authored-by: Indrajit Bhosale <[email protected]>

* docs: refresh community events

Automated refresh from the public Dynamo Google Calendar.

Generated by .github/workflows/community-events-refresh.yml.

Signed-off-by: dynamo-ops <[email protected]>

* fix(vllm): initialize synchronizer in KV warmup capacity test (ai-dynamo#14984)

Signed-off-by: Alec Flowers <[email protected]>

* fix(recipes): make the Solar Open2 250B benchmark and docs link usable (ai-dynamo#14956)

Signed-off-by: Sandhya Rani Narravula <[email protected]>

* feat(recipes): add K-EXAONE 2.0 750B-A37B NVFP4 vLLM recipes for B200 (ai-dynamo#14822)

Signed-off-by: Cheng Wang <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* feat: KVCR Resiliency Deployment Example (ai-dynamo#14695)

Add two-node DynamoGraphDeployment examples for process-local KVCR and
the KVCR memory service. Run one vLLM worker per GPU node, use stable
Grove ordinals for cache-owner slots, and request GPU-local RDMA
resources for engines and Guard services. Provide a deployment helper
for rendering and selecting either variant.

Run the KV state agent alongside vLLM for process-local host memory. In
memory-service mode, keep KVCR and the state agent in a separate
container so its Guard and shared-memory pool survive engine restarts.
Document that restarting the services sidecar invalidates the MVP
recovery contract and requires deployment-level replacement.

Add manifest coverage and an opt-in two-host lifecycle test. Kill the
source EngineCore, hold it offline, and verify that the promoted Guard
serves its preserved cache to the surviving target. Correlate response
equality and KVCR transfer metrics with transmit and receive counters
from the selected active HCA to prove RDMA transport.

Pin compatible KVCR and vLLM revisions and document the runtime,
discovery, compatibility-digest, and recovery prerequisites.

Signed-off-by: Adit Ranadive <[email protected]>

* feat(omni): add Nemotron Audex speech synthesis to /v1/audio/speech (ai-dynamo#12788)

Signed-off-by: Thanaji Rao Thakkalapelli <[email protected]>

* ci: allow glamr-agent to request CI on its own unsigned PRs (ai-dynamo#14964)

Signed-off-by: Matej Kosec <[email protected]>

* fix(vllm): isolate multimodal worker ports (ai-dynamo#14751)

Signed-off-by: Keiven Chang <[email protected]>
Co-authored-by: Keiven Chang <[email protected]>

* fix(runtime): reject invalid DYN_REQUEST_PLANE values (ai-dynamo#12612)

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: Matej Kosec <[email protected]>
Signed-off-by: Coding Agent <[email protected]>
Signed-off-by: GLAMR <[email protected]>
Co-authored-by: MatejKosec <[email protected]>

* fix(responses): preserve text instead of inferring tool calls (ai-dynamo#14846)

Signed-off-by: xianlubird <[email protected]>
Co-authored-by: Ryan McCormick <[email protected]>

* chore: temporarily increase frontend build time limit 45 --> 90 min (ai-dynamo#15019)

Signed-off-by: Dmitry Tokarev <[email protected]>

* test(operator): cover scoped CA injection ownership (ai-dynamo#14961)

Signed-off-by: Julien Mancuso <[email protected]>

* feat(frontend): map semantic errors to HTTP responses (ai-dynamo#14396)

Signed-off-by: Biswa Panda <[email protected]>

* docs: correct fault-tolerance architecture details (ai-dynamo#14880)

Signed-off-by: Elizabeth Thomas <[email protected]>

* build(deps): bump nats-server to v2.14.7 (ai-dynamo#14919)

Signed-off-by: Dan Gil <[email protected]>

* build(deps): bump AISimulate to 0.12.0 (ai-dynamo#15012)

Signed-off-by: Harrison King Saturley-Hall <[email protected]>

* remove oneAPI env for XPU detection

* feat(backends): expose native LoRA capacity in model registration (ai-dynamo#14754)

Signed-off-by: Julien Darve <[email protected]>
Signed-off-by: bzsuni <[email protected]>
Co-authored-by: bzsuni <[email protected]>

* fix(planner): handle pending decisions in virtual connector wait (ai-dynamo#14841)

Signed-off-by: bzsuni <[email protected]>
Co-authored-by: Hongkuan Zhou <[email protected]>

* feat(vllm): add sidecar LoRA lifecycle (ai-dynamo#13068)

Signed-off-by: Julien Darve <[email protected]>
Signed-off-by: bzsuni <[email protected]>
Co-authored-by: Julien Darve <[email protected]>
Co-authored-by: bzsuni <[email protected]>

* fix(vllm/omni): pass response_format into video EngineInputs (ai-dynamo#14667) (ai-dynamo#14844)

* chore: bump version to 1.6.0 post 1.5.0 branch cut (ai-dynamo#15009)

Signed-off-by: pvijayakrish <[email protected]>
Signed-off-by: Pavithra Vijayakrishnan <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* fix(ci): Use `pytest --ignore` to Skip Tests Based on Framework (ai-dynamo#14815)

Signed-off-by: J Wyman <[email protected]>

* feat(sidecar): add e2e CI testing for sidecar launch scripts (ai-dynamo#14508)

Signed-off-by: tanmayv25 <[email protected]>
Signed-off-by: Julien Darve <[email protected]>
Co-authored-by: Julien Darve <[email protected]>

* chore(xpu): upgrade vllm and omni to 0.29.0

Signed-off-by: wenxin.zhang <[email protected]>

* docs(operator): document the DGDR workload-creation trust boundary (ai-dynamo#14429)

Signed-off-by: nnshah1 <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>

* fix(xpu): use released vllm-omni prerelease

Signed-off-by: Wenxin Zhang <[email protected]>

* test(efa): add the EFA disaggregated deploy test for sglang (ai-dynamo#13893)

Signed-off-by: Jie Hao <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* fix(runtime): support IPv6-only IP resolution (ai-dynamo#13126)

Signed-off-by: jthomson04 <[email protected]>

* docs(fault-tolerance): clarify migration after shutdown grace expires (ai-dynamo#14872)

Signed-off-by: Jacky <[email protected]>

* feat(vllm-omni): preserve generated video audio (ai-dynamo#13707)

Signed-off-by: Guan Luo <[email protected]>
Co-authored-by: Guan Luo <[email protected]>

* feat(vllm-omni): pass model-specific video parameters (ai-dynamo#13708)

Signed-off-by: Guan Luo <[email protected]>
Co-authored-by: Guan Luo <[email protected]>

* feat(vllm-omni): qualify MiniMax-H3 T2VA on B200 (ai-dynamo#13589)

Signed-off-by: Guan Luo <[email protected]>
Signed-off-by: GuanLuo <[email protected]>
Co-authored-by: Guan Luo <[email protected]>
Co-authored-by: GuanLuo <[email protected]>
Co-authored-by: Ryan McCormick <[email protected]>

* fix(vllm): remove obsolete Omni compatibility guard

Signed-off-by: Wenxin Zhang <[email protected]>

* fix(vllm): retain Omni compatibility guard

Signed-off-by: Wenxin Zhang <[email protected]>

* .github/workflows/pr-xpu-heterogeneous.yaml; pin GPU_TAG to latest

* .github/workflows/; add post-merge and nightly XPU heterogeneous CI

Extract the XPU heterogeneous P/D pipeline out of pr-xpu-heterogeneous.yaml
into xpu-heterogeneous-run.yml, a workflow_call reusable workflow, and call it
from three thin trigger workflows so all three merge phases run the identical
pipeline instead of drifting copies.

  xpu-heterogeneous-run.yml           new, reusable. guard, changed-files,
                                      build-xpu, build-nvidia, resolve-images
                                      and both heterog tests, unchanged, plus
                                      7 inputs.
  pr-xpu-heterogeneous.yaml           reduced to the pre-merge trigger, the
                                      slash-command gate and the reaction.
  post-merge-xpu-heterogeneous.yaml   new. push to main.
  nightly-xpu-heterogeneous.yaml      new file, but the cron is MOVED, not
                                      added: it is the 0 23 * * * schedule
                                      that was already in
                                      pr-xpu-heterogeneous.yaml.

No behaviour change per phase. force_all_tests replaces the old
  github.event_name == 'schedule' || github.event_name == 'issue_comment'
expression with the same truth table: pre-merge passes
github.event_name == 'issue_comment', nightly passes true. Post-merge also
passes true, because a push to main has no PR base for
.github/actions/changed-files to diff against, and post-merge exists to catch
what per-PR gating missed.

xpu-status-check stays a TOP-LEVEL job in each caller rather than moving into
the reusable workflow. A job contributed by a reusable workflow reports to the
Checks API as "run / xpu-status-check", so hosting it there would rename the
context and leave any branch protection rule requiring xpu-status-check waiting
forever on a check that no longer reports.

The concurrency mapping stays byte-identical across all four workflows that
touch this hardware, now including xpu-heterogeneous-dispatch.yaml. Three files
do NOT get three slots: the cluster, the dynamo-system namespace and the
onexpu-/onenvidia-rdma-kueue ResourceClaimTemplates are one global resource.
The reusable workflow deliberately carries no concurrency block of its own,
which would deadlock against the slot the caller's run already holds.

Parameterised gpu_tag, model, tensor_parallel and runner as inputs so the
callers can diverge; all default to the previously hardcoded values. Added
workflow_dispatch to the nightly, without which a schedule-only workflow cannot
be exercised before it reaches the default branch.

Verified: all files parse; the four concurrency mappings are byte-identical; the
reusable workflow declares no concurrency; every input each caller passes exists
and every required input is supplied; nesting is depth 3 of the 4 GitHub allows.
actionlint was not available to run, and will report queue:max as an unknown key
in all four files, a known false positive.

---------

Signed-off-by: Nikita Sukharev <[email protected]>
Signed-off-by: xianlubird <[email protected]>
Signed-off-by: hongkuanz <[email protected]>
Signed-off-by: William Arnold <[email protected]>
Signed-off-by: Sandhya Rani Narravula <[email protected]>
Signed-off-by: Karen Chung <[email protected]>
Signed-off-by: jthomson04 <[email protected]>
Signed-off-by: Wenxin Zhang <[email protected]>
Signed-off-by: VincyZhang <[email protected]>
Signed-off-by: krishung5 <[email protected]>
Signed-off-by: nnshah1 <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: GLAMR <[email protected]>
Signed-off-by: dynamo-ops <[email protected]>
Signed-off-by: Anant Sharma <[email protected]>
Signed-off-by: Yingge He <[email protected]>
Signed-off-by: Julien Darve <[email protected]>
Signed-off-by: J Wyman <[email protected]>
Signed-off-by: bzsuni <[email protected]>
Signed-off-by: Sai Kiran Polisetty <[email protected]>
Signed-off-by: Matej Kosec <[email protected]>
Signed-off-by: Anna Tchernych <[email protected]>
Signed-off-by: Dan Gil <[email protected]>
Signed-off-by: bojiang-li <[email protected]>
Signed-off-by: glamr-agent <[email protected]>
Signed-off-by: jain-ria <[email protected]>
Signed-off-by: tanmayv25 <[email protected]>
Signed-off-by: Peter Pan <[email protected]>
Signed-off-by: ayaangazali <[email protected]>
Signed-off-by: ayaangazali <[email protected]>
Signed-off-by: Vinya Kestur <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
Signed-off-by: Schwinn Saereesitthipitak <[email protected]>
Signed-off-by: Yiming Liu <[email protected]>
Signed-off-by: Ishan Dhanani <[email protected]>
Signed-off-by: Thomas Montfort <[email protected]>
Signed-off-by: Sumit Mishra <[email protected]>
Signed-off-by: Alec Flowers <[email protected]>
Signed-off-by: Cheng Wang <[email protected]>
Signed-off-by: Adit Ranadive <[email protected]>
Signed-off-by: Thanaji Rao Thakkalapelli <[email protected]>
Signed-off-by: Keiven Chang <[email protected]>
Signed-off-by: Coding Agent <[email protected]>
Signed-off-by: Julien Mancuso <[email protected]>
Signed-off-by: Elizabeth Thomas <[email protected]>
Signed-off-by: Harrison King Saturley-Hall <[email protected]>
Signed-off-by: pvijayakrish <[email protected]>
Signed-off-by: Pavithra Vijayakrishnan <[email protected]>
Signed-off-by: wenxin.zhang <[email protected]>
Signed-off-by: Jie Hao <[email protected]>
Signed-off-by: Jacky <[email protected]>
Signed-off-by: Guan Luo <[email protected]>
Signed-off-by: GuanLuo <[email protected]>
Co-authored-by: Nikita Sukharev <[email protected]>
Co-authored-by: Xianlu Bird <[email protected]>
Co-authored-by: Hongkuan Zhou <[email protected]>
Co-authored-by: William Arnold <[email protected]>
Co-authored-by: Zero Rains <[email protected]>
Co-authored-by: snarravula-dl <[email protected]>
Co-authored-by: Karen Chung <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: jthomson04 <[email protected]>
Co-authored-by: VincyZhang <[email protected]>
Co-authored-by: Kris Hung <[email protected]>
Co-authored-by: Neelay Shah <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: GLAMR <[email protected]>
Co-authored-by: Anant Sharma <[email protected]>
Co-authored-by: yunzhoul-nv <[email protected]>
Co-authored-by: dynamo-ops <[email protected]>
Co-authored-by: Yingge He <[email protected]>
Co-authored-by: JulienDarve <[email protected]>
Co-authored-by: J Wyman <[email protected]>
Co-authored-by: Rini Gupta <[email protected]>
Co-authored-by: bzsuni <[email protected]>
Co-authored-by: Sai Kiran Polisetty <[email protected]>
Co-authored-by: MatejKosec <[email protected]>
Co-authored-by: atchernych <[email protected]>
Co-authored-by: Dan Gil <[email protected]>
Co-authored-by: Bojiang Li <[email protected]>
Co-authored-by: Connor Carpenter <[email protected]>
Co-authored-by: jain-ria <[email protected]>
Co-authored-by: Connor Carpenter <[email protected]>
Co-authored-by: ishandhanani <[email protected]>
Co-authored-by: Tanmay Verma <[email protected]>
Co-authored-by: Peter Pan <[email protected]>
Co-authored-by: Vinya Kestur Tumakuru Arun Kumar <[email protected]>
Co-authored-by: ayaangazali <[email protected]>
Co-authored-by: Biswa Panda <[email protected]>
Co-authored-by: Tushar Sharma <[email protected]>
Co-authored-by: Schwinn Saereesitthipitak <[email protected]>
Co-authored-by: Ryan Olson <[email protected]>
Co-authored-by: Yimingl_Nvidia <[email protected]>
Co-authored-by: Thomas Montfort <[email protected]>
Co-authored-by: Sumit884-byte <[email protected]>
Co-authored-by: Indrajit Bhosale <[email protected]>
Co-authored-by: Alec <[email protected]>
Co-authored-by: chw001 <[email protected]>
Co-authored-by: Adit Ranadive <[email protected]>
Co-authored-by: Thanaji Rao Thakkalapelli <[email protected]>
Co-authored-by: Keiven C <[email protected]>
Co-authored-by: Keiven Chang <[email protected]>
Co-authored-by: Ryan McCormick <[email protected]>
Co-authored-by: Dmitry Tokarev <[email protected]>
Co-authored-by: Julien Mancuso <[email protected]>
Co-authored-by: Elizabeth Thomas <[email protected]>
Co-authored-by: Harrison Saturley-Hall <[email protected]>
Co-authored-by: Julien Darve <[email protected]>
Co-authored-by: Jasim Kareem <[email protected]>
Co-authored-by: Pavithra Vijayakrishnan <[email protected]>
Co-authored-by: Jie Hao <[email protected]>
Co-authored-by: Jacky <[email protected]>
Co-authored-by: Qi Wang <[email protected]>
Co-authored-by: Guan Luo <[email protected]>
Co-authored-by: GuanLuo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions ci Issues/PRs that reference CI build/test documentation Improvements or additions to documentation size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants