Skip to content

[Workflow] Use Newton 1.5 release branch - #7709

Merged
kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0from
kellyguo11:kellyg/newton-1.5-actuator-default
Sep 10, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0from
kellyguo11:kellyg/newton-1.5-actuator-default

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Description

This updates release/3.0.0 to consume Newton from its release-1.5 Git branch instead of the newton[sim]==1.5.1 PyPI wheel. The regenerated lock resolves Newton 1.5.2 at cf5378db, which includes the latest actuator fixes, including newton-physics/newton#4101.

The wheel-builder and install-CI overrides, install smoke expectations, pin-consistency coverage, and changelog fragment are updated in sync. The Isaac Lab actuator-path default is intentionally unchanged in this release PR and is handled separately on develop.

Type of change

  • Bug fix (picks up the latest Newton 1.5 actuator fixes)
  • Workflow/dependency update

Release backport

  • Not applicable; this PR targets release/3.0.0 directly.

Screenshots

Not applicable.

Validation

  • uv lock --check
  • Wheel resolver dry-run: without install-CI overrides resolves newton==1.5.1; with overrides resolves newton==1.5.2 at cf5378db
  • uv run --extra test python -m pytest source/isaaclab/test/cli/test_install.py source/isaaclab/test/cli/test_uv_run_pyproject.py source/isaaclab/test/cli/test_wheel_builder_metadata.py -k 'EnsureNewton or version_single_source or wheel_builder_uv_overrides' (6 passed)
  • Newton upstream TestActuatorStateAssign and TestControllerStateGraphCapture against the locked build (10 passed)
  • uv run isaaclab -f with ISAACLAB_CHANGELOG_BASE_REF=release/3.0.0

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab -f
  • Documentation is not affected
  • My changes generate no new warnings
  • I have added tests that prove the dependency metadata is synchronized
  • I have added a changelog fragment under source/isaaclab/changelog.d/
  • My name already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 requested a review from a team September 10, 2026 00:18
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team infrastructure labels Sep 10, 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 default native-actuator transition is documented and remains reversible, but two release-readiness issues remain: non-lock installation paths resolve Newton from a mutable branch, and the changelog does not clearly mark the default change as breaking for unsupported or custom explicit actuator configurations.

  • Design and architecture: The actuator change preserves the existing opt-out and shared host-adapter architecture. However, the wheel-builder and install-CI overrides use the mutable release-1.5 branch while uv.lock records commit cf5378db, allowing wheel contents to drift independently of the reviewed lockfile. These overrides should use the resolved commit.
  • API: SimulationCfg.use_newton_actuators remains available with updated documentation and a False migration path. Because changing its default makes unsupported explicit actuator configurations fail during native authoring and changes actuator-object behavior for supported configurations, the changelog should explicitly mark the change as breaking and describe that failure mode.
  • Implementation: The dependency metadata and tests consistently reference the release branch, but that consistency does not provide reproducibility outside the lock-backed environment. A later branch update can silently alter wheel builds and invalidate the hard-coded newton == 1.5.2 install assertion; commit-pinning the non-lock overrides would align them with uv.lock and make the existing comment accurate.

Minor fixes needed. Posted 2 actionable findings inline.

Automated review; human maintainers own approval decisions.

@@ -1,7 +1,7 @@
numpy>=2
mujoco~=3.11.0
mujoco-warp~=3.11.0
newton[sim]==1.5.1
newton[sim] @ git+https://github.com/newton-physics/[email protected]

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 — Wheel and install CI track mutable Newton branch

uv.lock records commit cf5378db, but this override file and the identical install_ci/uv_pip/uv-overrides.txt are not lock-backed, so each wheel build re-resolves the release-1.5 head. The install smoke test now asserts m.version('newton') == '1.5.2', which breaks on the next upstream push and silently changes the shipped Newton build. Pin these overrides to the resolved commit; the pyproject.toml comment claiming an "exact git commit" is also inaccurate for a branch ref.


* Changed the Newton dependency from the ``newton[sim]==1.5.1`` PyPI release to the
``release-1.5`` Git branch to include the latest actuator fixes.
* Changed :attr:`~isaaclab.sim.SimulationCfg.use_newton_actuators` to ``True`` by default so

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.

🔵 Suggestion · Api — Changelog omits breaking effect on unsupported configs

Per the updated actuator docs, with use_newton_actuators=True every explicit actuator config must be supported and an unsupported one raises before native authoring. Flipping the default therefore makes existing scenes with unsupported or custom explicit actuator configs fail at startup, and robot.actuators[name] now returns Newton objects. Mark this entry as breaking and state that failure mode alongside the existing use_newton_actuators=False migration note.

@greptile-apps

greptile-apps Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The PR is not safe to merge until shipped multirotor environments are protected from the newly enabled native-actuator validation.

Findings

  1. P1 Default breaks multirotor environments ▶
  2. P2 Override uses mutable branch ▶

Summary

  • Native actuator execution becomes the default across Newton, PhysX, and OVPhysX.
  • Newton resolves to version 1.5.2 at commit cf5378db in the committed lock.
  • Installation overrides and smoke expectations are updated for the new dependency source and version.
  • One shipped custom actuator configuration is incompatible with the new default, and standalone branch-based resolutions are not reproducible.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[SimulationCfg created] --> B{use_newton_actuators}
  B -- False --> C[Deprecated Isaac Lab actuator path]
  B -- True --> D[Validate every explicit actuator config]
  D -->|Supported| E{Physics backend}
  E -->|Newton| F[Solver-native actuator execution]
  E -->|PhysX or OVPhysX| G[Shared host adapter]
  D -->|Unsupported, such as ThrusterCfg| H[ValueError during asset spawn]
Loading

Reviews (1) · Last reviewed commit: "Use Newton 1.5 release branch and native..."

@@ -84,8 +84,8 @@ class SimulationCfg:
with the GUI enabled. This is to allow certain GUI features to work properly.
"""

use_newton_actuators: bool = False
"""Use native actuators for supported explicit actuator configurations.
use_newton_actuators: bool = True

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.

P1 Default breaks multirotor environments

Changing use_newton_actuators to default to True makes the shipped ARL multirotor environments fail during asset spawning. These environments inherit the default and configure a ThrusterCfg, but Newton-native authoring does not support that custom explicit actuator. Validation therefore raises ValueError before the environment initializes. Please migrate this actuator configuration or explicitly keep the legacy path for the affected environments before enabling this default globally.

Knowledge Base Used: Newton backend

Comment thread pyproject.toml
@@ -401,7 +402,7 @@ override-dependencies = [
"numpy>=2",
"mujoco~=3.11.0",
"mujoco-warp~=3.11.0",
"newton[sim]==1.5.1",
"newton[sim] @ git+https://github.com/newton-physics/[email protected]",

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.

P2 Override uses mutable branch

The Newton override targets the mutable release-1.5 branch, including in the standalone override files used by wheel validation and install CI. These fresh resolutions do not consume uv.lock, so after the branch advances they can install code other than the reviewed cf5378db commit. This makes builds and validation depend on when they run. Pin these override paths to the resolved commit, or generate a commit-pinned override alongside the lock.

@kellyguo11
kellyguo11 force-pushed the kellyg/newton-1.5-actuator-default branch from a0bc1c7 to 2a2d59e Compare September 10, 2026 00:25
@kellyguo11 kellyguo11 changed the title [Newton] Use release-1.5 and native actuators by default [Workflow] Use Newton 1.5 release branch Sep 10, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 10, 2026
@kellyguo11
kellyguo11 merged commit f274fc1 into isaac-sim:release/3.0.0 Sep 10, 2026
52 checks passed
kellyguo11 added a commit that referenced this pull request Sep 10, 2026
Reverts #7709

The corresponding actuator update PR #7713 has many failing tests
kellyguo11 added a commit that referenced this pull request Sep 10, 2026
## Description

This changes `SimulationCfg.use_newton_actuators` to `True` by default
on `develop`. Supported explicit actuator models now use the native
Newton actuator path by default: Newton executes them in the solver,
while PhysX and OVPhysX use the shared host adapter.

Users can set `use_newton_actuators=False` to restore the deprecated
Isaac Lab actuator execution path. The configuration documentation,
actuator guide, focused default test, and changelog fragment are updated
together.

This is the actuator-side change split from #7709. That release PR now
contains only the Newton `release-1.5` dependency update.

## Type of change

- Behavior change (native actuator execution is now the default)
- Documentation update

## Release backport

- [ ] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Screenshots

Not applicable.

## Validation

- `uv run --extra test python -m pytest
source/isaaclab/test/actuators/test_newton_adapter.py` (10 passed)
- `uv sync --extra dev && PATH="$PWD/.venv/bin:$PATH" make -C docs
current-docs` (warning-free)
- `uv run isaaclab -f`

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `uv run isaaclab -f`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added a test that proves the new default and explicit
opt-out
- [x] I have added a changelog fragment under
`source/isaaclab/changelog.d/`
- [x] My name already exists in `CONTRIBUTORS.md`

---------

Co-authored-by: Antoine Richard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant