Repository navigation
Fix Newton dominoes initialization - #8660
kellyguo11 merged 2 commits into
Conversation
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
[Medium impact] The PR appears safe to merge. SummaryRemoves the obsolete
No actionable issues found. Tests were not run during this review. Reviews (1) · Last reviewed commit: "fix: Restore Newton dominoes initializat..." · Reviewed by Greptile |
|
run-ci |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
🟡 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.
|
run-ci |
|
Backported to |
## 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)
Description
isaaclab example newton-dominoesstops before reset withAttributeError: NewtonManager has no attribute '_builder'. The example already declares its 1 mm contact gap throughNewtonCfg.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.0at1241f4b. The affected release example has the same obsolete access.Type of change
Release backport
developValidation
_buildererror before the fix.uv run isaaclab -f.Checklist