Repository navigation
[Tests] Prune isaaclab_tasks tests with the test-audit skill - #8020
Conversation
Apply the tasks-lane test-audit ledger: drop duplicated and self-computed tests, repair assertions that could not fail, and trim parametrize axes that select no distinct code path. - Render RTX Minimal (simple_shading) goldens only in the Cartpole and Shadow Hand scenes, one physics backend per RTX renderer; Shadow Hand stays because Cartpole cannot tell the MDL shading levels apart. - Filter physics backends the Franka deformable and heterogeneous Kuka configs do not declare out of the rendering matrices instead of skipping them at runtime, and delete the always-skipped kit Franka soft file, the duplicated OVRTX yellow-background file, and their dead golden images. - Consolidate Hydra preset, preset CLI, runtime compatibility, distributed device, and camera preset tests into their keepers, and drop Newton-default rows that resolve to the default configuration. - Repair tests whose assertions passed with the contract broken (unknown preset validation, parse_env_cfg overrides, kitless distributed device, tendon ordering, negative sampler weights, XR camera feed wiring, SO-101 output order, curriculum clamping).
|
run-ci |
|
Comments Outside DiffThese findings sit on lines the diff does not cover, so they could not be posted inline. Each one leaves this list once its file changes.
|
There was a problem hiding this comment.
Isaac Lab Review Bot
Reviewed the test-audit pruning across isaaclab_tasks, including rendering matrix consolidation, backend filtering, deleted golden images, merged preset and distributed-device cases, and removal of the always-skipped Franka soft rendering file from both the suite and CI list. No candidate findings were supplied or supported for posting.
- Design and architecture: The rendering test matrix now separates simple-shading coverage into dedicated MINIMAL_* collections and excludes unsupported backend combinations during parametrization rather than at runtime. This is confined to test infrastructure; the main tradeoff is intentionally narrower scenario coverage in exchange for reduced runtime.
- API: No production APIs, configuration fields, CLI contracts, or package exports are changed. The deleted rendering test is also removed from the workflow, and the test-only package change includes a .skip changelog fragment.
- Implementation: Checked the parameter tuple indexing used by the new backend filters, the consumers of the minimal and non-minimal rendering groups, corresponding golden-image removals, merged Hydra and distributed-device tests, and registry cleanup in the new unknown-preset test. The changed paths remain internally consistent, with residual risk primarily from the deliberately reduced test matrix rather than a demonstrated implementation defect.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
|
Backported to |
# `isaaclab_tasks` changed test files: 12:27 → 8:45 (−30%) This times the 42 `isaaclab_tasks` test files this PR touches, rendering files included. Each run goes through `pytest tools` on the same machine with a warm Warp cache, once on `develop` and once on this PR. Four kitless and cable rendering files fail on both sides, only from local golden-image and renderer environment differences. | | `develop` | this PR | |---|---:|---:| | Wall time (changed files) | 12:27 | **8:45** | | Rendering nodes, Kit jobs | 83 | 36 | | Rendering nodes, kitless jobs | 166 | 68 | | Test functions | 379 | 309 | | Test lines | 12,664 | 11,656 | | Golden images | – | 137 removed | The only change outside test files: `.github/workflows/build.yaml` no longer lists the deleted `test_rendering_franka_soft.py`. ## What changed Pruned with the `isaaclab-auditing-tests` skill (#8007), campaign mode. **Method.** Every test was marked keep, fix, merge or delete. Whenever a deletion's keeper does not carry the assertions verbatim, a deliberate production mutation proves the keeper fails. An independent review then restored every gap it found: the Pink `daqp` dependency row and the dict-form `distributed=False` no-op. - **Rendering:** - The minimal-mode (simple-shading) golden layer went down to the Shadow Hand rows. Cartpole's flat materials render the same at shading modes 3 and 2, so its golden images could not catch a mode regression. - Newton-default and always-skipped OVPhysX rows were dropped. - `test_rendering_franka_soft.py` was deleted; every one of its nodes always skipped. - The yellow-background kitless file is covered by `test_ovrtx_usd.py`. - **Deleted:** tests covered elsewhere: - hydra (13), `preset_cli` (6), distributed device resolution (10), runtime compatibility (4) - quaternion helper replays (covered by `test_math.py`) - three `rl_device` GPU-to-GPU rows - two determinism rows (385 s → 94 s) - **Merged:** camera preset tables (19 → 4 and 6 → 2 rows), kit-decision selectors, lazy-stub import kinds, and the Kuka OVPhysX presets. - **Fixed tests that could not fail:** - the hydra unknown-preset test - the `parse_env_cfg` override test - the kitless distributed test, which now uses the real resolver - the fake hand's `preserve_order` - the sampler negative weight - the XR feed link - SO-101 output order, which used to skip where it should fail ## Follow-ups - The OVPhysX smoke, MPM, Kuka visual-material, yellow-background and partition-bounds rendering files are not wired into CI. - `CameraCfg.validate_config` needs a core test. ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## 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] My changes generate no new warnings - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there (cherry picked from commit 0de4bf7)
…8031) Backports the two test-prune PRs whose automatic backports failed to `release/3.0.0`: - #8022 — prune core `isaaclab` tests with the test-audit skill (core job 32:18 → ~22:40 locally). The bot could not replay it because the PR contained a merge commit. - #8008 — prune Newton tests with the test-audit skill. The bot's cherry-pick applied, but its validation rejected the result. Each is a `git cherry-pick -x` of the squash commit on `develop`: - **#8008** applies identically. - **#8022** applies identically except for three asset-interface test fixtures, which `release/3.0.0` already has in #8022's final form. Test-only changes plus `.skip` changelog fragments. Tests are validated by this PR's CI. The rest of this test-audit series is already on `release/3.0.0`: - #8003 via #8002 - #8009 and #8010 via #8018 - #8006, #8007, #8019 and #8020 by the backport bot --------- Signed-off-by: Octi Zhang <[email protected]> Co-authored-by: Octi Zhang <[email protected]>
isaaclab_taskschanged test files: 12:27 → 8:45 (−30%)This times the 42
isaaclab_taskstest files this PR touches, rendering files included. Each run goes throughpytest toolson the same machine with a warm Warp cache, once ondevelopand once on this PR. Four kitless and cable rendering files fail on both sides, only from local golden-image and renderer environment differences.developThe only change outside test files:
.github/workflows/build.yamlno longer lists the deletedtest_rendering_franka_soft.py.What changed
Pruned with the
isaaclab-auditing-testsskill (#8007), campaign mode.Method. Every test was marked keep, fix, merge or delete. Whenever a deletion's keeper does not carry the assertions verbatim, a deliberate production mutation proves the keeper fails. An independent review then restored every gap it found: the Pink
daqpdependency row and the dict-formdistributed=Falseno-op.test_rendering_franka_soft.pywas deleted; every one of its nodes always skipped.test_ovrtx_usd.py.preset_cli(6), distributed device resolution (10), runtime compatibility (4)test_math.py)rl_deviceGPU-to-GPU rowsparse_env_cfgoverride testpreserve_orderFollow-ups
CameraCfg.validate_configneeds a core test.Release backport
developChecklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.mdor my name already exists there