Repository navigation
[Workflow] Fix template generator setup workflows - #7645
Merged
kellyguo11 merged 3 commits intoSep 8, 2026
Merged
Conversation
StafaH
requested review from
AntoineRichard,
kellyguo11 and
ooctipus
as code owners
September 8, 2026 16:20
Contributor
Contributor
There was a problem hiding this comment.
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.
Collaborator
Author
|
run-ci |
Collaborator
Author
|
CI follow-up:
Revalidated locally:
|
Collaborator
Author
|
run-ci |
Contributor
|
Backported to |
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix three failures in the documented template-generator workflows:
uv syncfrom silently selecting an older prerelease whose CLI may do nothing and return success.AppLauncher, so task and preset discovery works in the default Kit-less environment.No new dependencies are required.
Internal bug: NVBug 6695420 validation follow-up.
Type of change
Release backport
developScreenshots
Not applicable.
Validation
uv run --frozen python -m pytest --confcutdir=tools/template tools/template/test_cli.py -q— 7 passeduv run --frozen python -m pytest --confcutdir=tools/test tools/test/test_list_envs.py -q— 1 passeduv run --frozen python -m pytest --confcutdir=source/isaaclab_tasks source/isaaclab_tasks/test/core/test_preset_cli.py -q— 31 passeduv run --frozen python -m pytest --confcutdir=source/isaaclab source/isaaclab/test/cli/test_installed_workflow_entrypoints.py -q— 10 passeduv run --isolated --extra dev -- make -C docs current-docs— passed without warningsuv run --frozen isaaclab -f— passedChecklist
source/<package>/code changedCONTRIBUTORS.md