Skip to content

Remove obsolete commented-out configclass field check - #7914

Merged
ooctipus merged 2 commits into
isaac-sim:developfrom
ooctipus:cleanup/configclass-dead-inheritance-check
Sep 20, 2026
Merged

ooctipus merged 2 commits into
isaac-sim:developfrom
ooctipus:cleanup/configclass-dead-inheritance-check

Conversation

@ooctipus

@ooctipus ooctipus commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Delete the commented-out MISSING check in _process_mutable_types, along with its historical explanation, reference link, and Python 3.10 TODO. This removes seven comment lines without changing executable code.

The inherited-field ordering restriction still exists in Python 3.12. The active implementation intentionally wraps MISSING values in default factories so incomplete configs can be constructed and checked later with validate(). That handling remains necessary and unchanged; the deleted block was a disabled alternative, not the implementation of the workaround.

Validation

  • Existing test_configclass.py suite: 46 passed on Python 3.12.12.
  • Temporary probe confirmed that inherited missing fields can be populated after construction and that validate() rejects them while missing.
  • Restoring the intended if value is MISSING: continue in an isolated in-memory copy reproduced the inherited-field ordering error.
  • Parsed Python AST is identical before and after the cleanup.
  • uv run --no-sync isaaclab -f and git diff --check: passed.

Release backport

  • Backport this pull request to the active release branch after it merges into develop.

@ooctipus
ooctipus requested a review from a team September 20, 2026 03:30
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Sep 20, 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

The PR removes seven obsolete comment lines from _process_mutable_types and adds the required .skip changelog fragment. The patch contains no executable code changes.

  • Design and architecture: The cleanup leaves _process_mutable_types control flow, ownership, and dependencies unchanged. Removing stale historical commentary is consistent with the repository guidance to keep comments focused on current intent and constraints.
  • API: No public symbols, signatures, defaults, exports, or configclass semantics change. Existing callers and annotation-processing behavior remain unaffected because the removed block was entirely commented out.
  • Implementation: The patch was traced through the surrounding ClassVar, Field, type, and mutable-value dispatch and does not remove an active guard or statement. The package-level .skip fragment appropriately records this non-user-visible cleanup; the removed historical context remains available in version control.

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 20, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because it changes only comments and cleanup metadata.

Summary

This PR removes an obsolete commented-out field check and its outdated inheritance explanation without changing executable behavior.

  • Deletes seven comment lines from _process_mutable_types.
  • Adds a changelog skip entry documenting the cleanup.

Reviews (1) · Last reviewed commit: "Remove obsolete commented-out configclas..."

@ooctipus

Copy link
Copy Markdown
Collaborator Author

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 20, 2026
@ooctipus
ooctipus merged commit b581fe8 into isaac-sim:develop Sep 20, 2026
53 checks passed
@ooctipus
ooctipus deleted the cleanup/configclass-dead-inheritance-check branch September 20, 2026 06:22
@isaaclab-bot

isaaclab-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as 01b59b5.

isaaclab-bot Bot pushed a commit that referenced this pull request Sep 20, 2026
## Description

Delete the commented-out `MISSING` check in `_process_mutable_types`,
along with its historical explanation, reference link, and Python 3.10
TODO. This removes seven comment lines without changing executable code.

The inherited-field ordering restriction still exists in [Python
3.12](https://docs.python.org/3.12/library/dataclasses.html#dataclasses.dataclass).
The active implementation intentionally wraps `MISSING` values in
default factories so incomplete configs can be constructed and checked
later with `validate()`. That handling remains necessary and unchanged;
the deleted block was a disabled alternative, not the implementation of
the workaround.

## Validation

- Existing `test_configclass.py` suite: **46 passed** on Python 3.12.12.
- Temporary probe confirmed that inherited missing fields can be
populated after construction and that `validate()` rejects them while
missing.
- Restoring the intended `if value is MISSING: continue` in an isolated
in-memory copy reproduced the inherited-field ordering error.
- Parsed Python AST is identical before and after the cleanup.
- `uv run --no-sync isaaclab -f` and `git diff --check`: passed.

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`.

(cherry picked from commit b581fe8)
ooctipus added a commit that referenced this pull request Sep 21, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant