Repository navigation
refactor: extract reusable components from harness conformance - #5367
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
/ok to test 96e2956 |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no concerns found. I reviewed all 12 changed files and traced the affected workflow, reporting, and worker-execution paths. I found no regressions in result schemas, artifact handling, selection, or process supervision. The reporter's import chain remains standard-library-only.
Static review only; I didn't execute tests.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
giuliolovisotto
left a comment
There was a problem hiding this comment.
Thanks, Marta, for extracting these shared helpers! This is a useful point to clarify the change-selection contract before more suites reuse it. I left comments on the merge-base edge cases and two non-blocking questions about the CLI dependency and import layout.
d8e13b7 to
cc52c98
Compare
|
/ok to test cc52c98 |
giuliolovisotto
left a comment
There was a problem hiding this comment.
Reviewed the extraction and its callers at cc52c98. No blocking findings; 309 focused tests passed, covering CI reporting, artifact failures, selection, rendering and process cleanup. The earlier dependency and module-entry comments are addressed. The separate comparison/ref-resolution fixes are present in stacked #5370; this approval covers #5367.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Marta Stepniewska-Dziubinska <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Marta Stepniewska-Dziubinska <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Marta Stepniewska-Dziubinska <[email protected]>
cc52c98 to
2c19621
Compare
|
/ok to test 2c19621 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/43416795265 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/43422347076 |
Brings the branch up to date with main (33 commits). No file this branch changes was changed on main, so there are no conflicts. The harness conformance workflow on this branch was older than the script it runs after NVIDIA-NeMo#5367, which made every probe report unavailable. Co-Authored-By: Claude Fable 5.2 <[email protected]> Signed-off-by: jthomson04 <[email protected]>
What does this PR do?
Moves the generic parts of
scripts/harness_conformance/intoscripts/check_suites/so other CI check suites can reuse them: changed-path detection,ci-result.json, artifact download, check-run publishing, annotation and table escaping, and process-tree reaping.github_actions.pyuses only the standard library, because workflows import it before Gym is installed.process.pyneedspsutil.Also:
python -m scripts.run_harness_conformanceand thesys.pathbootstrap is gone; the docs, the add-harness skill, the workflow and the rerun command in reports are updated.github_actions.pynames itsghandGH_TOKENrequirement and the permissions callers need.Validation
scripts/harness_conformanceandtests/unit_tests/test_harness_conformance_checks.pypre-commit runon the changed filesci-result.jsonand selection output compared againstmain: identicalCompatibility and benchmark impact
The direct command
python scripts/run_harness_conformance.pyno longer works; runpython -m scripts.run_harness_conformancefrom the repository root. The::warningannotation inci.pynow also escapes newlines, which its messages do not contain.🤖 Generated with Claude Code