Repository navigation
Align Isaac Lab with Asset Region Profiles - #7549
Conversation
Greptile SummaryThis PR introduces US and China Asset Region Profiles, renames the profile selector, and synchronizes installation documentation, agent-skill guidance, tests, and changelog material.
Confidence Score: 4/5The released profile selector must retain a compatibility fallback before merging; the duplicated US root should also be aligned with the shipped experience configuration. Existing China-profile installations using the released environment variable are now silently routed through the default service, while explicit US selection uses a separately maintained root that already differs from the shipped experiences. Files Needing Attention: source/isaaclab/isaaclab/utils/assets.py, source/isaaclab/test/utils/test_assets.py Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
Env[Profile environment variables] --> Select[_selected_storage_profile]
Select --> Root[_resolve_asset_root]
Select --> Client[OmniClient routing]
Root --> Constants[Asset path constants]
Client --> Fetch[Regional asset retrieval]
Constants --> Fetch
Reviews (1): Last reviewed commit: "Remove legacy storage profile fallback" | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
The PR consistently introduces Asset Region Profile terminology, an explicit us profile, and the new initializer across implementation, tests, documentation, and install skills. However, it removes support for the previously documented ISAACSIM_STORAGE_PROFILE selector without a deprecation path, causing existing China-profile configurations to silently stop taking effect.
- Design and architecture: The named-profile table supports profiles with optional OmniClient routing and cleanly models the endpoint-less
usprofile. The main compatibility gap is that profile selection now reads only the new environment variable rather than accommodating the existing producer path during migration. - API:
configure_storage_profile()remains supported through the newconfigure_asset_region_profile()entry point, but the documentedISAACSIM_STORAGE_PROFILEenvironment interface is removed immediately. It should remain as a deprecated fallback with a warning, and the changelog should include migration guidance. - Implementation: Asset-root precedence, lazy OmniClient import, one-shot China routing configuration, the
uspath, documentation anchors, and focused tests are internally consistent. The tests replace the old selector entirely and therefore do not cover compatibility for existing environments that still export it.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
AntoineRichard
left a comment
There was a problem hiding this comment.
Besides Kelly comments this looks good. Approving to unblock when it's ready
|
run-ci |
|
Backported to |
# Description <!-- Thank you for your interest in sending a pull request. Please make sure to check the contribution guidelines. Link: https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html 💡 Please try to keep PRs small and focused. Large PRs are harder to review and merge. --> Aligns Isaac Lab with Isaac Sim's Asset Region Profiles terminology and configuration. The installation guide now has a top-level **Asset Region Profiles** section immediately after **Asset caching**, with `us` and `china` selection, precedence, switchback, kitless initialization, and manifest guidance. The implementation uses `ISAACSIM_ASSET_REGION_PROFILE`, adds an explicit `us` profile and `configure_asset_region_profile()`, and replaces the development-only `ISAACSIM_STORAGE_PROFILE` selector. The installation skill and focused tests are updated with the same behavior. This is a follow-up to #7467. No additional dependencies are required. <!-- As a practice, it is recommended to open an issue to have discussions on the proposed pull request. This makes it easier for the community to keep track of what is being developed or added, and if a given feature is demanded by more than one party. --> ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Documentation update ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Rendered installation documentation was verified locally. <!-- Example: | Before | After | | ------ | ----- | | _gif/png before_ | _gif/png after_ | To upload images to a PR -- simply drag and drop an image while in edit mode and it should upload the image directly. You can then paste the source into the above before/after sections. --> ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> ## Validation - `uv run isaaclab -f` passed. - Python compilation, changelog validation, and diff checks passed. - All 21 repository skill checks passed. - Focused no-network checks passed for the new selector and profile resolution. - Full tests and documentation builds are covered by the PR checks. (cherry picked from commit 84a6d9c)
# Description Uses the shipped Kit experience as the single source of truth for the `us` Asset Region Profile instead of duplicating the production asset URL in Python. All six shipped `.kit` experiences now use the production asset root for their `default`, `cloud`, and `nvidia` settings. Focused regression coverage verifies that `_US_ASSET_ROOT` is initialized by the Kit parser, the `us` profile keeps its existing resolution path, and every shipped experience remains aligned with the canonical production root. Follow-up to #7549. No additional dependencies are required. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable. ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) on the changed files - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there ## Validation - The two focused regression checks fail against the pre-fix #7549 head and pass with this change. - `13 passed, 48 deselected` for the asset-root and Kit-experience subset of `test_assets.py`. - All pre-commit hooks passed on the changed files, including Ruff, formatting, codespell, changelog validation, and Git LFS pointer validation. - Python compilation and `git diff --check` passed. - Full `uv run isaaclab -f` was unavailable locally because the project lockfile does not support macOS; the equivalent changed-file pre-commit suite passed.
# Description Uses the shipped Kit experience as the single source of truth for the `us` Asset Region Profile instead of duplicating the production asset URL in Python. All six shipped `.kit` experiences now use the production asset root for their `default`, `cloud`, and `nvidia` settings. Focused regression coverage verifies that `_US_ASSET_ROOT` is initialized by the Kit parser, the `us` profile keeps its existing resolution path, and every shipped experience remains aligned with the canonical production root. Follow-up to #7549. No additional dependencies are required. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable. ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) on the changed files - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there ## Validation - The two focused regression checks fail against the pre-fix #7549 head and pass with this change. - `13 passed, 48 deselected` for the asset-root and Kit-experience subset of `test_assets.py`. - All pre-commit hooks passed on the changed files, including Ruff, formatting, codespell, changelog validation, and Git LFS pointer validation. - Python compilation and `git diff --check` passed. - Full `uv run isaaclab -f` was unavailable locally because the project lockfile does not support macOS; the equivalent changed-file pre-commit suite passed. (cherry picked from commit f754f29)
Description
Aligns Isaac Lab with Isaac Sim's Asset Region Profiles terminology and configuration. The installation guide now has a top-level Asset Region Profiles section immediately after Asset caching, with
usandchinaselection, precedence, switchback, kitless initialization, and manifest guidance.The implementation uses
ISAACSIM_ASSET_REGION_PROFILE, adds an explicitusprofile andconfigure_asset_region_profile(), and replaces the development-onlyISAACSIM_STORAGE_PROFILEselector. The installation skill and focused tests are updated with the same behavior.This is a follow-up to #7467. No additional dependencies are required.
Type of change
Release backport
developScreenshots
Rendered installation documentation was verified locally.
Checklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists thereValidation
uv run isaaclab -fpassed.