Skip to content

Lock CI OVRTX installs to the pyproject version pin - #6630

Merged
pbarejko merged 8 commits into
isaac-sim:developfrom
pbarejko:pin-ovrtx-0.4
Jul 20, 2026
Merged

pbarejko merged 8 commits into
isaac-sim:developfrom
pbarejko:pin-ovrtx-0.4

Conversation

@pbarejko

@pbarejko pbarejko commented Jul 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description

CI was installing OVRTX through the extra-pip-packages input, which runs a bare
./isaaclab.sh -p -m pip install ovrtx inside the test container. A bare package
name is resolved against the index and does not consult the repo's
pyproject.toml — so it ignored the ovrtx>=0.3.0,<0.4.0 ceiling in
[tool.isaaclab.versions] (and the rtx extra) and pulled OVRTX 0.4.

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

kellyguo11 and others added 3 commits July 17, 2026 21:03
This commit introduces a new GitHub Action that reads the OV runtime pins from the repository's pyproject.toml file. The action ensures that the installed versions of OVRTX and OVPhysX are consistent with the specified versions, providing a single source of truth for versioning in CI workflows. The action is integrated into the build and daily compatibility workflows, replacing hardcoded version specifications with dynamic outputs from the action.
@pbarejko
pbarejko requested a review from a team July 20, 2026 15:47
@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Jul 20, 2026
@greptile-apps

greptile-apps Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes a CI version-pinning bug where ovrtx was installed via a bare pip install ovrtx, causing it to ignore the >=0.3.0,<0.4.0 ceiling in pyproject.toml and pull OVRTX 0.4. The fix introduces a new resolve-ov-pins composite action that reads version specifiers directly from [tool.isaaclab.versions] in pyproject.toml and exposes them as job outputs, giving every workflow a single source of truth for the install constraint.

  • New composite action (.github/actions/resolve-ov-pins/action.yml) uses tomllib to parse pyproject.toml, fails loudly via sys.exit when a required key is missing, and guards against silent partial writes with set -euo pipefail.
  • Three places in build.yaml and the inline Python block in daily-compatibility.yml are updated to consume the action output instead of bare package names.
  • New regression test added to test_uv_run_pyproject.py asserting that every extra-pip-packages: line in build.yaml that references ovrtx either carries the literal range or references steps.ov_pins.outputs.ovrtx.

Confidence Score: 5/5

Safe to merge; the core fix correctly enforces the pyproject.toml version ceiling across all three CI jobs that previously used bare package names.

The action uses set -euo pipefail and sys.exit to fail loudly on any missing key, so a rename or deletion in pyproject.toml will break the CI step rather than silently install an unconstrained version. The workflow changes are straightforward substitutions, and the new test correctly validates the build.yaml regression. No data-loss or correctness risks exist in the changed paths.

The regression test in source/isaaclab/test/cli/test_uv_run_pyproject.py does not cover daily-compatibility.yml, leaving that workflow unguarded by automated checks if it were later modified.

Important Files Changed

Filename Overview
.github/actions/resolve-ov-pins/action.yml New composite action that reads ovrtx/ovphysx version pins from pyproject.toml; error handling is solid with set -euo pipefail and sys.exit on missing keys.
.github/workflows/build.yaml Three jobs updated to call resolve-ov-pins before running tests; ovrtx installs now reference the action output. Bare ovphysx in the fork-PR fallback path is pre-existing intentional behavior.
.github/workflows/daily-compatibility.yml Replaced an inline regex-based Python block with the new composite action; separate ovphysx/ovrtx outputs are joined via format() to produce equivalent package strings.
source/isaaclab/test/cli/test_uv_run_pyproject.py New test block validates build.yaml ovrtx install lines against pyproject.toml constraints; correctly accepts either the literal range or the action-output reference pattern, but does not cover daily-compatibility.yml.
source/isaaclab/changelog.d/pin-ovrtx-04.skip CI-only changelog skip file — no functional concerns.

Sequence Diagram

