Skip to content

Fix Newton dominoes initialization - #8660

Merged
kellyguo11 merged 2 commits into
isaac-sim:developfrom
maxkra15:maxkra15/fix-dominoes-builder-6939877
Oct 16, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:developfrom
maxkra15:maxkra15/fix-dominoes-builder-6939877

Conversation

@maxkra15

@maxkra15 maxkra15 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

isaaclab example newton-dominoes stops before reset with AttributeError: NewtonManager has no attribute '_builder'. The example already declares its 1 mm contact gap through NewtonCfg.default_shape_cfg. Removed the obsolete duplicate private-builder write and its unused import, preserving the declarative configuration and solver settings.

Fixes NVBug 6939877, reported on release/3.0.0 at 1241f4b. The affected release example has the same obsolete access.

Type of change

  • Bug fix (non-breaking)

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Validation

  • Reproduced the reported _builder error before the fix.
  • Validated real example startup, reset and CPU stepping with a representative scene; finalized model shape gaps remain 1 mm.
  • Existing standalone example launch coverage remains unchanged. No dedicated scene fixture was added for this redundant-write removal.
  • Full repository hooks passed with uv run isaaclab -f.
  • Full-logo GUI dragging/cascade behavior was not qualified.

Checklist

  • Read the contribution guidelines
  • Ran all repository formatting/lint hooks
  • Validated the changed behavior
  • Added the package changelog fragment
  • No new public API or dependency

Remove the obsolete private builder access and preserve the declared
contact gap. Cover actual startup and native model gaps in the existing
standalone test owner.

Fixes NVBug 6939877
@maxkra15
maxkra15 requested a review from a team October 16, 2026 08:25
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Oct 16, 2026
@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Removes the obsolete NewtonManager._builder access that stopped the domino example before reset.

  • The Newton domino example reaches reset with its configured contact gap.

No actionable issues found. Tests were not run during this review.

Reviews (1) · Last reviewed commit: "fix: Restore Newton dominoes initializat..." · Reviewed by Greptile

@maxkra15

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 Oct 16, 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

Needs attention: Test quality (1). Other reviewed categories look good.

  • PR description: The description matches the removed private write, retained declarative gap, regression scope, changelog, and reported validation; no performance claim or hot-path change requires measurements.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: The regression meaningfully checks finalized scene gaps and startup, but its real Newton subprocess ignores the module’s configurable startup budget; replace the 120-second timeout with STARTUP_TIMEOUT.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

namespace['main']()
"""
result = subprocess.run(
[sys.executable, "-c", code, str(script)], capture_output=True, text=True, timeout=120, check=False

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 · Test Quality — Hard-coded timeout contradicts module convention

This subprocess starts a real Newton simulation but caps at 120 s, while the module defines STARTUP_TIMEOUT (300 s, env-tunable) for script startup; a cold Warp kernel cache can flake. Use STARTUP_TIMEOUT.

Keep the change scoped to removing redundant private configuration.
The existing standalone launch coverage remains, and the production
startup fix was validated against a real representative CPU scene.
@maxkra15

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 Oct 16, 2026
@kellyguo11
kellyguo11 disabled auto-merge October 16, 2026 14:35
@kellyguo11
kellyguo11 merged commit f175586 into isaac-sim:develop Oct 16, 2026
59 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as 60fdd65.

isaaclab-bot Bot pushed a commit that referenced this pull request Oct 16, 2026
## Description

`isaaclab example newton-dominoes` stops before reset with
`AttributeError: NewtonManager has no attribute '_builder'`. The example
already declares its 1 mm contact gap through
`NewtonCfg.default_shape_cfg`. Removed the obsolete duplicate
private-builder write and its unused import, preserving the declarative
configuration and solver settings.

Fixes NVBug 6939877, reported on `release/3.0.0` at `1241f4b`. The
affected release example has the same obsolete access.

## Type of change

- Bug fix (non-breaking)

## Release backport

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

## Validation

- Reproduced the reported `_builder` error before the fix.
- Validated real example startup, reset and CPU stepping with a
representative scene; finalized model shape gaps remain 1 mm.
- Existing standalone example launch coverage remains unchanged. No
dedicated scene fixture was added for this redundant-write removal.
- Full repository hooks passed with `uv run isaaclab -f`.
- Full-logo GUI dragging/cascade behavior was not qualified.

## Checklist

- [x] Read the contribution guidelines
- [x] Ran all repository formatting/lint hooks
- [x] Validated the changed behavior
- [x] Added the package changelog fragment
- [x] No new public API or dependency

(cherry picked from commit f175586)
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