Skip to content

ci: shard full server suite - #1842

Merged
kajalj22 merged 4 commits into
mainfrom
chtruong/space-test
Jun 30, 2026
Merged

kajalj22 merged 4 commits into
mainfrom
chtruong/space-test

Conversation

@chtruong814

@chtruong814 chtruong814 commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • split the main-branch full server suite into 8 ng_test_all shards
  • keep core pytest coverage commands in the Full Test Suite job
  • add a Server suite aggregate job and include it in failure notification wiring
  • align uv runtime cache with the Actions cache path

Validation

  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/full-test-suite.yml"); puts "yaml ok"'
  • git diff --check -- .github/workflows/full-test-suite.yml

Test run
https://github.com/NVIDIA-NeMo/Gym/actions/runs/28474026537
https://github.com/NVIDIA-NeMo/Gym/actions/runs/28474433450

Notes

  • actionlint is not installed locally, so GitHub Actions-specific linting was not run.

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
@kajalj22

Copy link
Copy Markdown
Contributor

/claude review


- name: Setup for test
run: |
export UV_CACHE_DIR="$HOME/.cache/uv"

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.

NOTE β€” full-test-suite sets UV_CACHE_DIR but has no actions/cache@v4 step, so the cache is written but never persisted across runs. The new server-suite job does cache correctly. Inconsistency, not a bug β€” but adding the same cache block here would speed up core-test runs too.


server-suite-result:
name: Server suite
runs-on: ubuntu-latest

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.

NOTE β€” ng_test_all moved out of the full-test-suite job into server-suite-result. If branch protection requires the full-test-suite check to pass, server test failures are now invisible to the merge gate until server-suite-result is added as a required status check. Worth confirming the repo's branch protection rules are updated to match.

@kajalj22
kajalj22 merged commit 8d433be into main Jun 30, 2026
30 checks passed

This branch was previously deployed

1 inactive deployment
public β€” c972d91a Deployed Jun 30, 2026 by copy-pr-bot[bot] via release / finalize / notify #570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants