Skip to content

Refresh documentation previews for the lighter default ground - #8624

Merged
kellyguo11 merged 4 commits into
isaac-sim:developfrom
maxkra15:maximiliank/refresh-doc-environment-previews
Oct 16, 2026
Merged

kellyguo11 merged 4 commits into
isaac-sim:developfrom
maxkra15:maximiliank/refresh-doc-environment-previews

Conversation

@maxkra15

@maxkra15 maxkra15 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Replace 120 existing JPEG previews for environments, demos, examples, tutorials and visualizers. Updated scenes show the published lighter default ground where applicable, with corrected camera framing and a synchronized teapot fluid surface.

This PR changes only existing image files. Source code, documentation text, image paths and videos are unchanged.

Type of change

  • Documentation update

Release backport

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

Screenshots

Preview Before After
ANYmal D
Franka lift
Teapot fluid surface
Multi-asset scene

Validation

  • Aggregate diff: exactly120 modified .jpg files, with zero text additions/deletions and no added/deleted paths.
  • Full formatting/lint checks and a clean, warning-free Sphinx HTML build passed.
  • All120 JPEGs decode and match the generated HTML assets; capture receipts and published ground-texture hashes verified.
  • JavaScript and every image/video reference are identical to the base revision.

Checklist

  • I have read and understood the contribution guidelines.
  • I have run the pre-commit checks with uv run isaaclab --format.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have validated the changed behavior with focused visual and asset checks. No test files changed.
  • Changelog fragments: not applicable; no source packages changed.
  • My name already exists in CONTRIBUTORS.md.

@maxkra15
maxkra15 requested a review from a team October 15, 2026 22:30
@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 preview images and build instructions.

The PR appears safe to merge, with a non-blocking gap in the capture receipts.

Findings

  1. P2 Ground hashes stay empty ▶

Summary

Refreshes documentation JPEGs and moves the remaining hosted environment previews into the repository.

  • Documentation pages show refreshed local previews of their scenes.
  • A headless Kit tool can recreate environment previews from a task manifest.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Manifest and capture options] --> B{Matching receipt and image?}
    B -->|Yes, resume requested| C[Reuse completed capture]
    B -->|No| D[Start isolated worker]
    D --> E[Start Kit and resolve task]
    E --> F[Reset environment and set camera]
    F --> G[Warm rendering without physics steps]
    G --> H[Save JPEG and receipt]
    H --> I[Close worker and record batch result]
Loading

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

with launch_simulation(cfg, launcher_args):
# Kit must load its own omni.client before this import. Importing the standalone
# SDK earlier would shadow APIs expected by Kit extensions.
ground_hashes = _configure_asset_origin() if args.direct_s3_origin else {}

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 Ground hashes stay empty

The documented capture command omits --direct-s3-origin, so this line sets ground_hashes to {}. Every receipt then has an empty ground_texture_sha256, despite the README promising ground-texture hashes. Maintainers cannot use those receipts to check which published textures a refresh used.

Separate hash collection from the optional CDN bypass, or make the documented requirement explicit.

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

  • PR description: The scope and counts match the diff; remove or substantiate the teapot refresh claim and describe resume validation as checking manifest entries, capture options, and image hashes.
  • Design and architecture: Writing KitVisualizer._controlled_camera_path couples captures to an internal attribute that may change silently; bind the camera through a supported visualizer contract.
  • Scope and over-engineering: Minimal implementation: keep capture_environment_previews.py for its required isolated lifecycle, environment_previews.json for capture data, environment-browser.js for browser ownership, and the refreshed assets; remove repeated focal_length fields so the script default is the sole owner. Scope is cohesive; no split recommended.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: An interrupted wait leaves the detached Kit worker running and holding resources; terminate and reap its process group on BaseException as well as timeout.
  • Style consistency: Known visualizer fields use getattr defaults, hiding configuration mismatches; access required fields directly and handle genuinely optional configuration explicitly.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 5 inline findings.

Automated review; human maintainers own approval decisions.

Comment thread tools/docs/media/README.md Outdated
without taking physics steps. Captures preserve each image's aspect ratio and
limit the longest edge to 960 pixels. The manifest also retains task-specific
camera framing and physics selections. Logs and receipts under
`logs/environment-preview-refresh` record the image and ground-texture hashes.

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 — README overstates recorded hashes

Ground-texture hashes are computed only under --direct-s3-origin, which the documented command above omits, so receipts from that command record an empty mapping. State the flag requirement or hash the textures unconditionally.

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 for known attributes

The coding guide forbids getattr with defaults for known attributes. Lines 176-187 resolve viewer, eye, lookat, origin_type, and origin_track_path this way, hiding a missing visualizer config behind silent fallbacks.

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 mutates private visualizer attribute

Assigning visualizer._controlled_camera_path reaches past KitVisualizer's public contract; a rename silently reverts captures to Kit's perspective camera while the transform check still passes on this prim. Use a supported visualizer API.

environment = {**os.environ, "TMPDIR": str(cache_dir), "OMNI_KIT_ACCEPT_EULA": "YES"}
started = time.monotonic()
with (job_dir / "capture.log").open("w") as log:
process = subprocess.Popen(

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 — Interrupt leaves detached Kit workers

start_new_session detaches the worker and only TimeoutExpired triggers killpg, so Ctrl-C exits the parent and leaves a Kit process holding the GPU. Kill the process group on any exception from wait.

"env.events.reset_robot_joints.params.position_range=[1.0,1.0]",
"env.events.reset_robot_joints.params.velocity_range=[0.0,0.0]"
],
"focal_length": 18.14756202697754,

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 · Scope Complexity — Manifest repeats script default focal length

All 84 entries set focal_length to 18.14756202697754, the value _capture_task already applies as its default, giving the setting two owners that can silently diverge. Drop the field from the manifest.

@kellyguo11 kellyguo11 mentioned this pull request Oct 15, 2026
7 tasks done
@kellyguo11

Copy link
Copy Markdown
Contributor

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 16, 2026
## Description

Remove the internal NVIDIA hosts reported by the 3.0.0 omni-sanitizer
scan and the remaining internal coffee-demo override found during
repository verification.

- Replace nine tutorial screenshots whose visible Content Browser
included saved internal Nucleus connections. The replacements are exact
real capture blobs from #8624 and keep the tutorial results while
omitting the internal host rows.
- Replace the renderer gallery's private Nucleus default with the
published Isaac 6.2 S3 scene.
- Preserve the optional `--scene` override for local paths and
accessible remote URIs, and allow the resolver to pass the HTTPS default
through unchanged.
- Remove the coffee demo's internal-development URI example while
preserving `ISAACLAB_COFFEE_ASSET_ROOT` for alternate accessible roots
and local bundles. The default resolver already uses the public Isaac
6.2 asset server.

The screenshot findings were inert OCR matches from old UI captures. The
renderer-gallery scene is publicly hosted, so the generator keeps its
existing no-argument workflow without publishing a private default.

## Type of change

- Documentation update
- Bug fix

## Release backport

- [ ] Paired pull request #8631 targets `release/3.0.0`. The coffee demo
is not present on that branch, so its follow-up applies only to this PR.

## Validation

- Focused renderer-gallery default, remote URI, and local-path tests: 4
passed.
- Configured pre-commit hooks passed, including Ruff, formatting,
codespell, changelog, and Git LFS checks.
- `bash -n tools/docs/media/generate_renderer_gallery.sh`: passed.
- The public renderer-gallery scene returned HTTP 206 with the expected
26,526-byte size.
- All nine replacement JPEGs decode and match the corresponding #8624
capture blobs exactly.
- All 185 files listed in the public `RizonSharpaCoffee/manifest.json`
were reachable from the configured Isaac 6.2 asset server.
- Targeted internal-host search over `source`, `tools`, and `docs`: no
matches.
- The complete renderer-gallery test file could not import
`isaaclab.sim` in the isolated macOS environment; the affected
URL/default tests pass, and CI runs the repository environment.
- Full `uv run --extra dev isaaclab --docs` was not runnable on this
macOS host because the repository lock supports Linux and Windows. The
exact replacement image blobs passed the clean documentation build
reported in #8624.

## Checklist

- [x] I have read and understood the contribution guidelines.
- [x] I have run the available formatting and pre-commit checks.
- [x] I have made corresponding documentation changes.
- [x] My changes generate no new warnings.
- [x] I have validated the changed CLI behavior with focused coverage
and applied the test-audit criteria.
- [x] I added a `.skip` changelog marker for the documentation-only
`isaaclab_tasks` README edit.
- [x] My name already exists in `CONTRIBUTORS.md`.
kellyguo11 added a commit that referenced this pull request Oct 16, 2026
…ets (#8631)

## Description

Backport #8630 to `release/3.0.0` to remove the internal NVIDIA hosts
reported by the 3.0.0 omni-sanitizer scan.

- Replace nine tutorial screenshots whose visible Content Browser
included saved internal Nucleus connections. The replacements are exact
real capture blobs from #8624 and keep the tutorial results while
omitting the internal host rows.
- Replace the renderer gallery's private Nucleus default with the
published Isaac 6.2 S3 scene.
- Preserve the optional `--scene` override for local paths and
accessible remote URIs, and allow the resolver to pass the HTTPS default
through unchanged.

The screenshot findings were inert OCR matches from old UI captures. The
renderer-gallery scene is publicly hosted, so the generator keeps its
existing no-argument workflow without publishing a private default.

## Type of change

- Documentation update
- Bug fix

## Validation

- Complete renderer-gallery test file: 12 passed.
- Focused renderer-gallery default, remote URI, and local-path tests: 4
passed.
- Configured pre-commit hooks passed, including Ruff, formatting,
codespell, changelog, and Git LFS checks.
- `bash -n tools/docs/media/generate_renderer_gallery.sh`: passed.
- The public renderer-gallery scene returned HTTP 206 with the expected
26,526-byte size.
- All nine replacement JPEGs decode and match the corresponding #8624
capture blobs exactly.
- Targeted internal-host search over the changed text files: no matches.
- Full `uv run --extra dev isaaclab --docs` was not runnable on this
macOS host because the repository lock supports Linux and Windows. The
exact replacement image blobs passed the clean documentation build
reported in #8624.

## Checklist

- [x] I have read and understood the contribution guidelines.
- [x] I have run the available formatting and pre-commit checks.
- [x] I have made corresponding documentation changes.
- [x] My changes generate no new warnings.
- [x] I have validated the changed CLI behavior with focused coverage
and applied the test-audit criteria.
- [x] Changelog fragment is not applicable because no source package
changed.
- [x] My name already exists in `CONTRIBUTORS.md`.
@kellyguo11

Copy link
Copy Markdown
Contributor

Follow-up marker audit completed in cb1215a9: compared all 69 refreshed environment previews against the pre-refresh assets and restored missing command/goal visualization markers in 11 additional previews: A1, Digit flat, Digit loco-manip, ANYmal B, ANYmal C flat/navigation, Cassie, G1, Go1, Go2, and H1. Velocity previews use deterministic diagonal commands so the arrows remain visible and framed. The release backport is synchronized in #8628.

@kellyguo11

Copy link
Copy Markdown
Contributor

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 bf8333c into isaac-sim:develop Oct 16, 2026
59 checks passed
kellyguo11 added a commit that referenced this pull request Oct 16, 2026
## 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

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

---------

Co-authored-by: Maximilian Krause <[email protected]>
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