%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
    participant WF as CI Workflow Job
    participant Action as resolve-ov-pins action
    participant PY as pyproject.toml
    participant GHO as $GITHUB_OUTPUT
    participant PIP as pip install

    WF->>Action: uses: ./.github/actions/resolve-ov-pins
    Action->>PY: tomllib.load("pyproject.toml")
    PY-->>Action: [tool.isaaclab.versions] dict
    Note over Action: spec("ovrtx") → "ovrtx>=0.3.0,<0.4.0"<br/>spec("ovphysx") → "ovphysx==0.4.13"
    Action->>GHO: "echo "ovrtx=ovrtx>=0.3.0,<0.4.0""
    Action->>GHO: "echo "ovphysx=ovphysx==0.4.13""
    WF->>WF: extra-pip-packages: steps.ov_pins.outputs.ovrtx
    WF->>PIP: "pip install ovrtx>=0.3.0,<0.4.0"
    Note over PIP: Version ceiling enforced ✓
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
    participant WF as CI Workflow Job
    participant Action as resolve-ov-pins action
    participant PY as pyproject.toml
    participant GHO as $GITHUB_OUTPUT
    participant PIP as pip install

    WF->>Action: uses: ./.github/actions/resolve-ov-pins
    Action->>PY: tomllib.load("pyproject.toml")
    PY-->>Action: [tool.isaaclab.versions] dict
    Note over Action: spec("ovrtx") → "ovrtx>=0.3.0,<0.4.0"<br/>spec("ovphysx") → "ovphysx==0.4.13"
    Action->>GHO: "echo "ovrtx=ovrtx>=0.3.0,<0.4.0""
    Action->>GHO: "echo "ovphysx=ovphysx==0.4.13""
    WF->>WF: extra-pip-packages: steps.ov_pins.outputs.ovrtx
    WF->>PIP: "pip install ovrtx>=0.3.0,<0.4.0"
    Note over PIP: Version ceiling enforced ✓
Loading

Reviews (2): Last reviewed commit: "Fix formatting" | Re-trigger Greptile

@pbarejko pbarejko changed the title Pin ovrtx to 0.4 version Lock CI OVRTX installs to the pyproject version pin Jul 20, 2026

@AntoineRichard AntoineRichard left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks reasonable. Note there is this PR on the ovphysx side: #6388

@pbarejko

Copy link
Copy Markdown
Collaborator Author

This is upgraded version of #6620 and uses pyproject as single source of truth.

@pbarejko pbarejko self-assigned this Jul 20, 2026
@pbarejko
pbarejko merged commit ea8f511 into isaac-sim:develop Jul 20, 2026
106 of 116 checks passed
@nvsekkin nvsekkin mentioned this pull request Jul 20, 2026
6 of 7 tasks
nvsekkin added a commit that referenced this pull request Jul 21, 2026
## Description

Refreshes all 18 Dexsuite Kuka-homo kitless golden images for the Newton physics combinations using the OVRTX and Newton Warp renderers.

#6457 corrected the object cube dimensions without regenerating these baselines, leaving a deterministic rendering mismatch that became visible after #6630 restored the intended OVRTX version.

Related to #6457 and #6630.

## Type of change

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

## Screenshots

The updated golden image assets capture the corrected cube dimensions.


## 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] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] 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
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

CI was installing OVRTX through the `extra-pip-packages` input, which
runs a bare
`./isaaclab.sh -p -m pip install ovrtx` inside the test container. A
bare package
name is resolved against the index and does **not** consult the repo's
`pyproject.toml` — so it ignored the `ovrtx>=0.3.0,<0.4.0` ceiling in
`[tool.isaaclab.versions]` (and the `rtx` extra) and pulled OVRTX 0.4.

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- 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.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) 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

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Co-authored-by: Kelly Guo <[email protected]>
Co-authored-by: AntoineRichard <[email protected]>
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
## Description

Refreshes all 18 Dexsuite Kuka-homo kitless golden images for the Newton physics combinations using the OVRTX and Newton Warp renderers.

isaac-sim#6457 corrected the object cube dimensions without regenerating these baselines, leaving a deterministic rendering mismatch that became visible after isaac-sim#6630 restored the intended OVRTX version.

Related to isaac-sim#6457 and isaac-sim#6630.

## Type of change

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

## Screenshots

The updated golden image assets capture the corrected cube dimensions.


## 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] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] 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
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
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.

4 participants