Skip to content

Make contributed teleop dependencies optional - #8600

Merged
kellyguo11 merged 6 commits into
isaac-sim:developfrom
kellyguo11:kellyg/fix-nvbug-6916688-all-stack-envs
Oct 15, 2026
Merged

kellyguo11 merged 6 commits into
isaac-sim:developfrom
kellyguo11:kellyg/fix-nvbug-6916688-all-stack-envs

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

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

  • 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

  • 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.

Summary

Makes stack configurations load without the optional isaaclab_teleop package.

  • Stack tasks load without the optional teleop package.

No actionable issues were found. Tests were not run during this review.

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), Compatibility and deprecation (1). Other reviewed categories look good.

  • PR description: The body matches the seven-file diff and validation scope, but fix “NVBug 6916688].”, state XR is disabled rather than deferred, and disclose that xr=None suppresses installed teleop.
  • Design and architecture: Using self.xr as a teleop-availability proxy gives one condition multiple owners and suppresses valid teleop configuration; centralize optional IsaacTeleopCfg construction instead.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: base installs now receive xr=None instead of core XrCfg, while explicit xr=None suppresses installed teleop; preserve prior field semantics and gate only optional construction.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

Significant concerns. Posted 2 inline findings.

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 Make all stack teleop dependencies optional 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

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
kellyguo11 merged commit c43e2e3 into isaac-sim:develop Oct 15, 2026
90 of 92 checks passed
kellyguo11 added a commit that referenced this pull request Oct 15, 2026
#8601)

# 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

- [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`
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.

2 participants