Repository navigation
ci: install research folder dependencies & discover research test suites - #4216
Conversation
Signed-off-by: Sajad Norouzi <[email protected]>
Signed-off-by: Sajad Norouzi <[email protected]>
|
/ok to test daac660 |
terrykong
left a comment
There was a problem hiding this comment.
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
Signed-off-by: Sajad Norouzi <[email protected]>
|
/ok to test 07e3fe7 |
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
# Add a code snippet demonstrating how to use thisBefore your PR is "Ready for review"
Pre checks:
Additional Information