Skip to content

[CI] Remove unnecessary AppLauncher from task preset tests - #7244

Merged
StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:ci/remove-unneeded-task-app-launchers
Aug 21, 2026
Merged

StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:ci/remove-unneeded-task-app-launchers

Conversation

@StafaH

@StafaH StafaH commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Description

Remove the AppLauncher startup from test_shadow_hand_camera_presets.py. The suite only constructs configuration objects, resolves presets, and validates configuration combinations; it does not create a stage, environment, sensor, or rendered frame. The renderer configuration classes are now importable without launching Kit.

The other direct AppLauncher uses under isaaclab_tasks/test were audited and retained because they exercise live environments, physics authoring, rendering, cameras, determinism, controllers, or RL wrappers. The test_preset_cli.py reference only inspects the AppLauncher argument contract and does not instantiate it.

No assertions, parametrization, or coverage were removed.

Timing

Local end-to-end pytest timing for this file:

  • before: 9.03 seconds
  • after: 3.36 seconds

In PR #6299, this file reported 26.83 seconds wall time for 0.20 seconds of test execution, so the CI saving may be larger on cold workers.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Validation

  • uv run --frozen python -m pytest -q source/isaaclab_tasks/test/core/test_shadow_hand_camera_presets.py (42 passed)
  • uv run isaaclab -f

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • My changes generate no new warnings
  • The existing 42 tests cover the unchanged behavior
  • I have added a .skip changelog fragment for isaaclab_tasks
  • My name is already present in CONTRIBUTORS.md

@StafaH
StafaH requested a review from a team August 21, 2026 08:12
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Aug 21, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

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.

Isaac Lab Review Bot

The change removes the AppLauncher bootstrap and post-launch import suppressions from the configuration-only shadow hand camera preset tests, while retaining the existing test behavior and adding the package’s .skip changelog fragment.

  • Design and architecture: The affected suite constructs lightweight configuration objects, invokes ShadowHandCameraEnvCfg.validate_config, and resolves presets through collect_presets; none of these paths requires a live simulator lifecycle. Removing Kit startup therefore aligns the test setup with its actual scope.
  • API: No public API, configuration defaults, exports, or runtime production behavior are changed. The relevant renderer configuration classes and task configuration utilities continue to be imported and exercised directly.
  • Implementation: The patch removes only the launcher setup, obsolete E402 suppressions, and the outdated docstring claim that Isaac Sim must be launched. Assertions and parametrization remain unchanged. The renderer configuration modules must remain importable without Kit; any future regression in that property will appear as a test collection failure, which is appropriate for this suite.

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.

@greptile-apps

greptile-apps Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Removes unnecessary Isaac Sim application startup from a configuration-only preset test, reducing test runtime without changing assertions or parametrization.

  • Imports renderer and task configuration classes directly without launching Kit
  • Retains all 42 preset-resolution and configuration-combination tests
  • Adds the requested skip changelog fragment

Confidence Score: 5/5

The PR appears safe to merge with no actionable correctness, security, or test-coverage regressions identified.

The changed test only constructs and traverses configuration objects, and the relevant renderer, sensor, scene, preset, and feature-extractor imports resolve through pure-Python configuration modules without requiring a launched Kit application.

Important Files Changed

Filename Overview
source/isaaclab_tasks/test/core/test_shadow_hand_camera_presets.py Removes AppLauncher initialization and obsolete deferred-import annotations; the imported configuration path does not expose a concrete dependency on a running simulator.
source/isaaclab_tasks/changelog.d/ci-remove-unneeded-task-app-launchers.skip Adds an empty skip fragment appropriate for a CI-only test optimization.

Reviews (1): Last reviewed commit: "Remove unnecessary task test app launch" | Re-trigger Greptile

@StafaH
StafaH merged commit e2c6d7b into isaac-sim:develop Aug 21, 2026
48 of 49 checks passed
ooctipus pushed a commit that referenced this pull request Aug 22, 2026
## Summary

Cherry-picks the following merged PRs from `develop` onto
`release/3.0.0`, preserving each as an individual commit with `-x`
provenance:

- #7244 — Remove the unnecessary AppLauncher from task preset tests
- #7241 — Report cumulative retry wall time in the test orchestrator
- #7114 — Group compatible rendering correctness AOVs

The commits are applied in their chronological `develop` order. All
three cherry-picks completed without conflicts. The release branch
already contains the OVRTX multi-AOV prerequisite from #7286.

## Type of change

- Bug fix (non-breaking CI and test-runtime improvements)

## Validation

- Verified all three backported commits have patch IDs identical to
their source squash commits and retain their `cherry picked from`
footers.
- `git diff --check upstream/release/3.0.0..HEAD`
- Release-base changelog validation passed.
- Test orchestrator result handling: **11 passed**
- Shadow Hand camera presets: **42 passed**
- Rendering parametrization helpers: **16 passed**
- Kitless rendering suites: **166 tests collected successfully**
- `uv run isaaclab -f` passed all formatting, lint, whitespace, RST,
changelog, Git LFS, and repository-hygiene hooks.

GPU rendering execution was not repeated locally; CI remains
authoritative for the renderer integration paths already validated in
#7114.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] No documentation changes are required
- [x] My changes generate no new warnings
- [x] Existing and backported tests cover the changed behavior
- [x] Each touched source package has a changelog fragment
- [x] My name already exists in `CONTRIBUTORS.md`

---------

Co-authored-by: Piotr Barejko <[email protected]>
@StafaH
StafaH deleted the ci/remove-unneeded-task-app-launchers branch September 13, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants