Skip to content

[Backport] PR #8624 to release/3.0.0 - #8628

Merged
kellyguo11 merged 4 commits into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-pr-8624-release-3.0.0
Oct 16, 2026
Merged

kellyguo11 merged 4 commits into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-pr-8624-release-3.0.0

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Backports #8624 at source head cb1215a9 to release/3.0.0.

The source PR was narrowed to replace only existing JPEG documentation previews. This backport mirrors that latest scope: 114 existing JPEGs are refreshed byte-for-byte from the source PR.

Six of the source PR's 120 image paths do not exist on release/3.0.0, so this backport preserves those release-branch deletions:

  • docs/source/_static/demos/nist.jpg
  • docs/source/_static/environment-previews/microduck_flat.jpg
  • docs/source/_static/environment-previews/rizon_sharpa_coffee.jpg
  • docs/source/_static/environment-previews/shoelace_dual_franka.jpg
  • docs/source/_static/examples/sharpa_rj45.jpg
  • docs/source/_static/examples/tablecloth_h2.jpg

The source PR is still open at the synced revision.

Type of change

  • Documentation update

Validation

  • Compared the source and backport file sets: 114 shared images, exactly six release-only omissions, and no backport-only files
  • Verified all 114 backported blobs exactly match source head cb1215a9
  • Decoded all 114 changed JPEGs successfully with sips
  • Focused pre-commit hooks for all changed files — passed
  • Changelog fragment gate against upstream/release/3.0.0 — passed; no source packages changed
  • git diff --check upstream/release/3.0.0...HEAD — passed
  • Sphinx was not rerun locally because the repository lockfile excludes macOS; no documentation source, image paths, or code changed in the final diff

Checklist

  • I have read and understood the contribution guidelines
  • I have run the locally available formatting and lint checks
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings in the completed checks
  • No test files changed
  • Changelog fragments are not applicable because no source packages changed
  • The contributor already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 requested a review from a team October 15, 2026 22:45
@github-actions github-actions Bot added documentation Improvements or additions to documentation infrastructure labels Oct 15, 2026
@greptile-apps

greptile-apps Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] Updates documentation images and build instructions.

The PR appears safe to merge, with non-blocking fixes recommended for GPU selection and resumed batch summaries.

Findings

  1. P2 GPU shards share GPU 0 ▶
  2. P2 Resumed summaries miss captures ▶

Summary

Refreshes documentation previews and points the environment browser at local JPEGs.

  • The environment browser now finds task previews in the local image folder.
  • Operators can recreate environment previews from a task manifest.

Reviews (1) · Last reviewed commit: "Refresh environment and demo documentati..." · Reviewed by Greptile

Comment on lines +303 to +304
"--device",
entry.get("device", args.device),

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.

P2 GPU shards share GPU 0

_worker_command always prefers the manifest's device, and six entries hard-code cuda:0. Starting a shard with --device cuda:1 still sends those captures to GPU 0. This defeats the documented multi-GPU split and can make shards compete for memory.

Keep the required CPU/GPU choice separate from the GPU index, or let an explicit CLI device override GPU entries.

Comment on lines +368 to +369
results.append(previous)
continue

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.

P2 Resumed summaries miss captures

--skip-existing adds reused receipts to results but skips writing the batch summary. If a resumed run captures an earlier entry and skips the remaining entries, summary-*-of-*.json omits those reused successes. If every entry is skipped, no summary is written.

Write the complete summary after the loop so maintainers can see the whole selected batch without opening individual receipts.

@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), Implementation (1), Style consistency (2). Other reviewed categories look good.

  • PR description: The body matches the asset, browser, manifest, and capture-tool diff; classify it as tooling plus documentation, state that end-to-end capture was not run, and remove the transient source-PR status.
  • Design and architecture: Private KitVisualizer camera state makes capture behavior depend on an internal attribute; use a supported camera-selection API or configuration.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: An unmatched --only filter performs no captures and returns success; validate requested selectors and fail when none match.
  • Style consistency: Known configuration fields use fallback getattr, hiding schema drift; branch on optional owners and access required attributes directly.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 4 inline findings.

Automated review; human maintainers own approval decisions.


Each task runs in a separate process so Kit and physics resources are released between
captures. Manifest entries contain ``path`` and ``task``; optional ``eye``, ``lookat``,
``focal_length``, ``physics``, ``overrides``, and ``num_envs`` control the scene and framing.

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.

🟡 Warning · Style Consistency — Docstring omits supported manifest keys

This docstring is also the --help text, but omits camera_origin, track_asset, device, and seed, which _worker_command reads and the shipped manifest uses. List them so authors need not read the implementation.

if base is None:
base = next(iter(cfg.sim.visualizer_cfgs or []), None)
viewer = getattr(cfg, "viewer", None)
eye = args.eye or getattr(base, "eye", None) or getattr(viewer, "eye", (3.0, -3.0, 2.0))

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.

🟡 Warning · Style Consistency — getattr defaults hide known config fields

The coding guide forbids getattr with default values for known attributes. If eye, lookat, or viewer is renamed or absent, framing silently falls back to hardcoded values. Branch explicitly on base is None, then access…

UsdGeom.Xformable(camera).AddTransformOp().Set(camera_transform)
# A dedicated camera avoids Kit's stronger session-layer opinions on its
# interactive perspective camera, including delayed viewport pose changes.
visualizer._controlled_camera_path = camera_path

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.

🟡 Warning · Design Architecture — Tool writes private visualizer attribute

Assigning visualizer._controlled_camera_path depends on internal KitVisualizer state; a rename there silently reverts every capture to the default camera with no error. Select the capture camera through a supported visualizer API or configuration.

if count < 1 or not 0 <= shard < count:
raise ValueError("--shard must have 0 <= index < count.")
selected = [entry for index, entry in enumerate(entries) if index % count == shard]
if args.only:

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.

🟡 Warning · Implementation — Unmatched --only exits successfully

A mistyped --only value filters the selection to nothing, so the run captures no images and still returns 0. Validate requested values against the manifest and fail when none match.

maxkra15 and others added 3 commits October 15, 2026 19:19
(cherry picked from commit ca956a7)
(cherry picked from commit cb1215a9e3b12c6e18450ace027d2eec51db3fd2)
@kellyguo11

Copy link
Copy Markdown
Contributor Author

Synchronized the expanded visualization-marker audit from #8624 in 339fbd2d. All 11 additional corrected previews are present on release/3.0.0; all 114 backported JPEG blobs match source head cb1215a9.

@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 16, 2026
@kellyguo11
kellyguo11 merged commit 0c904aa into isaac-sim:release/3.0.0 Oct 16, 2026
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants