Skip to content

[Backport release/3.0.0] Make contributed teleop dependencies optional - #8601

Merged
kellyguo11 merged 5 commits into
isaac-sim:release/3.0.0from
kellyguo11:kellyg/fix-nvbug-6916688-all-stack-envs-release-3.0.0
Oct 15, 2026
Merged

kellyguo11 merged 5 commits into
isaac-sim:release/3.0.0from
kellyguo11:kellyg/fix-nvbug-6916688-all-stack-envs-release-3.0.0

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Backports the remaining fix from #8600 for NVBug 6916688 to release/3.0.0.

PR #8498 made the shared stack XR configuration optional, but robot-specific stack configs still coupled IsaacTeleopCfg construction to env_cfg.xr. Pick-place and locomanipulation configs also continued to import isaaclab_teleop eagerly.

This backport:

  • centralizes the optional-package availability check for contributed teleop configs;
  • preserves stack viewport and SO-101 leader-arm teleoperation when xr=None;
  • forwards xr_cfg only when explicitly configured;
  • defers teleop, XR camera-feed, and haptic configuration imports in all pick-place and locomanipulation configs;
  • keeps G1 contact reporting enabled for always-present hand contact sensors even without teleop; and
  • dynamically covers all 31 registrations from the stack, pick-place, and locomanipulation task packages.

No new dependencies are required.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

Not applicable.

Validation

  • All 31 registered stack, pick-place, and locomanipulation configs resolve and validate with isaaclab_teleop blocked
  • Both locomanip G1 configs retain their hand contact sensors and robot contact reporters without teleop\n- All 31 teleop-installed config trees match the corresponding target-branch configs
  • Five representative stack configs with xr=None retain IsaacTeleopCfg and its default XR/session config
  • All seven pick-place and locomanipulation configs retain Isaac Capture configuration with the teleop extra installed
  • uv run python -m pytest source/isaaclab_tasks/test/core/test_env_cfg_no_forbidden_imports.py -q (49 passed)
  • uv run --extra teleop python -m pytest source/isaaclab_tasks/test/core/test_xr_camera_feed_presets.py -q (6 passed)
  • uv run isaaclab --format
  • git diff --check

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • Documentation changes are not required for this dependency-loading fix
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria
  • I have added a changelog fragment under source/isaaclab_tasks/changelog.d/
  • My name already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 requested a review from a team October 15, 2026 15:01
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Oct 15, 2026
@greptile-apps

greptile-apps Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Makes robot-specific stack configs load without the optional isaaclab_teleop package.

  • Stack configs load without teleop when XR is absent.

Reviews (1) · Last reviewed commit: "Make every stack teleop configuration op..." · Reviewed by Greptile

@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

Needs attention: Design and architecture (1). Other reviewed categories look good.

  • PR description: The title and body match the six-file diff, validation covers dependency absence and teleop presence, and no measurable performance claim requires evidence.
  • Design and architecture: The four config guards implicitly rely on the shared stack config making xr unavailable with teleop; document that coupling beside the guards.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

@kellyguo11

Copy link
Copy Markdown
Contributor 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 Oct 15, 2026
@kellyguo11 kellyguo11 changed the title [Backport release/3.0.0] Make all stack teleop dependencies optional [Backport release/3.0.0] Make contributed teleop dependencies optional Oct 15, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor 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 Oct 15, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

CI note: Build Latest Docs is failing before Sphinx in .github/actions/_lib/stage-browser-demos.sh because the pinned browser-demos-v3/isaaclab-browser-demos-v3.tar.gz URL returns HTTP 404; gh release view browser-demos-v3 also reports that the release is absent. This PR does not modify docs or the staging script. The same infrastructure failure occurs on both the develop and release/3.0.0 PRs.

@kellyguo11

Copy link
Copy Markdown
Contributor 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 Oct 15, 2026
kellyguo11 added a commit that referenced this pull request Oct 15, 2026
# Description

Fixes NVBug 6916688

Contributed task configurations imported the optional `isaaclab_teleop`
package while loading environment configs, so `zero_agent` failed under
installations without that package. The original report listed seven
stack tasks; the audit now covers all 31 registered configs from the
stack, pick-place, and locomanipulation task families.

This change:
- centralizes the optional-package availability check for contributed
teleop configs;
- builds stack `IsaacTeleopCfg` pipelines based on package availability
rather than `env_cfg.xr`, preserving viewport and SO-101 leader-arm
teleoperation;
- forwards `xr_cfg` only when the environment sets one, otherwise
retaining the `IsaacTeleopCfg` default;
- defers teleop, XR camera-feed, and haptic configuration imports in all
pick-place and locomanipulation configs;
- keeps G1 contact reporting enabled for always-present hand contact
sensors even without teleop; and
- dynamically regression-tests every registration backed by the three
affected task packages in a fresh process with teleop imports blocked.

No new 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`

The explicit `release/3.0.0` PR is #8601.

## Screenshots

Not applicable.

## Validation

- All 31 registered stack, pick-place, and locomanipulation configs
resolve and validate with `isaaclab_teleop` blocked
- Both locomanip G1 configs retain their hand contact sensors and robot
contact reporters without teleop\n- All 31 teleop-installed config trees
match the corresponding target-branch configs
- Five representative stack configs with `xr=None` retain
`IsaacTeleopCfg` and its default XR/session config
- All seven pick-place and locomanipulation configs retain Isaac Capture
configuration with the teleop extra installed
- `uv run python -m pytest
source/isaaclab_tasks/test/core/test_env_cfg_no_forbidden_imports.py -q`
(`49 passed`)
- `uv run --extra teleop python -m pytest
source/isaaclab_tasks/test/core/test_xr_camera_feed_presets.py -q` (`6
passed`)
- `uv run isaaclab --format`
- `git diff --check`

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `uv run isaaclab --format`
- [x] Documentation changes are not required for this dependency-loading
fix
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the test-audit criteria
- [x] I have added a changelog fragment under
`source/isaaclab_tasks/changelog.d/`
- [x] My name already exists in `CONTRIBUTORS.md`
@kellyguo11
kellyguo11 merged commit 49e5be8 into isaac-sim:release/3.0.0 Oct 15, 2026
58 of 60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant