Repository navigation
[Tests] Prune extension package tests with the test-audit skill - #8019
Conversation
|
run-ci |
|
| """The GelSight Mini render data resolves to files on the asset server, as the renderer loads them.""" | ||
| remote_path = os.path.join(GELSIGHT_MINI_CFG.base_data_path, GELSIGHT_MINI_CFG.sensor_data_dir_name, file_name) | ||
|
|
||
| assert os.path.isfile(retrieve_file_path(remote_path, download_dir=str(tmp_path))) |
There was a problem hiding this comment.
Asset test requires network access
If the asset server is unreachable, retrieve_file_path raises and fails the isaaclab_assets test job. The previous test did not require network access, and downloading into a per-test temporary directory cannot reuse the renderer’s cached copy. Please make server availability an explicit prerequisite or skip this check when the server is unavailable.
| @@ -0,0 +1 @@ | |||
| Pruned redundant visualizer tests and removed the unused franka-cloth golden-image helpers. | |||
There was a problem hiding this comment.
This pruning removes the Franka-cloth golden-image runner and all three reference images without a replacement. The retained Cartpole integration tests do not check deformable scene rendering, so a change to cloth appearance or placement could now go unnoticed. This is a non-blocking coverage gap; consider retaining a focused cloth image check.
Knowledge Base Used: Rendering and visualization extensions
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Isaac Lab Review Bot
The test-audit consolidation was reviewed across the affected extension packages, including merged parity/capture checks, reduced parameter matrices, removed golden-image and benchmark assets, and the tiled Newton visualizer test merge. The candidate concern about importing IsaacTeleopDevice at module scope is not directly supported by evidence that the import itself requires an initialized Isaac Sim runtime or fails during collection.
- Design and architecture: The shared capture-mutate-replay helpers preserve the Warp/stable parity structure while removing duplicated test scaffolding, and the CAPTURE_UNAUDITED declaration checks remain enforced. Consolidated integration tests continue to exercise the relevant real implementation paths rather than duplicating production logic in test helpers.
- API: No production API, public signature, default, or export is changed. The reviewed compatibility surfaces are test discovery, optional runtime imports, package test registration, changelog fragments, and visualizer retry handling; the surviving Newton visualizer file retains both the retry registration and flaky marker.
- Implementation: The removed tests were traced to their retained keepers, including deformable write and mask behavior, multirotor actuator integration, RSL-RL recurrent migration fields, Warp graph replay identity, teleop lifecycle behavior, and visualizer material and tiled integration coverage. The module-scope teleop import does not establish a concrete collection failure from the supplied context, so it does not warrant a finding.
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.
…tion review The deleted v5 recurrent pipeline tests were the only checks of the stochastic, init_noise_std, and state_dependent_std fields written by the recurrent inference branches; carry them into the stage-level keepers.
66c858a to
4d27b94
Compare
|
run-ci |
|
run-ci |
|
Backported to |
# Extension package test jobs: 27:03 → 20:58 (−22%) Each package job runs through `pytest tools` on the same machine with a warm Warp cache, once on `develop` and once on this PR. The same files fail on both sides, only from optional dependencies missing in the timing environment (`pytetwild`, viser/rerun, OpenXR). Those files pass with the extras installed. | Package job | `develop` | this PR | Test functions | |---|---:|---:|---:| | `isaaclab_rl` | 7:28 | 6:46 | 168 → 146 | | `isaaclab_mimic` | 8:19 | **4:08** | 20 → 15 | | `isaaclab_visualizers` | 5:23 | 4:58 | 93 → 75 | | `isaaclab_assets` | 1:47 | 1:27 | 2 → 2 | | `isaaclab_contrib` | 1:44 | 1:31 | 143 → 102 | | `isaaclab_teleop` | 1:40 | 1:29 | 250 → 186 | | `isaaclab_experimental` | 0:42 | 0:39 | 182 → 109 | | `isaaclab_ppisp` (not in CI) | – | – | 24 → 20 | | **Total** | **27:03** | **20:58** | **882 → 655** | Test lines: 27,724 → 24,181. The only change outside test files: the tiled Newton visualizer file was merged into `test_visualizer_integration_newton.py`, so its retry entry in `tools/conftest.py` was dropped and a flaky mark was carried into the merged file. ## What changed Pruned with the `isaaclab-auditing-tests` skill (#8007), campaign mode, one commit per package. **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 compared deleted coverage against the keepers, and every gap it found was restored and mutation-proven: - the RSL-RL recurrent-config fields (`stochastic`, `init_noise_std`, `state_dependent_std`); - Warp graph-cache replay identity; - the tiled Newton visualizer retry. - **Merged:** repeated scene or env builds that checked overlapping properties, and parametrize axes that reach no distinct code path. - **Deleted:** mock self-tests, restated config values, import and inventory checks, and duplicate per-backend replays of backend-independent helpers. - **Fixed:** assertions that could not fail. ## Follow-ups - `isaaclab_ppisp` has no CI job in `build.yaml`. - The three byte-identical mimic dataset-generation files could become one parametrized file. ## 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 --------- Co-authored-by: Octi Zhang <[email protected]> (cherry picked from commit a2cca93)
…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]>
Extension package test jobs: 27:03 → 20:58 (−22%)
Each package job runs through
pytest toolson the same machine with a warm Warp cache, once ondevelopand once on this PR. The same files fail on both sides, only from optional dependencies missing in the timing environment (pytetwild, viser/rerun, OpenXR). Those files pass with the extras installed.developisaaclab_rlisaaclab_mimicisaaclab_visualizersisaaclab_assetsisaaclab_contribisaaclab_teleopisaaclab_experimentalisaaclab_ppisp(not in CI)Test lines: 27,724 → 24,181. The only change outside test files: the tiled Newton visualizer file was merged into
test_visualizer_integration_newton.py, so its retry entry intools/conftest.pywas dropped and a flaky mark was carried into the merged file.What changed
Pruned with the
isaaclab-auditing-testsskill (#8007), campaign mode, one commit per package.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 compared deleted coverage against the keepers, and every gap it found was restored and mutation-proven:
the RSL-RL recurrent-config fields (
stochastic,init_noise_std,state_dependent_std);Warp graph-cache replay identity;
the tiled Newton visualizer retry.
Merged: repeated scene or env builds that checked overlapping properties, and parametrize axes that reach no distinct code path.
Deleted: mock self-tests, restated config values, import and inventory checks, and duplicate per-backend replays of backend-independent helpers.
Fixed: assertions that could not fail.
Follow-ups
isaaclab_ppisphas no CI job inbuild.yaml.Release backport
developChecklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.mdor my name already exists there