Repository navigation
Conversation
Signed-off-by: peachtree0222 <[email protected]>
There was a problem hiding this comment.
Isaac Lab Review Bot
The patch makes the disabled DirectMARLEnvCfg.state_space = 0 branch exclusive, preserving self.state_space = None, and adds a focused unit regression and package changelog fragment.
- Design and architecture: Using
elifexpresses the disabled, flattened-observation, and explicit-space configurations as mutually exclusive paths. The negative and other truthy configuration branches retain their existing behavior. - API: The documented zero-state configuration now exposes
state_spaceasNonerather than a zero-width Gymnasium space. No public names or signatures change, and the user-visible correction is recorded in the required changelog fragment. - Implementation: The regression test directly exercises
_configure_env_spaceswithstate_space = 0through the existing simulator-free stub. One minor residual consideration is that the branch is truthiness-based and therefore also treats any other valid falsy specification as disabled, but this behavior already controlled the initial disabled assignment and does not warrant a finding from the supplied context.
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.
|
Signed-off-by: Donguk Kim <[email protected]>
AntoineRichard
left a comment
There was a problem hiding this comment.
Thanks @peachtree0222 for the PR! Looks good to me.
|
run-ci |
|
Backported to |
# Description DirectMARLEnvCfg.state_space=0 first sets the state space to None and then overwrites it with a zero-width Box. Changing the second if to elif preserves the documented disabled state while leaving negative and positive configurations in their existing branches. Fixes #7792. No new dependencies are required. The patch targets `develop` and was checked against `a8b4da3c29ae528b39d4b3c9444d782ce58d886d`. ## Validation Validated using Python 3.12.13, Gymnasium 1.3.0, and Torch 2.11.0+cu128. - Patched `test_direct_marl_env_unit.py`: 3 passed. - With the implementation fix removed in an isolated checkout: the new regression failed as expected; the other two tests passed. - Full `pre-commit run --all-files`: passed in an isolated checkout with the same committed file contents. - Both test runs emitted the same 35 Torch deprecation warnings. These are CPU-only configuration tests; no Isaac Sim, GPU simulation, or training validation is claimed. ## 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 to this change. ## 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 - [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 --------- Signed-off-by: peachtree0222 <[email protected]> Signed-off-by: Donguk Kim <[email protected]> (cherry picked from commit 618b76c)
…7530, #7899) (#7926) ## Description Backports the two changes merged into `develop` since September 19 that are still missing from `release/3.0.0`: | Source PR | Change | Source commit | | --- | --- | --- | | #7530 | Validate camera outputs against renderer capabilities before simulator startup | `31d1c53510490c76841e9c35a329574b357d9900` | | #7899 | Share native resources by construction cfg and centralize ownership and teardown | `c90c3a1097a0a669a823b880b1c8d0654d7fd267` | Includes the original regression tests, API documentation, and changelog fragments. #7530 applied without changes. #7899 required two conflict resolutions to retain the release branch's OVRTX mapping API, documentation, and tests. Of its 62 files, 59 match the merged source exactly; the other three retain those existing release additions. Release versions, lockfile entries, compiled changelogs, and documentation routing are preserved. ## Audit Checked all **33 PRs** merged from September 19, 2026 00:00 America/Los_Angeles through `develop` commit `c90c3a1097` (September 20, 21:29 Pacific), against release base `75e9c8ce12`. **31 are already backported; the remaining two are included here.** Git first-parent history and GitHub's merged PR list agree. Automatic changelog/version compilation remains branch-specific. <details> <summary>31 PRs already recorded in release</summary> | Source PRs | Existing release commit | | --- | --- | | #7777, #7608, #7895, #7872, #7831, #7834, #7838, #7840, #7903, #7674 | [`ff22c52891`](ff22c52) | | #7886 | [`41bfaee5f0`](41bfaee) | | #7042 | [`970d21ef48`](970d21e) | | #7905 | [`f0563d1f9e`](f0563d1) | | #7604 | [`dca7cfe984`](dca7cfe) | | #7610, #7603 | [`5dd2220243`](5dd2220) | | #7839 | [`b8b93bb96e`](b8b93bb) | | #6851 | [`baa025ad90`](baa025a) | | #7250 | [`f86b33e6b1`](f86b33e) | | #7910 | [`24f7b4842b`](24f7b48) | | #7810 | [`9738e096c8`](9738e09) | | #7832 | [`be270ed88b`](be270ed) | | #4679 | [`80157aa22d`](80157aa) | | #7914 | [`01b59b5a22`](01b59b5) | | #7502 | [`db7db61f60`](db7db61) | | #7918 | [`bca9dba8bb`](bca9dba) | | #7919 | [`ef1514c97c`](ef1514c) | | #7922 | [`7d6979a19e`](7d6979a) | | #7923 | [`a1dd560b98`](a1dd560) | | #7924 | [`892e51dc1d`](892e51d) | | #7925 | [`75e9c8ce12`](75e9c8c) | </details> ## Validation **745 tests passed** on the combined backport: - Core registry, configclass, replication, camera contracts, and task presets: 158 passed. - Newton manager/model/reset and coupling suites: 299 passed. - OVPhysX/OVRTX lifecycle, scene data, bindings, and material contracts: 141 passed on CPU. - Clone-plan algebra: 83 passed. - All 8 OV CUDA cases skipped in the CPU run: 8 passed on GPU. - OVPhysX ray-caster regression: 1 passed. - Kit simulation-context and PhysX scene-data tests: 54 passed. - Newton solver reset integration: 1 passed. The registry-identity and borrowed-config-field regressions both fail with the pre-backport implementations and pass with this change. Backport file-scope validation, source-file comparison, `git diff --check`, and `uv run isaaclab -f` passed. Local validation used PyTorch 2.12.0/CUDA 13.0, Isaac Sim 6.0.1.0, Newton 1.6.0rc1, and an RTX 5090. Existing deprecation/runtime warnings occurred. Full Docker CI is requested separately against the pinned environment; local checks do not claim a startup or runtime speedup. ## Checklist - [x] Read the contribution guidelines and ran formatting/changelog checks. - [x] Included source tests, documentation, and changelog fragments. - [x] Verified regression behavior and preserved release-specific changes. - [x] Recorded source commit hashes and audited the requested merge window. --------- Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: ooctipus <[email protected]>
Description
DirectMARLEnvCfg.state_space=0 first sets the state space to None and then overwrites it with a zero-width Box. Changing the second if to elif preserves the documented disabled state while leaving negative and positive configurations in their existing branches.
Fixes #7792.
No new dependencies are required. The patch targets
developand was checked againsta8b4da3c29ae528b39d4b3c9444d782ce58d886d.Validation
Validated using Python 3.12.13, Gymnasium 1.3.0, and Torch 2.11.0+cu128.
test_direct_marl_env_unit.py: 3 passed.pre-commit run --all-files: passed in an isolated checkout with the same committed file contents.These are CPU-only configuration tests; no Isaac Sim, GPU simulation, or training validation is claimed.
Type of change
Release backport
developScreenshots
Not applicable to this change.
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 there