Skip to content

[Workflow] Fix template generator setup workflows - #7645

Merged
kellyguo11 merged 3 commits into
isaac-sim:developfrom
StafaH:fix/template-generator-workflows
Sep 8, 2026
Merged

kellyguo11 merged 3 commits into
isaac-sim:developfrom
StafaH:fix/template-generator-workflows

Conversation

@StafaH

@StafaH StafaH commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix three failures in the documented template-generator workflows:

  • Pin generated external projects and their optional extras to the exact Isaac Lab version that ran the generator. This prevents uv sync from silently selecting an older prerelease whose CLI may do nothing and return success.
  • Let the repository environment-listing script run without constructing AppLauncher, so task and preset discovery works in the default Kit-less environment.
  • Document the explicit non-PPO agent entry point for generated internal tasks while retaining automatic selection when the task exposes one unambiguous agent configuration.

No new dependencies are required.

Internal bug: NVBug 6695420 validation follow-up.

Type of change

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

Release backport

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

Screenshots

Not applicable.

Validation

  • uv run --frozen python -m pytest --confcutdir=tools/template tools/template/test_cli.py -q — 7 passed
  • uv run --frozen python -m pytest --confcutdir=tools/test tools/test/test_list_envs.py -q — 1 passed
  • uv run --frozen python -m pytest --confcutdir=source/isaaclab_tasks source/isaaclab_tasks/test/core/test_preset_cli.py -q — 31 passed
  • uv run --frozen python -m pytest --confcutdir=source/isaaclab source/isaaclab/test/cli/test_installed_workflow_entrypoints.py -q — 10 passed
  • uv run --isolated --extra dev -- make -C docs current-docs — passed without warnings
  • uv run --frozen isaaclab -f — passed

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added focused tests that prove the fixes are effective
  • No package changelog fragment is required because no source/<package>/ code changed
  • My name already exists in CONTRIBUTORS.md

@StafaH
StafaH requested a review from a team September 8, 2026 16:20
@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team infrastructure labels Sep 8, 2026
@StafaH StafaH changed the title Fix template generator setup workflows [Workflow] Fix template generator setup workflows Sep 8, 2026
@greptile-apps

greptile-apps Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge, with no concrete correctness, security, or repository-rule violations identified.

Summary

  • Pins generated external-project Isaac Lab dependencies and optional extras to the generator environment’s version.
  • Makes environment discovery run without launching Isaac Sim.
  • Documents explicit non-PPO agent selection for generated internal tasks.
  • Adds focused regression coverage for version propagation and Kit-less script startup.

@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

Reviewed the exact-version propagation through the template generator, the generated dependency and optional-extra requirements, the Kit-less environment-listing path, and the new internal-task agent guidance. The proposed resolution concern is not directly established by the patch: the PR intentionally pins to the running package version, but no evidence shows that supported source-checkout versions are unavailable to generated projects.

  • Design and architecture: The generator passes the running Isaac Lab version into the external-project template, while environment discovery no longer owns an unnecessary simulator lifecycle. These are localized changes consistent with the stated workflows. Exact pinning intentionally favors reproducibility over unconstrained resolution; index availability remains a deployment consideration, but the candidate finding does not demonstrate a broken supported case.
  • API: Generated projects now require the exact Isaac Lab version for their base dependency and optional extras. The environment-listing script retains its existing listing arguments and output behavior while removing AppLauncher construction. The documentation describes automatic agent selection and the explicit non-PPO entry-point option.
  • Implementation: The version value is traced from lab_module.__version__ through the generation specification into valid requirement strings, with focused assertions covering the rendered project. The listing script still performs task filtering, preset enumeration, table output, and normal process exit without launching Isaac Sim, and the subprocess test covers the Kit-less workflow.

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.

@StafaH

StafaH commented Sep 8, 2026

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 8, 2026
@StafaH

StafaH commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

CI follow-up:

  • Fixed the isaaclab_rl regression in 2f9ff7837: programmatic generate(...) callers that omit isaaclab_version now retain their existing unversioned output, while the CLI-generated project still pins the exact installed version.
  • isaaclab_teleop failed while finalizing artifacts with HTTP 403; no test failed.
  • rendering-correctness-kitless (legacy) timed out in the existing OVRTX Franka cable rendering test after 1000 seconds.
  • test-contrib-environments failed because the existing IsaacContrib-DrLegs-HoldPose test produced NaN observations.

Revalidated locally:

  • source/isaaclab_rl/test/test_template_generator.py: 20 passed
  • tools/template/test_cli.py: 7 passed
  • full pre-commit gate: passed

@StafaH

StafaH commented Sep 8, 2026

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 8, 2026
@StafaH StafaH added the ci:run-docker Trigger the on-demand Docker and GPU CI workflow label Sep 8, 2026
@kellyguo11
kellyguo11 merged commit 59d2807 into isaac-sim:develop Sep 8, 2026
53 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as e037349.

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

Fix three failures in the documented template-generator workflows:

- Pin generated external projects and their optional extras to the exact
Isaac Lab version that ran the generator. This prevents `uv sync` from
silently selecting an older prerelease whose CLI may do nothing and
return success.
- Let the repository environment-listing script run without constructing
`AppLauncher`, so task and preset discovery works in the default
Kit-less environment.
- Document the explicit non-PPO agent entry point for generated internal
tasks while retaining automatic selection when the task exposes one
unambiguous agent configuration.

No new dependencies are required.

Internal bug: NVBug 6695420 validation follow-up.

## Type of change

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

## Release backport

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

## Screenshots

Not applicable.

## Validation

- `uv run --frozen python -m pytest --confcutdir=tools/template
tools/template/test_cli.py -q` — 7 passed
- `uv run --frozen python -m pytest --confcutdir=tools/test
tools/test/test_list_envs.py -q` — 1 passed
- `uv run --frozen python -m pytest --confcutdir=source/isaaclab_tasks
source/isaaclab_tasks/test/core/test_preset_cli.py -q` — 31 passed
- `uv run --frozen python -m pytest --confcutdir=source/isaaclab
source/isaaclab/test/cli/test_installed_workflow_entrypoints.py -q` — 10
passed
- `uv run --isolated --extra dev -- make -C docs current-docs` — passed
without warnings
- `uv run --frozen isaaclab -f` — passed

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added focused tests that prove the fixes are effective
- [x] No package changelog fragment is required because no
`source/<package>/` code changed
- [x] My name already exists in `CONTRIBUTORS.md`

(cherry picked from commit 59d2807)
@StafaH
StafaH deleted the fix/template-generator-workflows branch September 13, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci:run-docker Trigger the on-demand Docker and GPU CI workflow documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants