Repository navigation
Conversation
|
run-ci ovstage |
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable defects were found. SummaryRemoves the separate binding-readiness event while keeping
The previous-review range was not used because its merge base differs from the current PR’s merge base. The full PR was reviewed. No actionable issues were found. Tests were inspected but not run. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Attach native physics and clone] --> B[Run warmup]
B --> C[Publish MODEL_INIT]
C --> D{Borrowed stage?}
D -->|Yes| E[Prepare registered physics consumers]
E --> F[Acquire scene-data bindings]
F --> G[Complete and seal deferred render copies]
D -->|No| H[Publish PHYSICS_READY]
G --> H
H --> I[Run public callbacks in priority order]
Reviews (2) · Last reviewed commit: "expand_env_pattern" · Reviewed by Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Style consistency (1). Other reviewed categories look good.
- PR description: The title and body match the diff and report workload, hardware, backends, counts, repetitions, and startup metrics; add exact revisions, commands, software environment, and warmup procedure to make the performance comparison reproducible.
- 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: The test docstring claims consumer access before render cloning, but the callback only checks is_initialized; describe readiness at the binding event instead.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 1 inline finding.
Automated review; human maintainers own approval decisions.
| """Sensor initializes on sim reset and exposes correctly-shaped buffers.""" | ||
| @pytest.mark.parametrize("device,shared", [("cuda:0", True), ("cpu", False)]) | ||
| def test_initialization_and_shapes(sim, device, shared): | ||
| """Binding-ready consumers can use the initialized sensor before rendering copies.""" |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Match the readiness assertion
The callback checks is_initialized; it does not use sensor data before rendering copies. Describe the readiness check rather than claiming consumer access.
ooctipus
left a comment
There was a problem hiding this comment.
will try find alternative as discussed offline
10f26f1 to
789fcf6
Compare
|
run-ci ovstage |
|
run-ci ovstage |
Description
Reduce shared OVStage startup work for
Isaac-Reorient-Cube-Shadow-Camera-Directby resolving joint-wrench bindings through explicit articulation paths from the clone plan.Remove the separate binding-readiness event and prepare native physics consumers directly during OVPhysX runtime initialization. Assets, contact sensors, and joint-wrench sensors initialize after native cloning and warmup, before deferred render copies and public
PHYSICS_READYcallbacks.PhysicsManager.binding_init_event,SensorBase.initialize_event, and the OVPhysX binding event.PHYSICS_READYas the public readiness event, preserving existing callback priorities and owned-stage initialization order.expand_env_patternhelper for joint-wrench path resolution.Validation
git diff --checkpassed.Local legacy / main / PR comparison
Main revision:
467b3457PR revision:
47049eacAll three arms used the same machine and library versions:
0.8.1.458336383160.7.0.17945964360.4.0.1794520352Workload:
Isaac-Reorient-Cube-Shadow-Camera-Directat 1,225 environments, 64×64 RGB cameras, 50 warmup steps, and 100 measured simulation steps.Each arm received one excluded application warmup, followed by three unprofiled repetitions in balanced order. Application caches were retained.
The PR’s startup median was 1.3% lower than shared main and 1.8% above legacy main.
Separate diagnostic runs confirmed that joint-wrench initialization completes before render copies with the PR. Diagnostic timings are excluded from the unprofiled startup measurements.
Checklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists thereRelease backport
release/3.1.0after this pull request merges intomain.