Skip to content

ci: install research folder dependencies & discover research test suites - #4216

Merged
terrykong merged 3 commits into
NVIDIA-NeMo:mainfrom
sajadn:ci/research-test-support
Sep 22, 2026
Merged

terrykong merged 3 commits into
NVIDIA-NeMo:mainfrom
sajadn:ci/research-test-support

Conversation

@sajadn

@sajadn sajadn commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do ?

**ci: install research test dependencies and include test suites that are defined within the research folder

Issues

List issues that this PR closes (syntax):

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you run the unit tests and functional tests locally? Visit our Testing Guide for how to run tests
  • Did you add or update any necessary documentation? Visit our Document Development Guide for how to write, build and test the docs.

Additional Information

  • ...

@sajadn
sajadn requested review from a team as code owners September 20, 2026 17:10
@copy-pr-bot

copy-pr-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@sajadn sajadn changed the title ci: install research test dependencies and include test suites within the research folder. ci: install research folder depdencies & discover research test suites Sep 20, 2026
@sajadn sajadn added the CI:L1 Run doctests, unit tests, and functional tests label Sep 21, 2026
@sajadn

sajadn commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test daac660

@terrykong terrykong 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.

This PR teaches CI to install each research project's own dependencies and to discover research test suites, and adds a unit test for the shell runners.

Two things here are genuinely nice. tests/unit/test_research_ci.py tests the shell CI runners by running the real script text with a fake uv on PATH that logs its cwd and arguments — shell runners are almost never tested at all. The project name with a space in it is a deliberate regression test for the quoting bug this PR fixes, and it does its job: put the old quoting back and the test fails. The PR also quietly closes a gap nobody had spotted. The old dry-run test passed the literal string ./tests/test_suites/**/*.sh through shell=True, and /bin/sh has no globstar, so ** acted as * and the 43 scripts under tests/test_suites/llm/performance/ were never dry-run. The explicit list covers them now — worth calling out in the PR description.

Small thing: the title has a typo, depdencies → dependencies. The repo squash-merges with the PR title, so it lands in main's commit log for good.

On CI: 3 of 86 checks are red and none of them are this PR's doing. The GB200 container build and L1_Functional_Tests_Megatron_4 both died on 504 Gateway Timeouts pulling wheels from GitHub's release CDN, and "CI quality check" just aggregates those two. Everything that actually covers this change is green, including both test-script-coverage checks and all 20 unit shards. main is 3 commits ahead, so a rebase plus a fresh /ok to test <full-sha> should clear it.

This review was done by a team of agents, including an adversarial pass over the findings.

Generated by Claude Code

Comment thread tests/test_suites/disabled.txt Resolved
@sajadn sajadn changed the title ci: install research folder depdencies & discover research test suites ci: install research folder dependencies & discover research test suites Sep 21, 2026
@sajadn

sajadn commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 07e3fe7

@terrykong
terrykong enabled auto-merge (squash) September 21, 2026 20:15
@terrykong
terrykong merged commit e07b6da into NVIDIA-NeMo:main Sep 22, 2026
103 checks passed
@yfw yfw mentioned this pull request Sep 22, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:L1 Run doctests, unit tests, and functional tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants