Repository navigation
Conversation
Greptile SummaryThis PR fixes an over-broad rendering-test exclusion by replacing the global
Confidence Score: 5/5Safe to merge. The changes are scoped to CI infrastructure and correctly propagate the new exclude-pattern through the full action chain. The complete action chain from build.yaml → run-package-tests → run-tests is wired correctly: the new input is declared at each layer and forwarded, positional argument numbering in the shell function and its call site match, and conftest.py already supports comma-separated exclude patterns via TEST_EXCLUDE_PATTERN. The global TESTS_TO_SKIP removal is intentional and leaves rendering tests available for nightly CI while the explicit exclude-pattern keeps them out of the three shard jobs. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["build.yaml<br/>isaaclab_tasks shard jobs (1/2/3)<br/>exclude-pattern: 'test_rendering_'"] --> B["run-package-tests/action.yml<br/>Accepts + forwards exclude-pattern"]
B --> C["run-tests/action.yml<br/>run_tests() function<br/>arg $8 = exclude_pattern"]
C --> D{filter_pattern starts with 'not '?}
D -- Yes --> E["Combine legacy filter_exclude_pattern<br/>with explicit exclude_pattern"]
D -- No --> F["Set TEST_FILTER_PATTERN env var"]
E --> G["Set TEST_EXCLUDE_PATTERN env var<br/>in Docker container"]
F --> G
G --> H["conftest.py _collect_test_files()<br/>reads TEST_EXCLUDE_PATTERN"]
H --> I{path contains exclude entry?}
I -- Yes --> J["Skip test_rendering_*.py"]
I -- No --> K["Include test file"]
Reviews (3): Last reviewed commit: "plumbing of exclude-pattern" | Re-trigger Greptile |
There was a problem hiding this comment.
Code Review Summary
Thank you for working on restoring the rendering correctness tests! I've identified a critical issue that will prevent this PR from achieving its intended goal.
🔴 Critical: exclude-pattern Input Not Defined in Actions
Severity: Blocker
The PR adds exclude-pattern: "test_rendering_" to three jobs in build.yaml, but this input is not defined in either the run-package-tests or run-tests composite actions.
What happens:
- GitHub Actions silently ignores undefined inputs
- The
TEST_EXCLUDE_PATTERNenvironment variable will never be set - The rendering tests will run in the regular isaaclab_tasks shards instead of being excluded
- Combined with removing the tests from
TESTS_TO_SKIP, this means the tests will run twice (once in the shards, once in dedicated jobs)
Evidence:
.github/actions/run-package-tests/action.ymldefines these inputs:image-tag,isaacsim-base-image,isaacsim-version,dockerfile-path,cache-tag,filter-pattern,shard-index,shard-count,curobo-only,quarantined-only,include-files,pytest-options,extra-pip-packages,container-name- No
exclude-patterninput exists
Recommended fix:
Add the exclude-pattern input to both actions and wire it through to set TEST_EXCLUDE_PATTERN:
# In .github/actions/run-package-tests/action.yml inputs:
exclude-pattern:
description: 'Pattern to exclude test files (e.g., test_rendering_)'
default: ''
required: falseThen pass it through to run-tests:
exclude-pattern: ${{ inputs.exclude-pattern }}And in run-tests/action.yml, add logic to set the env var:
if [ -n "$exclude_pattern_input" ]; then
docker_env_vars="$docker_env_vars -e TEST_EXCLUDE_PATTERN=$exclude_pattern_input"
fi🟡 Suggestion: Consider Test Discovery Instead of Hardcoded Lists
The current approach (and the original test_settings.py approach) relies on manually maintaining lists of test files. Consider using pytest markers or filename conventions that conftest.py can discover automatically.
For example, the test_rendering_ prefix is already a convention - the exclude pattern approach is more maintainable than explicit file lists.
📝 Minor: PR Description Incomplete
The PR template checklist is not filled in, and no linked issue is provided. For infrastructure changes affecting CI behavior, it's helpful to document:
- Why the change is being made (what problem it solves)
- How to verify the change works
Summary: Please add the exclude-pattern input to the GitHub Actions before merging. Without this fix, the PR will cause rendering tests to run in both the regular shards AND the dedicated rendering jobs, likely causing CI failures or wasted compute.
Update (0ee1aec): ✅ Critical blocker resolved. The new commits add exclude-pattern as a declared input to both run-package-tests/action.yml and run-tests/action.yml, with proper wiring through to set TEST_EXCLUDE_PATTERN in the Docker environment. The implementation correctly handles combining exclude-pattern with the legacy not <pattern> form in filter-pattern. The fix follows the recommended approach from this review. No new issues found in the incremental changes.
# Description The skip list is a global list that will impact all CI jobs. We only want to skip render correctness tests in the isaaclab_tasks (1/2/3) test jobs. We still want to include rendering correctness tests for IsaacSim nightly integration CI jobs: ```sh ./isaaclab.sh -p -m pytest tools -m isaacsim_ci ``` ## Type of change - Testing-only change ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task -->
# Description The skip list is a global list that will impact all CI jobs. We only want to skip render correctness tests in the isaaclab_tasks (1/2/3) test jobs. We still want to include rendering correctness tests for IsaacSim nightly integration CI jobs: ```sh ./isaaclab.sh -p -m pytest tools -m isaacsim_ci ``` ## Type of change - Testing-only change ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task -->
Description
The skip list is a global list that will impact all CI jobs. We only want to skip render correctness tests in the isaaclab_tasks (1/2/3) test jobs. We still want to include rendering correctness tests for IsaacSim nightly integration CI jobs:
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there