Repository navigation
Refresh documentation previews for the lighter default ground - #8624
kellyguo11 merged 4 commits into
Conversation
[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
SummaryRefreshes documentation JPEGs and moves the remaining hosted environment previews into the repository.
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]
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 {} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
| 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. |
There was a problem hiding this comment.
🟡 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)) |
There was a problem hiding this comment.
🟡 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 |
There was a problem hiding this comment.
🟡 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( |
There was a problem hiding this comment.
🟡 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, |
There was a problem hiding this comment.
🟡 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.
|
run-ci |
## 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`.
…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`.
|
Follow-up marker audit completed in |
|
run-ci |
## 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]>
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
Release backport
developScreenshots
Validation
.jpgfiles, with zero text additions/deletions and no added/deleted paths.Checklist
uv run isaaclab --format.CONTRIBUTORS.md.