Skip to content

[Backport release/3.0.0] Update Isaac Sim image and nested conversion - #7234

Merged
kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-prs-7070-7118-release-3.0.0
Aug 21, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-prs-7070-7118-release-3.0.0

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Summary

Cherry-picks the following merged PRs from develop onto release/3.0.0, preserving each as an individual commit with -x provenance:

The commits are applied in their develop history order. Both cherry-picks completed without conflicts.

Validation

  • Verified both backported commits have patch IDs identical to their source squash commits and retain their cherry picked from footers.
  • git diff --check upstream/release/3.0.0..HEAD
  • uv run --extra test --frozen python -m pytest source/isaaclab/test/utils/test_dict.py -q --disable-warnings — 10 passed
  • Parsed .github/workflows/config.yaml and verified the exact e7cd73cd7a9a... Isaac Sim digest.
  • Changelog validation against release/3.0.0 passed.
  • uv run isaaclab -f passed all code, formatting, whitespace, YAML/TOML, license, and safety hooks. Its changelog hook reported pre-existing release-only fragments (ant-direct-device-mask-reset.rst and omniverse-client-2-72-1-update.rst) followed by the known Windows CP1252 reporting error; the targeted release-base changelog check passed.

isaaclab-bot Bot and others added 2 commits August 20, 2026 20:14
This automated draft updates CI to the current Isaac Sim nightly image.

| Field | Value |
|---|---|
| Image | `nvcr.io/0947644777160149/internal/isaac-sim` |
| Moving tag | `latest-develop` |
| Current pin |
`latest-develop@sha256:d4667d2c0cbc1d0dcd3aac3213799777ee2cbf8de1e91cc41684023c256f176f`
|
| Candidate pin |
`latest-develop@sha256:e7cd73cd7a9a6621274bd3a1bacddfd4ac1a15f92893e6a10cfb6b8100762a0c`
|

Source:
https://registry.ngc.nvidia.com/orgs/0947644777160149/teams/internal/containers/isaac-sim/tags

New PRs are opened as drafts so maintainers can merge after the CI
results are acceptable.

---------

Co-authored-by: isaaclab-bot[bot] <282401363+isaaclab-bot[bot]@users.noreply.github.com>
Co-authored-by: Kelly Guo <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
(cherry picked from commit f2b0e26)
# Description

`convert_dict_to_backend()` recursively processed nested dictionaries
without forwarding `backend` or `array_types`. Nested values therefore
silently reverted to the default NumPy backend.

This forwards the caller's conversion settings through recursion, adds
regression coverage, and includes a changelog fragment.

## Type of change

- Bug fix

---------

Signed-off-by: Sylvester Kaczmarek <[email protected]>
(cherry picked from commit 0f204e9)
@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Aug 21, 2026
@kellyguo11
kellyguo11 marked this pull request as ready for review August 21, 2026 03:20
@kellyguo11
kellyguo11 requested a review from a team August 21, 2026 03:20

@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

Reviewed the backported Isaac Sim CI image digest update and the nested dictionary backend-conversion fix. The recursion now consistently propagates the caller-selected backend and array types, with focused regression coverage and a changelog fragment.

  • Design and architecture: The change preserves the existing recursive conversion design while carrying conversion parameters through every dictionary depth. The image update remains isolated to the shared CI workflow configuration.
  • API: The public signature, defaults, and validation behavior of convert_dict_to_backend are unchanged. Nested dictionaries now correctly follow the backend and source array types explicitly requested by callers, aligning nested behavior with the existing top-level contract.
  • Implementation: Traced the nested NumPy-to-Torch conversion path and confirmed the recursive call receives both backend and array_types. The regression test exercises the corrected observable behavior, its new imports are used, and the user-visible fix has an appropriate package changelog fragment. The digest-only CI update does not alter workflow integration paths; correspondence between the unchanged image-version comment and the new digest remains external metadata to maintain when future images are pinned.

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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This backport updates the pinned Isaac Sim CI image and propagates backend-conversion options through nested dictionaries.

  • Pins the shared CI configuration to Isaac Sim digest e7cd73cd7a9a.
  • Preserves the requested backend and source-array selection during nested dictionary conversion.
  • Adds a nested NumPy-to-Torch regression test and changelog entry.

Confidence Score: 4/5

The PR appears safe to merge, with a non-blocking edge case for callers that pass a one-shot iterable as array_types.

Nested conversion now preserves the requested backend for ordinary tuple and list inputs, but the recursive call can silently skip conversions after a generator-backed array_types argument is exhausted.

Files Needing Attention: source/isaaclab/isaaclab/utils/dict.py

Important Files Changed

Filename Overview
.github/workflows/config.yaml Updates the Isaac Sim image to a correctly formatted immutable digest consumed by CI workflows.
source/isaaclab/isaaclab/utils/dict.py Correctly propagates conversion options recursively, but reusing a consumed one-shot array_types iterable leaves nested arrays unconverted.
source/isaaclab/test/utils/test_dict.py Covers nested NumPy-to-Torch conversion with a tuple but not the public API's one-shot iterable case.
source/isaaclab/changelog.d/sylvesterkaczmarek-fix-nested-backend-conversion.rst Accurately documents the nested backend-propagation fix.

Reviews (1): Last reviewed commit: "Fix backend propagation in nested dictio..." | Re-trigger Greptile

# -- nested dictionaries
elif isinstance(data[key], dict):
output_dict[key] = convert_dict_to_backend(value)
output_dict[key] = convert_dict_to_backend(value, backend=backend, array_types=array_types)

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 Preserve one-shot array type iterables

When array_types is a generator or another one-shot iterable, the outer conversion exhausts it before passing it into this recursive call, so nested arrays silently remain in their original backend.

Suggested change
output_dict[key] = convert_dict_to_backend(value, backend=backend, array_types=array_types)
output_dict[key] = convert_dict_to_backend(value, backend=backend, array_types=tuple(array_types))

@kellyguo11
kellyguo11 merged commit e13060d into isaac-sim:release/3.0.0 Aug 21, 2026
47 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants