Skip to content

Point nsys trace config at current OVRTX renderer symbols - #8115

Merged
ooctipus merged 1 commit into
isaac-sim:developfrom
fatimaanes:fanes/fix-nsys-trace-ovrtx-symbols
Sep 28, 2026
Merged

ooctipus merged 1 commit into
isaac-sim:developfrom
fatimaanes:fanes/fix-nsys-trace-ovrtx-symbols

Conversation

@fatimaanes

Copy link
Copy Markdown
Collaborator

Description

scripts/benchmarks/nsys_trace.json referenced six OVRTXRenderer methods that were renamed or consolidated away, so test_nsys_trace.py failed to resolve them. The test skips when isaaclab_ov is not importable, which is why this only surfaces on PRs that install the ov extra — for example #7137, where it fails the required isaaclab (core) [1/3] check.

Each rename was verified against the commit that made it:

Removed Replaced by Commit
_clone_sources_in_ovrtx, _clone_sources_ovstage _clone_sources #8045
_update_scene_partitions_after_clone_ovstage _update_scene_partitions_after_clone (already listed) #8045
_setup_xform_bindings _setup_xform_bindings_legacy, _setup_xform_bindings_ovstage #6602
_setup_deformable_bindings, _setup_particle_bindings _setup_geometry_bindings_legacy, _setup_geometry_bindings_ovstage #7995

Both the legacy and ovstage variants are listed because ISAAC_LAB_OVRTX_USE_OVSTAGE selects the path at runtime, so the config has to resolve under either setting.

Net 17 traced functions to 16. No code or behaviour change — this only brings the NVTX trace definitions back in line with the functions that exist.

Type of change

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

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 added a changelog fragment under source/<pkg>/changelog.d/ for every touched package
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

Notes on the checklist: no changelog fragment is required — tools/changelog/cli.py scopes to source/, and this change is under scripts/. No new test is added because test_nsys_trace.py already covers this exactly; it is the test that currently fails and will pass with this change. No documentation change is needed as no public API or behaviour changes.

Six OVRTXRenderer entries named functions that no longer exist, so
test_nsys_trace.py could not resolve them once isaaclab_ov was installed.

#8045 unified the two clone paths into _clone_sources and folded
_update_scene_partitions_after_clone_ovstage into its unsuffixed twin.
#7995 replaced the deformable, cable and particle binding setters with
_setup_geometry_bindings_legacy and _setup_geometry_bindings_ovstage.
_setup_xform_bindings split into _legacy and _ovstage in #6602.

Both variants are listed so the config resolves under either
ISAAC_LAB_OVRTX_USE_OVSTAGE setting.
@fatimaanes
fatimaanes requested a review from a team September 28, 2026 21:23
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Sep 28, 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

Updates only the OVRTX function targets in scripts/benchmarks/nsys_trace.json, replacing obsolete trace entries with consolidated and backend-specific renderer method names while preserving the existing trace configuration structure.

  • Design and architecture: The change remains confined to the existing data-driven tracing descriptor. It does not alter renderer ownership, execution paths, dependencies, or surrounding OVRTX/OVStage trace domains.
  • API: No public Python API, CLI interface, export, or JSON schema shape is changed. The compatibility surface reviewed is the trace harness’s resolution of the configured renderer symbols; exact source definitions were not included in the supplied context.
  • Implementation: The patch removes six entries and adds five, consistently producing the stated 17-to-16 reduction. Clone targets are consolidated, the redundant scene-partition variant is removed, and xform and geometry setup targets are split into legacy and OVStage variants. The main residual validation point is confirming these private symbol spellings against the renderer source or existing resolution test.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Updates benchmark trace configuration to match renamed symbols.

The PR appears safe to merge.

Summary

The PR updates the OVRTX trace configuration to use current renderer method names.

  • It replaces obsolete clone and binding entries with methods used by the legacy and OVStage paths.
  • The existing trace-resolution test checks that the listed symbols exist.

Reviews (1) · Last reviewed commit: "Point nsys trace config at current OVRTX..."

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

Agent review: LGTM. I checked each new entry against ovrtx_renderer.py on develop, and the _legacy/_ovstage pairs match the two setup paths. With --extra ov, test_nsys_trace.py passes all 35 ovrtx/ovstage entries at this head and fails exactly the 6 removed entries on develop's JSON.

@ooctipus

Copy link
Copy Markdown
Collaborator

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 28, 2026
@ooctipus
ooctipus merged commit 9485e4b into isaac-sim:develop Sep 28, 2026
28 checks passed
ooctipus added a commit that referenced this pull request Sep 29, 2026
## Summary

Backports Fatima’s #8115 to `release/3.0.0`: updates the Nsight trace
configuration to reference the current OVRTX renderer methods.

Exact cherry-pick of `9485e4b935d637166659dfb12e6b52c66ab63d25`, with no
release-specific changes.

## Validation

- [x] Formatting/lint and changelog checks passed (`uv run --no-sync
isaaclab -f`, using the release baseline).
- [x] Static symbol check against release source: six missing
OVRTXRenderer methods before, none after.
- [x] Backport validator confirmed the complete, exact upstream patch.
- [x] No source packages changed; no changelog fragment or new tests
needed.
- Existing runtime symbol-resolution tests left to CI.

Co-authored-by: fanes <[email protected]>
fatimaanes added a commit to angehu-nv/IsaacLab that referenced this pull request Sep 29, 2026
Catch up with develop to pick up the nsys trace config fix (isaac-sim#8115),
which resolves the test_nsys_trace.py failure in isaaclab (core).
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.

4 participants