Skip to content

[None][fix] Isolate llm_function QA lists from database scans - #22256

Merged
yufeiwu-nv merged 10 commits into
NVIDIA:mainfrom
yufeiwu-nv:codex/separate-functional-yaml
Nov 16, 2026
Merged

yufeiwu-nv merged 10 commits into
NVIDIA:mainfrom
yufeiwu-nv:codex/separate-functional-yaml

Conversation

@yufeiwu-nv

@yufeiwu-nv yufeiwu-nv commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

The QA performance database reader scans every top-level qa/*.yml file. The multinode launch YAML introduced in #21704 has a different schema, causing performance context queries to fail before tests start.

Move only the four lists whose names start with llm_function into qa/functional/: core, multinode, RTX 6000 and stress. List contents and launch parameters are unchanged, with no compatibility symlinks. llm_spark_func.yml, llm_triton_integration.txt and all performance lists remain at their original paths and are unchanged.

Update validator discovery, the core-list maintenance path, QA CODEOWNERS coverage, documentation and the existing modeling-v2 unit test’s list-discovery logic for the relocated files. The Spark validator unit test is unchanged. No test-db package change or dependency upgrade is required.

Validation:

  • 68 existing validator and modeling-v2 selection unit tests passed.
  • QA collection/waive membership is identical before and after relocation: all 1,111 entries preserved.
  • Verified moved contents are byte-for-byte identical and Spark/Triton remain unchanged at their original paths.
  • The pinned trt-test-db==1.8.5+bc6df7 renders the performance and Spark contexts from the original QA database directory.
  • Repository pre-commit checks passed; the optional local Pyrefly report remains unavailable.

Rollout: merge the companion QA Jenkins update first. It resolves old/new locations only for llm_function lists and preserves all other list families and custom paths. GPU/weekly end-to-end execution has not been run locally.

Dev Engineer Review

  • Scope differs from the PR objectives. The diff moves only four files into tests/integration/test_lists/qa/functional/: llm_function_core.txt, llm_function_multinode.yml, llm_function_rtx6k.txt, and llm_function_stress.txt. Git reports these as 100% renames. The objectives describe a broader move that also covers Triton and Spark files. No changed file shows a Triton or Spark move, so those objective claims are not supported by this diff.
  • Recursive discovery of multinode YAML. verify_qa_test_lists in scripts/check_test_list.py now globs functional/**/*.txt and functional/**/*.yml. The moved multinode YAML uses a tests sequence with case and launch keys, not the database schema. The README says the trt-test-db reader scans qa/*.yml non-recursively and that multinode YAML must stay outside that scan. The validator's handling of this schema was not inspected.
  • Path-only updates. jenkins/scripts/sync_qa_tests.py, scripts/split_qa_by_gpu.py, tests/qa_selection/README.md, and the stress-list docs only change path text. .github/CODEOWNERS now assigns the qa/functional/ subtree to @NVIDIA/trt-llm-qa-function. Any consumer that still uses an old qa/llm_function_* path will break. The PR states that the separate QA Jenkins consumer update must merge first.
  • README content. tests/integration/test_lists/qa/README.md removes llm_function_l20.txt from the functional list and adds llm_function_stress.txt. It changes the Spark entry from llm_spark_func.txt to llm_spark_func.yml. This matches the objectives, which state that the Spark file keeps its path and is a YAML file.
  • Unverified runtime behavior. Test results from the PR (68 validator and selection tests passing, identical membership of 1,111 entries) come from the PR description. This review did not confirm them against a completed check on the current head.

QA Engineer Review

Test files changed under tests/:

  • Modified test code: tests/integration/defs/accuracy/test_kimi3.py and test_llm_api_pytorch_multimodal.py (docstring path updates only), tests/integration/defs/test_list_validation.py (recursive discovery under qa/functional/), and tests/unittest/_torch/modeling_v2/test_modeling_v2_ci_selection.py (_qa_entries recursive discovery).
  • Test-list files: four lists moved to qa/functional/ with unchanged contents. tests/integration/test_lists/test-db/l0_gb300_multi_nodes_node4_gpu16.yml has a comment-only change.
  • Test functions, test IDs, selectors, or waivers added or removed: none evident in the diff.
  • Test-list membership counts after the move: not available from this review.
  • Test execution results: not available. No completed CI check on the current head is shown.
  • Coverage verdict: needs follow-up. Confirm that the QA Jenkins consumer update merges first. Confirm that GPU and weekly end-to-end runs pass.

Per-File QA Perspective

  • scripts/check_test_list.py: --qa now also checks functional/ lists recursively. Verify that the multinode YAML passes validation.
  • tests/integration/defs/test_list_validation.py: Validates .txt and .yml files under qa/functional/. Verify that the YAML scan does not fail on the multinode schema.
  • tests/unittest/_torch/modeling_v2/test_modeling_v2_ci_selection.py: _qa_entries now reads functional/ recursively. Verify that selection results do not change unexpectedly.
  • tests/integration/defs/accuracy/test_kimi3.py and test_llm_api_pytorch_multimodal.py: Docstring path updates. No behavior change.
  • tests/integration/test_lists/qa/functional/*: Moved lists with unchanged contents. Verify that the Jenkins consumer resolves the new paths.
  • tests/integration/test_lists/test-db/l0_gb300_multi_nodes_node4_gpu16.yml: Comment path update only.
  • tests/integration/defs/stress_test/disagg_cancel/README.md and configs/README.md: Stress-list path references only. No code change.
  • tests/qa_selection/README.md: Path-only update to qa/functional/llm_function_core.txt. No behavior change.
  • .github/CODEOWNERS: Ownership now covers the full qa/functional/ subtree. Verify that this scope is intended.
  • jenkins/scripts/sync_qa_tests.py: CORE_REL points to the new core list path. Verify against the Jenkins consumer update.
  • scripts/split_qa_by_gpu.py: Documented example path only.

@yufeiwu-nv yufeiwu-nv reopened this Nov 15, 2026
@yufeiwu-nv
yufeiwu-nv force-pushed the codex/separate-functional-yaml branch from c7d23ec to 30028c2 Compare November 15, 2026 15:16
@yufeiwu-nv
yufeiwu-nv marked this pull request as ready for review November 15, 2026 15:23
@yufeiwu-nv
yufeiwu-nv requested review from a team as code owners November 15, 2026 15:23
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

QA functional test lists are organized under qa/functional/. The QA checker and validation tools discover nested lists. Jenkins configuration, ownership rules, documentation, and test references use the updated paths.

Changes

QA functional test lists

Layer / File(s) Summary
Functional list placement and discovery
tests/integration/test_lists/qa/README.md, scripts/check_test_list.py, tests/integration/defs/test_list_validation.py, tests/unittest/_torch/modeling_v2/test_modeling_v2_ci_selection.py
The QA README documents the functional-list layout and consumer handling. The checker and validation tools discover nested .txt and .yml lists.
Functional list consumers and references
jenkins/scripts/sync_qa_tests.py, .github/CODEOWNERS, scripts/split_qa_by_gpu.py, tests/integration/defs/accuracy/*, tests/integration/defs/stress_test/disagg_cancel/*, tests/integration/test_lists/test-db/*, tests/qa_selection/README.md
Jenkins configuration, ownership rules, test documentation, and QA references use functional-list paths.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: erictsai-nv, fredricz-20070104

Merge Risk: Minimal · previous review cce1e

This change moves four QA functional test lists into a functional/ subdirectory and updates the discovery tooling, ownership rules, and documentation to match. The repository contains no remaining references to the old locations. The author notes that the companion QA Jenkins update should be merged first, so merge in that order.

Security architecture risk: Minimal · up to cce1e

The four lists retain identical contents and launch settings. Inspected consumers follow the new locations without gaining new privileges or weakening ownership controls. No introduced security or failure-containment concern was established. Compatibility with the separately maintained Jenkins update remains unverified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The changed discovery paths continue to consume repository-controlled QA files within existing validation processes. The four relocated files were already discoverable at their former locations. The inspected changes do not establish a new external input channel, privilege grant, or production tenant/data-store exposure.

Trust Boundaries and Controls

  • observed — CODEOWNERS replaces the llm_function filename rule with a functional-subtree rule assigned to the same functional QA team. Coverage broadens to the subtree without transferring the moved files to a different owner.
  • observed — The integration validator retains its pre-existing unrestricted yaml.Loader. Recursive discovery extends that same parser to the relocated repository files; it does not introduce the loader or increase its authority. This existing parser behavior is not an introduced PR concern.
Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: isolating llm_function QA lists from database scans. The changeset moves four llm_function QA lists into qa/functional/ so the QA database reader no longer scans the m…
Description check Passed The description covers what changed and why. It explains that the QA database reader scans top-level qa/*.yml files and that the multinode launch YAML has a different schema. It lists the moved files,…
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: Title check

Explanation

The title names the main change: isolating llm_function QA lists from database scans. The changeset moves four llm_function QA lists into qa/functional/ so the QA database reader no longer scans the multinode launch YAML. The title follows the required [None][fix] format and is 61 characters, within a concise length.

Full details: Description check

Explanation

The description covers what changed and why. It explains that the QA database reader scans top-level qa/*.yml files and that the multinode launch YAML has a different schema. It lists the moved files, the files that stay in place, and the updated validator discovery, core-list path, CODEOWNERS, documentation, and modeling-v2 unit test. It also reports validation results and rollout order. The template's Test Coverage section is not filled in as a heading with a list of tests, but the validation bullets cover the same information. The description therefore meets the template in substance and is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3bb0e02 and cce1eac.

Files selected for processing: 17

  • .github/CODEOWNERS
  • jenkins/scripts/sync_qa_tests.py
  • scripts/check_test_list.py
  • scripts/split_qa_by_gpu.py
  • tests/integration/defs/accuracy/test_kimi3.py
  • tests/integration/defs/accuracy/test_llm_api_pytorch_multimodal.py
  • tests/integration/defs/stress_test/disagg_cancel/README.md
  • tests/integration/defs/stress_test/disagg_cancel/configs/README.md
  • tests/integration/defs/test_list_validation.py
  • tests/integration/test_lists/qa/README.md
  • tests/integration/test_lists/qa/functional/llm_function_core.txt
  • tests/integration/test_lists/qa/functional/llm_function_multinode.yml
  • tests/integration/test_lists/qa/functional/llm_function_rtx6k.txt
  • tests/integration/test_lists/qa/functional/llm_function_stress.txt
  • tests/integration/test_lists/test-db/l0_gb300_multi_nodes_node4_gpu16.yml
  • tests/qa_selection/README.md
  • tests/unittest/_torch/modeling_v2/test_modeling_v2_ci_selection.py
Files with no reviewable changes: 4

  • tests/integration/test_lists/qa/functional/llm_function_core.txt
  • tests/integration/test_lists/qa/functional/llm_function_multinode.yml
  • tests/integration/test_lists/qa/functional/llm_function_rtx6k.txt
  • tests/integration/test_lists/qa/functional/llm_function_stress.txt
Files skipped from review as they are similar to previous changes: 7

  • .github/CODEOWNERS
  • scripts/split_qa_by_gpu.py
  • tests/integration/defs/accuracy/test_kimi3.py
  • tests/integration/defs/accuracy/test_llm_api_pytorch_multimodal.py
  • tests/integration/defs/stress_test/disagg_cancel/README.md
  • tests/integration/test_lists/test-db/l0_gb300_multi_nodes_node4_gpu16.yml
  • tests/qa_selection/README.md

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

@yufeiwu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85041 [ run ] triggered by Bot. Commit: 30028c2 Link to invocation

@yufeiwu-nv
yufeiwu-nv enabled auto-merge (squash) November 16, 2026 02:36
@yufeiwu-nv
yufeiwu-nv requested review from a team as code owners November 16, 2026 03:06
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85082 [ run ] triggered by Bot. Commit: 3bb0e02 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85067 [ run ] completed with state ABORTED. Commit: 05ac835

Link to invocation

@lyxxn0414 lyxxn0414 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@nv-xtf nv-xtf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM from disagg side

@github-actions

Copy link
Copy Markdown

Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements.

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85110 [ run ] triggered by Bot. Commit: cce1eac Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85082 [ run ] completed with state ABORTED. Commit: 3bb0e02

Link to invocation

Copy link
Copy Markdown
Collaborator Author

/bot run

1 similar comment

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85148 [ run ] triggered by Bot. Commit: 2f481ad Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85110 [ run ] completed with state ABORTED. Commit: cce1eac
/LLM/main/L0_MergeRequest_PR pipeline #70446 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

Copy link
Copy Markdown
Collaborator Author

/bot skip --comment "Known main-branch KVCacheLayerSpec import collision causes num_q_heads TypeError; unrelated to this functional test-list relocation. Scoped validation: 68 tests passed."

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85150 [ run ] triggered by Bot. Commit: 2f481ad Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85148 [ run ] completed with state ABORTED. Commit: 2f481ad

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85152 [ skip ] triggered by Bot. Commit: 2f481ad Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85150 [ run ] completed with state ABORTED. Commit: 2f481ad

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85152 [ skip ] completed with state SUCCESS. Commit: 2f481ad
Skipping testing for commit 2f481ad

Link to invocation

Copy link
Copy Markdown
Collaborator Author

/bot skip --comment "Known main-branch KVCacheLayerSpec import collision causes num_q_heads TypeError; unrelated to this functional test-list relocation. Scoped validation: 68 tests passed."

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85160 [ skip ] triggered by Bot. Commit: df3d912 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85160 [ skip ] completed with state SUCCESS. Commit: df3d912
Skipping testing for commit df3d912

Link to invocation

@yufeiwu-nv
yufeiwu-nv merged commit 9e7d332 into NVIDIA:main Nov 16, 2026
8 checks passed

Copy link
Copy Markdown
Collaborator Author

/bot skip --comment "Known main-branch KVCacheLayerSpec import collision causes num_q_heads TypeError; unrelated to this functional test-list relocation. Scoped validation: 68 tests passed."

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #85166 [ ] completed with state FAILURE. Commit: df3d912
Not allowed on merged PR

Link to invocation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants