Skip to content

Remove ovphysx workaround script - #5549

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
pbarejko:pbarejko/remove-run-ovrtx
May 20, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
pbarejko:pbarejko/remove-run-ovrtx

Conversation

@pbarejko

@pbarejko pbarejko commented May 8, 2026

Copy link
Copy Markdown
Collaborator

Description

With ovrtx-0.4.4. we don't need run-ovphysx script.

Note, there is a mistake in the branch name.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label May 8, 2026
@pbarejko pbarejko changed the title Remove workaround script Remove ovphysx workaround script May 8, 2026
@greptile-apps

greptile-apps Bot commented May 8, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes scripts/run_ovphysx.sh, a workaround shell script that pre-loaded ovphysx's libcarb.so and configured PYTHONPATH/LD_PRELOAD to allow running ovphysx in Kit's Python environment — no longer necessary with ovrtx-0.4.4.

  • scripts/run_ovphysx.sh is deleted entirely; the script set up environment variables (CARB_APP_PATH, LD_PRELOAD, PYTHONPATH) and exec'd Kit's Python binary.
  • A comment in source/isaaclab/test/assets/test_articulation_iface.py (lines 22–24) still references the removed script by name and should be updated to reflect that the script no longer exists.

Confidence Score: 4/5

Safe to merge — the deleted script was a standalone workaround with no functional callers remaining after deletion.

The change is a clean file deletion with no remaining functional callers. The only leftover artifact is a comment in test_articulation_iface.py that names the removed script, which is cosmetic and does not affect test logic or runtime behaviour.

The comment on lines 22–24 of source/isaaclab/test/assets/test_articulation_iface.py should be updated to remove the reference to the deleted script.

Important Files Changed

Filename Overview
scripts/run_ovphysx.sh Shell workaround script deleted — no longer needed with ovrtx-0.4.4; a stale comment referencing this file remains in a test file.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[User invokes training/test] --> B{ovrtx version?}
    B -- "< 0.4.4 (before PR)" --> C[run_ovphysx.sh]
    C --> D[Set LD_PRELOAD to ovphysx libcarb.so]
    D --> E[Set PYTHONPATH / env vars]
    E --> F[exec kit/python/bin/python3]
    B -- ">= 0.4.4 (after PR)" --> F
    F --> G[Python process runs]
Loading

Comments Outside Diff (1)

  1. source/isaaclab/test/assets/test_articulation_iface.py, line 22-25 (link)

    P2 Stale reference to removed script

    Lines 22–24 still reference run_ovphysx.sh in a comment that describes the runtime detection logic. Since the script is being deleted in this PR, the comment becomes misleading — future readers will look for a file that no longer exists. The underlying _kitless heuristic (LD_PRELOAD == "" and EXP_PATH not set) may still be the right condition to keep if kitless execution is still supported via other means, but the comment should at minimum be updated to remove the reference to the deleted script.

Reviews (1): Last reviewed commit: "Remove workaround script" | Re-trigger Greptile

@pbarejko pbarejko self-assigned this May 11, 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 🤖

Summary: Clean removal of scripts/run_ovphysx.sh workaround script that is no longer needed with ovrtx-0.4.4.

✅ Changes

  • Deleted: scripts/run_ovphysx.sh (71 lines)
  • The script handled LD_PRELOAD for libcarb.so, PYTHONPATH setup for pxr/USD bindings, and isaaclab package paths

Assessment

This is a straightforward cleanup PR. The workaround script was needed to preload ovphysx's bundled libcarb.so and set up the Python environment correctly. With ovrtx-0.4.4, these workarounds are no longer necessary.

Note: The PR description mentions a typo in the branch name (remove-run-ovrtx vs remove-run-ovphysx) — cosmetic only, doesn't affect the change.

Checklist Items

  • Consider updating any documentation that references run_ovphysx.sh
  • If there are any CI jobs or scripts that invoke this file, they'll need updates

LGTM for the change itself. 👍

@pbarejko
pbarejko force-pushed the pbarejko/remove-run-ovrtx branch from 1f12b8f to 48eefc0 Compare May 12, 2026 20:14
@kellyguo11 kellyguo11 moved this to Ready to merge in Isaac Lab May 18, 2026
@pbarejko
pbarejko force-pushed the pbarejko/remove-run-ovrtx branch from 48eefc0 to aba5a9c Compare May 20, 2026 20:41

@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 🤖

Summary: Clean removal of scripts/run_ovphysx.sh workaround script that is no longer needed with ovrtx-0.4.4.

✅ Changes

  • Deleted: scripts/run_ovphysx.sh (79 lines)
  • The script handled:
    • LD_PRELOAD for ovphysx's bundled libcarb.so to win the SONAME race
    • PYTHONPATH setup for pxr/USD bindings
    • isaaclab source package paths for editable installs
    • Kit environment variables (CARB_APP_PATH, ISAAC_PATH, EXP_PATH)

Assessment

This is a straightforward cleanup PR. With ovrtx-0.4.4, the workarounds in this script are no longer necessary—the Carbonite/USD environment is properly configured without manual preloading.

Verified: No other files in the repository reference run_ovphysx.sh (code search returned 0 results).

CI Status: Pre-commit, labeler, and initial checks passing. Core test suites still running.

Notes

  • Branch was rebased onto develop (commit date updated to May 20)
  • PR already has collaborator approval from @huidongc

LGTM 👍

@kellyguo11
kellyguo11 merged commit 93e86f9 into isaac-sim:develop May 20, 2026
63 of 65 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to merge to Done in Isaac Lab May 20, 2026
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

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants