Skip to content

[Backport release/3.0.0] CI and rendering test improvements - #7293

Merged
ooctipus merged 3 commits into
isaac-sim:release/3.0.0from
StafaH:codex/backport-prs-7114-7241-7244-release-3.0.0
Aug 22, 2026
Merged

ooctipus merged 3 commits into
isaac-sim:release/3.0.0from
StafaH:codex/backport-prs-7114-7241-7244-release-3.0.0

Conversation

@StafaH

@StafaH StafaH commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

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

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

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

StafaH and others added 3 commits August 21, 2026 19:25
…#7244)

# 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 isaac-sim#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

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

(cherry picked from commit e2c6d7b)
# Description

Include every subprocess attempt in the per-file wall-clock metric.
Startup-hang, timeout, and fresh-process retries previously replaced the
prior attempt duration, which hid substantial CI time from the final
summary.

This changes only test-runner reporting; test selection, execution, and
coverage are unchanged.

## Type of change

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

## Validation

- `uv run python -m pytest
source/isaaclab/test/cli/test_test_orchestrator_result_handling.py`
- `uv run isaaclab -f`

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective
- [x] I have added a changelog fragment for the touched package
- [x] My name is already present in `CONTRIBUTORS.md`

(cherry picked from commit 89aa4d2)
## Description

Group compatible camera AOVs so rendering correctness tests reuse one
environment launch. Camera configs are overridden only in tests,
including a Cartpole test adapter, while output-sensitive modes remain
isolated to preserve existing golden images.

## Type of change

- Bug fix

## Testing

- Parametrization helper tests: 8 passed
- Combined Cartpole, Shadow Hand, and Kuka RTX cases passed
- Registered Cartpole combined case passed
- Kitless rendering suites collected successfully
- Formatting, lint, and changelog checks passed

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] My changes generate no new warnings
- [x] I have added tests that prove the fix is effective
- [x] No documentation changes are required
- [x] I have added the required changelog skip fragment
- [x] My name already exists in CONTRIBUTORS.md

---------

Co-authored-by: Piotr Barejko <[email protected]>
(cherry picked from commit 7b504e3)
@greptile-apps

greptile-apps Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This backport reduces rendering-test startup overhead by grouping compatible AOVs, updates rendering CI selectors and golden images, removes an unnecessary simulator launch from preset tests, and reports cumulative retry wall time.

  • Groups compatible static rendering outputs while preserving isolated temporal, minimal-renderer, skipped, and expected-failure cases.
  • Adds multi-output Cartpole test setup and per-AOV validation thresholds.
  • Accumulates subprocess wall time across startup, timeout, and fresh-process retries.
  • Updates focused tests, CI subset node IDs, and affected rendering baselines.

Confidence Score: 5/5

The PR appears safe to merge with no concrete blocking or non-blocking defects identified.

The grouped rendering IDs align with the updated CI selectors, grouped outputs retain per-AOV validation and mark boundaries, the Cartpole helper reconstructs the intentionally bypassed camera-specific stack state, and retry durations are accumulated once per subprocess attempt.

Important Files Changed

Filename Overview
source/isaaclab_tasks/test/rendering_test_utils.py Introduces AOV grouping, multi-output environment setup, per-output validation thresholds, and renderer-specific skip handling without an accepted correctness issue.
tools/conftest.py Accumulates wall time across retry attempts while preserving the distinction between subprocess wall time and JUnit test time.
source/isaaclab_tasks/test/core/test_rendering_registered_tasks.py Adds a grouped Cartpole AOV case using a test-local environment that bypasses the production single-image restriction.
.github/test-subsets/postmerge-rendering.toml Replaces scalar-AOV selectors with node IDs generated by the grouped rendering parametrization.
source/isaaclab_tasks/test/core/test_shadow_hand_camera_presets.py Removes unnecessary AppLauncher startup from configuration-only preset tests.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Params[Rendering parameter matrix] --> Group[group_rendering_params]
  Group --> Static[Grouped static AOV node]
  Group --> Temporal[Isolated temporal node]
  Group --> Minimal[Isolated RTX Minimal node]
  Static --> Env[Single test environment]
  Temporal --> Env2[Dedicated stepped environment]
  Minimal --> Env3[Dedicated render product]
  Env --> Validate[Per-AOV golden validation]
  Env2 --> Validate
  Env3 --> Validate
Loading

Reviews (1): Last reviewed commit: "[Test] Group rendering correctness AOVs ..." | Re-trigger Greptile

@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 backport consistently integrates grouped rendering AOV parameters, cumulative orchestrator retry wall-time accounting, and removal of the unnecessary preset-test AppLauncher. One grouped runtime skip now unintentionally removes valid Franka Soft rendering coverage and should be corrected before merge.

  • Design and architecture: Grouping AOVs by rendering configuration, capture group, and pytest marks appropriately preserves separate temporal and RTX-Minimal lifecycles while reducing environment launches for compatible static outputs. However, the Franka Soft OVPhysX+OVRTX depth exemption remains a runtime skip inside the grouped helper, causing the entire static AOV group to be skipped. The exemption should instead be applied as a depth-specific parameter mark so grouping keeps it isolated.
  • API: The changed test-internal helper surfaces—including list-valued data_types parameters, PHYSICS_RENDERER_AOV_GROUPS, group_rendering_params, and per-AOV validation thresholds—are updated consistently across the supplied callers. Generated grouped test IDs align with the changed post-merge rendering subset entries.
  • Implementation: Retry wall time is accumulated across startup/timeout attempts in _run_one_pass and fresh-process retries, with corresponding assertions. In rendering_test_franka_soft, the condition checking whether depth is present in data_types skips the full grouped static case, dropping rgb, albedo, semantic segmentation, distance, and normals coverage alongside depth. Apply the depth skip before grouping through make_skip_rendering_params or an equivalent parameter mark.

Minor fixes needed. Posted 1 actionable finding inline.

Automated review; human maintainers own approval decisions.


# Native hang: the per-file CI runner kills the suite after 1000s with no pytest outcome.
if physics_backend == "ovphysx" and renderer == "ovrtx_renderer" and data_type == "depth":
if physics_backend == "ovphysx" and renderer == "ovrtx_renderer" and "depth" in data_types:

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.

🟡 Warning · Implementation — Depth skip disables entire grouped static AOV case

After grouping, data_types for the kitless franka_soft ovphysx+ovrtx case is the full static set (rgb, albedo, semantic_segmentation, depth, distance_to_camera, distance_to_image_plane, normals), since those params share the same flaky mark. The "depth" in data_types check therefore skips all seven AOVs instead of only depth, silently dropping golden coverage that previously ran. Apply this exemption as a parameter mark via make_skip_rendering_params, as done for instance_segmentation, so depth isolates into its own case.

@ooctipus
ooctipus merged commit e2d42c5 into isaac-sim:release/3.0.0 Aug 22, 2026
48 of 49 checks passed
@StafaH
StafaH deleted the codex/backport-prs-7114-7241-7244-release-3.0.0 branch August 22, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants