Repository navigation
Cherry-picks nurec doc updates, changelog and doc jobs, and environment training fixes from develop - #5855
Conversation
# Description Lower the default scene size for the UR10e Deploy GearAssembly training configs from 4096 to 2048 environments. These newly enabled rsl_rl tasks were exhausting GPU memory at the inherited default; 2048 was smoke-tested on a 16 GB RTX 5000 Ada laptop GPU. No new dependencies are required. Fixes # (none) Verification: - `./isaaclab.sh -p -m pytest source/isaaclab_tasks/test/test_deploy_gear_assembly_cfg.py` - Red check before the fix: 2 failures, both resolving to `4096` instead of `2048`. - 2048-env one-step smoke check for `Isaac-Deploy-GearAssembly-UR10e-2F140-v0` and `Isaac-Deploy-GearAssembly-UR10e-2F85-v0` on `NVIDIA RTX 5000 Ada Generation Laptop GPU, 16376 MiB`. - `./isaaclab.sh -f` before commit and again after commit. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Screenshots N/A ## Checklist - [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 - [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 (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
# Description Fixes MARL environment config space deserialization so non-serialized per-agent space specs are preserved when Hydra resolves task configs. This keeps `cfg.observation_spaces` and `cfg.action_spaces` populated for all agents in `cfg.possible_agents`, including: - `Isaac-Cart-Double-Pendulum-Direct-v0` (`cart`, `pendulum`) - `Isaac-Shadow-Hand-Over-Direct-v0` (`right_hand`, `left_hand`) Fixes: N/A (reported from local reproduction) ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Screenshots N/A ## Test Plan - [x] `./isaaclab.sh -p -m pytest source/isaaclab/test/envs/test_spaces_utils.py::test_replace_strings_with_env_cfg_spaces_preserves_unserialized_marl_spaces -q` - [x] `./isaaclab.sh -p -m pytest source/isaaclab/test/envs/test_spaces_utils.py -q` - [x] Verified `resolve_task_config()` preserves observation/action spaces for Cart Double Pendulum and Shadow Hand Over with `skrl_ippo_cfg_entry_point` and `skrl_mappo_cfg_entry_point`. - [x] `./isaaclab.sh -f` ## Checklist - [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 (N/A; no docs change needed) - [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 (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
# Description Merge from main introduced a bad change in the doc building job that prevented updates from being pushed to the compiled docs. Reverting `force_orphan: true` as it creates an orphan gh-pages branch and pushes it with --force, which violates the branch rule. Without it, peaceiris/actions-gh-pages should use a normal push.
…ab_ppisp (isaac-sim#5831) ## 1. Summary - Unblocks nightly compile job https://github.com/isaac-sim/IsaacLab/actions/runs/26494922179 by seeding `source/isaaclab_ppisp/docs/CHANGELOG.rst` with a real `0.1.0` entry. - Layered prevention so this class of incident cannot wedge the nightly again: self-heal in compile (auto-fix the narrow stub shape) + cmd_check walk (block truly broken shapes at PR time) + per-package isolation in `cmd_compile` (one bad package no longer kills the batch) + workflow tolerance (commit/push still runs on partial success). - 6 files changed: 234 insertions, 6 deletions. ## 2. Background The `isaaclab_ppisp` package landed via isaac-sim#5499 (directory) + isaac-sim#5748 (CHANGELOG.rst + extension.toml) with the file containing exactly 20 bytes: ``` Changelog --------- ``` The compile-time regex in `Package.write_changelog_entry` requires a blank line after the underline as an anchor for the prepend: ```python re.search(r"^Changelog\n-+\s*\n\s*\n", text, re.MULTILINE) ``` The stub satisfies header + underline but not the trailing blank line. The PR gate only inspected fragment-diff content, so the malformed target file slipped through. When the next `nicolasm-ppisp-*.minor.rst` fragments accumulated and the nightly compile tried to prepend, the regex match failed, `cmd_compile` exited non-zero on the first package error, and the workflow's commit/push step was skipped under default `if: success()` — every successfully-compiled package's writes were discarded with the failing one. ## 3. Changes ### 3.1 Seed entry for `isaaclab_ppisp` `source/isaaclab_ppisp/docs/CHANGELOG.rst` carries a real `0.1.0 (2026-05-20)` Added section. Pre-commit's end-of-file fixer strips trailing blank lines, so a content-bearing seed is the only stable shape — relying on a bare `Changelog\n---------\n\n` would lose the blank line on the next PR that touches the file. ### 3.2 Single source of truth for the header regex ```python CHANGELOG_HEADER_RE = re.compile(r"^Changelog\n-+\s*\n\s*\n", re.MULTILINE) ``` Hoisted to module level in `tools/changelog/cli.py`. The producer (`write_changelog_entry`) and the gate (`cmd_check`) share the same compiled regex object — drift between gate and compile is structurally impossible. ### 3.3 Self-healing compile `write_changelog_entry` now normalizes the file in-memory before the regex search: ```python text = re.sub(r"^(Changelog\n-+)\n(?!\n)", r"\1\n\n", text, count=1, flags=re.MULTILINE) ``` Matches "header + dashes + one newline NOT followed by another newline" and inserts the missing `\n`. Idempotent on well-formed files via the negative lookahead. The compile writes the normalized text back to disk, so a malformed file becomes canonical on first compile. The original ppisp 20-byte stub would have self-healed silently without this PR. ### 3.4 PR-gate header walk `cmd_check` walks `Package.discover()` and applies the same self-heal normalization, then asserts `CHANGELOG_HEADER_RE` matches. The narrow "missing blank line" case passes silently (the system will auto-fix). Genuinely broken shapes — no `Changelog` line, no underline, wrong underline char, leading whitespace, misspelled header — fail with an `::error::` annotation listing the offending file and the seed-template snippet contributors should copy. ### 3.5 Per-package isolation in `cmd_compile` The compile loop replaces fail-fast `return 1` with `failures.append + continue`. A package whose CHANGELOG.rst raises is skipped; the rest of the batch continues. Exit code is non-zero only if any package failed, with a summary block naming each failure. Defense-in-depth for failure modes the PR gate doesn't catch: version mismatch between `extension.toml` and `pyproject.toml`, filesystem permission errors, direct pushes bypassing the PR gate, future failure modes added to `Package.compile`. ### 3.6 Workflow tolerance for partial success `.github/workflows/nightly-changelog.yml`: - Compile step gets `continue-on-error: true` and a step id. - Commit/push step guard changes from `if: ${{ !inputs.dry_run }}` to `if: ${{ always() && !inputs.dry_run }}`. Successful packages' on-disk writes are committed and pushed even when compile reported partial failure. - Trailing step `if: ${{ steps.compile.outcome == 'failure' }}` re-asserts non-zero so the job tile stays red and the maintainer is notified. ### 3.7 Per-PR pytest gate, path-filtered `.github/workflows/changelog-check.yml` runs `pytest tools/changelog/test/ -q` only when the PR touches `tools/changelog/**` (inline `git diff` check, no third-party action). PRs that only add fragments under `source/<pkg>/changelog.d/` skip the pytest step at zero overhead. ### 3.8 Regression coverage Six new tests in `tools/changelog/test/test_validate.py`: - `test_changelog_header_re_accepts_minimum_stub` — locks the minimum-valid shape. - `test_changelog_header_re_rejects_unterminated_stub` — exact 20-byte ppisp shape rejected by the raw regex. - `test_every_managed_package_has_parseable_changelog_header` — walks every managed package on disk, applies self-heal, asserts the regex matches. - `test_write_changelog_entry_self_heals_missing_blank_line` — compile against the 20-byte stub produces a well-formed file. - `test_write_changelog_entry_self_heal_is_noop_on_well_formed` — well-formed files are unchanged (idempotence). - `test_cmd_compile_continues_after_per_package_failure` — one bad package, one good; good ships, bad is named in the summary, exit code 1. ## 4. Verification - `pytest tools/changelog/test/` — 89 passed (was 83; +6). - `./isaaclab.sh -f` — pre-commit clean. - Self-heal verified: re-introduced the 20-byte stub, ran a synthetic compile, on-disk file came back canonical with the new entry on top. - Gate path verified: with a genuinely broken `CHANGELOG.rst` (no header at all), `cli.py check develop` emits `::error::Malformed CHANGELOG.rst …`. With the 20-byte self-healable stub, `cli.py check` passes (compile would auto-fix). - Per-package isolation verified: synthetic two-package fixture with one broken, ran `cmd_compile --all`, good package wrote its CHANGELOG.rst and deleted fragments, bad package was named in the failure summary, exit 1. ## 5. Out of scope / follow-ups - Cherry-pick to `release/3.0.0-beta2` (carries the same 20-byte stub). Follow-up after this lands on develop. ## 6. Test plan - [x] `pytest tools/changelog/test/` — 89/89 pass. - [x] `./isaaclab.sh -f` — pre-commit clean. - [x] Regression verified by reverting the seed. - [ ] CI green on this PR.
# Description
Issue with the folder structure when unzipping and copying
compass_usdz.zip:
cp: cannot stat '.../compass_usds/groot_mobility_rl_es_usds/usd': No
such file or directory
Actual extracted structure:
COMPASS_assets/
└── groot_mobility_rl_es_usds/
└── usd/
├── office/
└── ...
Solution:
Doc should show the correct path:
groot_mobility_rl_es_usds/usd
And should include the actual shell commands (unzip + mv/cp) rather than
just describing what to do.
## Checklist
- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) 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 updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] 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
-->
Issue: play.py verification step fails with FileNotFoundError for office.usd because the COMPASS USD assets (compass_usds.zip) are not listed as a prerequisite in the documentation, causing the script to always fail when run in documented order. Running play.py (TC-02 — Verify COMPASS Setup) fails with FileNotFoundError for office.usd. The script is hardcoded to load usd/office/office.usd from the mobility_es extension directory, but this file is part of compass_usds.zip (downloaded from nvidia/COMPASS on Hugging Face). The documentation for PR isaac-sim#5599 and the COMPASS navigation guide do not mention downloading and placing the COMPASS USD assets as a prerequisite for running play.py. As a result, play.py will always fail if run before the asset download step. Solution: Add the prerequisite (download compass_usdz.zip) steps before running the play.py verification step in the docs ## Checklist - [ ] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) 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 updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] 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 -->
Issue: Running COMPASS residual RL training with --num_envs 64 causes CUDA out-of-memory errors on an RTX 5090 (32 GB VRAM). The COMPASS documentation and the IsaacLab policy deployment guide do not mention any minimum GPU VRAM requirement. Solution: Update documentation to mention the num of envs that can be safely run with the given hardware ## Checklist - [ ] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) 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 updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] 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 --> --------- Signed-off-by: sameerchavan0027 <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
# Description Adds an early launcher error for `--viz kit` with `presets=ovphysx`, before `AppLauncher` starts, because OvPhysX cannot share a process with the Kit USD/plugin stack. Updates the OvPhysX backend, visualization, and Hydra preset docs with the supported alternatives. Fixes: N/A ## Type of change - Bug fix (non-breaking change which fixes an issue) - Documentation update ## Screenshots N/A. This is a launcher validation and documentation change. ## Checklist - [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 - [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 (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 ## Test Plan - [x] `./isaaclab.sh -p -m pytest source/isaaclab_tasks/test/test_sim_launcher_visualizer_intent.py source/isaaclab_tasks/test/test_preset_kit_decision.py -q` - [x] `./isaaclab.sh -f` Focused tests emit existing deprecation warnings from shared config classes.
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
Summary
This cherry-pick PR backports 8 fixes from develop to release/3.0.0-beta2:
| # | PR | Category | Description |
|---|---|---|---|
| 1 | #5843 | Training | Fix GearAssembly UR10e default env count (4096 → 2048) to fit 16GB GPUs |
| 2 | #5841 | MARL | Fix skrl MARL observation space config keys - preserve non-serialized entries |
| 3 | #5853 | CI | Fix doc build - revert force_orphan: true that violated branch rules |
| 4 | #5831 | CI/Tooling | Changelog hardening: PR-gate header validation, per-package compile isolation |
| 5 | #5786 | Docs | Fix COMPASS training doc - correct folder structure for compass_usds.zip |
| 6 | #5787 | Docs | Fix COMPASS doc - add prerequisite USD asset download before play.py |
| 7 | #5793 | Docs | Add VRAM requirements for NuRec Real2Sim training |
| 8 | #5805 | Runtime | Add OvPhysX + Kit visualizer guard with clear error message |
All cherry-picks appear clean with no merge conflicts.
Findings
🔵 Suggestion - source/isaaclab/isaaclab/envs/utils/spaces.py:233
The dict comprehension change from filtering to preserving non-string values is correct, but the docstring at line 212 was only lightly updated. Consider expanding the docstring to explicitly note that non-string values (already-deserialized space definitions) are preserved as-is, since this is the core behavior fix for MARL.
🔵 Suggestion - docs/source/policy_deployment/03_compass_with_NuRec/compass_navigation_policy_with_NuRec.rst:390-400
The new GPU memory table is helpful. The empirical formula VRAM ≈ 9 GB (fixed) + 1.3 GB × num_envs references RTX A6000 but the table also mentions RTX 5090. It would be clearer to note which GPU the formula was derived from (A6000) since memory characteristics can vary.
🔵 Suggestion - tools/changelog/cli.py:550-556
The self-heal regex and CHANGELOG_HEADER_RE are now both used for validation. The self-heal happens in-memory before write, but if a file is genuinely malformed (not just missing the trailing blank), the error message at line 557 could be more actionable by pointing users to the expected format shown in cmd_check.
Test Coverage
Adequate. The cherry-picked changes include:
test_deploy_gear_assembly_cfg.py- new test for UR10e env count (2048)test_spaces_utils.py::test_replace_strings_with_env_cfg_spaces_preserves_unserialized_marl_spaces- regression test for MARL fixtest_runtime_compatibility.py- new tests for OvPhysX + Kit visualizer rejectiontools/changelog/test/test_validate.py- 6 new tests for changelog header validation and compile isolation
All added tests directly verify the bug fixes.
CI Status
| Check | Status |
|---|---|
| Build Wheel | ✅ pass |
| Check changelog fragments | ✅ pass |
| Check for Broken Links | ✅ pass |
| pre-commit | ✅ pass |
| Build Docker Images | ⏳ pending |
| Build Latest Docs | ⏳ pending |
| Installation Tests | ⏳ pending |
| license-check | ⏳ pending |
Core checks have passed. Docker/installation tests still pending but not blocking for code review.
Verdict
No critical issues found. This is a well-structured cherry-pick bringing important fixes to the release branch:
- GPU memory fixes for training configs
- MARL config deserialization fix
- CI/docs pipeline hardening
- Documentation accuracy improvements
The cherry-picks are clean, each includes appropriate test coverage, and the changes are minimal and targeted. Ready to merge once pending CI checks complete.
Greptile SummaryThis cherry-pick brings eight fixes from
Confidence Score: 4/5Safe to merge; all changes are well-tested bug fixes, documentation improvements, and CI hardening. The code changes are targeted and each comes with a matching test. The spaces.py fix is correct and the new test directly demonstrates the previously-silent data-loss scenario. The sim_launcher logic is restructured carefully so the new OvPhysX guard fires before the existing OVRTX early-return. The changelog tooling changes are thoroughly covered by the new test suite. The only minor item is the unpinned pip install pytest in the CI workflow, which could behave differently across future runs. No files require special attention; the changelog-check.yml workflow step that installs pytest without a version constraint is the only item worth a second glance. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[validate_runtime_compatibility] --> B[_scan_config\nkit_physics · ovrtx · ovphysx]
B --> C[_compute_visualizer_intent\n_get_visualizer_types]
C --> D{has_ovphysx AND\nhas_kit_visualizer?}
D -- Yes --> E[raise ValueError\nOvPhysX + Kit visualizer]
D -- No --> F{has_ovrtx_renderer?}
F -- No --> G[return — safe]
F -- Yes --> H{kit_physics OR\nkit_visualizer?}
H -- No --> G
H -- Yes --> I[raise ValueError\nOVRTX + Kit runtime]
subgraph spaces_fix [spaces.py fix]
J[replace_strings_with_env_cfg_spaces]
J --> K{v is str?}
K -- Yes --> L[deserialize_space v]
K -- No --> M[keep v as-is]
end
subgraph nightly [nightly-changelog.yml]
N[Compile fragments\ncontinue-on-error: true] --> O[Commit + push\nif: always and not dry_run]
O --> P{compile.outcome\n== failure?}
P -- Yes --> Q[exit 1\nre-propagate failure]
P -- No --> R[job green]
end
Reviews (1): Last reviewed commit: "Fix OvPhysX Kit visualizer guard (#5805)" | Re-trigger Greptile |
| pip install pytest | ||
| python3 -m pytest tools/changelog/test/ -q |
There was a problem hiding this comment.
The
pip install pytest call has no version pin. A breaking pytest release (e.g., a future major that changes the -q output format or collection rules) could silently cause this CI gate to fail or produce misleading output on future runs. Pinning to a known-good version keeps the gate deterministic.
| pip install pytest | |
| python3 -m pytest tools/changelog/test/ -q | |
| pip install "pytest>=8,<9" | |
| python3 -m pytest tools/changelog/test/ -q |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Description
Cherry pick fixes from the develop branch: