Skip to content

[CI] Fix OVPhysX benchmark articulation setup - #7206

Merged
StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:fix/ovphysx-benchmark-sim-cfg
Aug 20, 2026
Merged

StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:fix/ovphysx-benchmark-sim-cfg

Conversation

@StafaH

@StafaH StafaH commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Description

Initialize the OVPhysX benchmark articulation mock with _sim_cfg = None, matching the PhysX and Newton benchmark factories and the real articulation constructor. This prevents actuator collection setup from raising AttributeError in the kit-less benchmark test.

This failure was exposed by CI on #7168 but is unrelated to that PR's wheel extras changes.

Type of change

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

Validation

  • uv run --extra test python -m pytest source/isaaclab/test/benchmark/test_asset_suite_runtime_semantics.py -k ovphysx_data_targets --maxfail=1 -q (skipped locally because CUDA is unavailable; the failing CI job exercises this path)
  • uv run python tools/changelog/cli.py check develop
  • 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 benchmark test covers the regression
  • I have added a changelog fragment for every touched package
  • My name is present in the repository revision history

@StafaH
StafaH requested a review from a team August 20, 2026 06:01
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Aug 20, 2026
@greptile-apps

greptile-apps Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR fixes kit-less OVPhysX benchmark articulation setup by initializing the mock’s simulation configuration field consistently with the real articulation constructor.

  • Adds _sim_cfg = None to the OVPhysX benchmark articulation factory.
  • Adds the corresponding changelog fragment.

Confidence Score: 5/5

The PR appears safe to merge with no actionable defects identified.

The new field value matches real kit-less articulation initialization, and the reachable actuator setup handles None through a defaulted attribute lookup.

Important Files Changed

Filename Overview
source/isaaclab_ov/isaaclab_ov/benchmark/assets/runtime.py Initializes the benchmark mock’s _sim_cfg field with the supported kit-less sentinel, preventing actuator setup from encountering a missing attribute.
source/isaaclab_ov/changelog.d/fix-ovphysx-benchmark-sim-cfg.skip Adds the package changelog fragment associated with the benchmark fix.

Reviews (1): Last reviewed commit: "Fix OVPhysX benchmark articulation setup" | 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

Reviewed the addition of _sim_cfg = None to the OVPhysX benchmark articulation mock and the package .skip fragment. The change directly aligns the bypassed constructor state with the actuator setup path and remains narrowly scoped.

  • Design and architecture: The fix remains within create_test_articulation and restores private state normally established by construction. It introduces no new abstraction, ownership boundary, or lifecycle behavior.
  • API: No public API, defaults, exports, or registrations change. The empty .skip fragment is consistent with a non-user-visible benchmark-fixture correction.
  • Implementation: The attribute is initialized before _create_buffers() and actuator-control construction, ensuring downstream setup can access it. The relevant CUDA-dependent regression path was not run locally, but the existing benchmark test is identified as covering it and the one-line initialization has the required ordering.

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.

@StafaH StafaH mentioned this pull request Aug 20, 2026
6 of 7 tasks
@StafaH StafaH changed the title Fix OVPhysX benchmark articulation setup [Test] Fix OVPhysX benchmark articulation setup Aug 20, 2026
@StafaH StafaH changed the title [Test] Fix OVPhysX benchmark articulation setup [CI] Fix OVPhysX benchmark articulation setup Aug 20, 2026
@StafaH
StafaH merged commit 419714f into isaac-sim:develop Aug 20, 2026
72 of 75 checks passed
kellyguo11 added a commit that referenced this pull request Aug 21, 2026
## Summary

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

- #7193 — Bake CI pytest deps into the built Docker image
- #7077 — Add OVPhysX support to Franka deformable lift tasks
- #7175 — Raise on unsupported camera renderer outputs
- #7174 — Fix benchmark play inference scope
- #7173 — Report resolved backend for play benchmarks
- #7172 — Add video recording to play benchmarks
- #7215 — Reduce GearAssembly default environment count
- #7214 — Remove Kamino preset from open drawer
- #7213 — Fix OvPhysX scene gravity randomization
- #7212 — Fix OVPhysX material binding device selection
- #7189 — Make preview surfaces renderer agnostic
- #7206 — Fix OVPhysX benchmark articulation setup

All cherry-picks and the final rebase onto the latest `release/3.0.0`
tip completed without conflicts.

## Validation

- Verified all 12 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`
- Bash syntax validation for the modified CI shell scripts.
- YAML parsing for the modified composite actions.
- Changelog validation against `release/3.0.0`.
- Targeted pytest coverage for benchmark APIs/play, video recording,
GearAssembly defaults, OVPhysX presets and runtime semantics, and
renderer-agnostic materials: **81 passed, 4 skipped, 1 deselected**.
- The deselected case is an unchanged test that hard-codes a POSIX
`/tmp` path and fails on Windows path normalization.
- `uv run isaaclab -f` passed all hooks except the changelog hook's
known release-branch baseline finding for
`source/isaaclab/changelog.d/core-test-config-fixtures.skip`; the
targeted release-base changelog check passed.

---------

Co-authored-by: Matthew Taylor <[email protected]>
Co-authored-by: Antoine RICHARD <[email protected]>
Co-authored-by: Mike Yan Michelis <[email protected]>
Co-authored-by: Maximilian Krause <[email protected]>
Co-authored-by: Octi Zhang <[email protected]>
Co-authored-by: Mustafa H <[email protected]>
@StafaH
StafaH deleted the fix/ovphysx-benchmark-sim-cfg branch September 13, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants