Repository navigation
Log VideoRecorder cubric warning once per recorder - #7657
Merged
kellyguo11 merged 2 commits intoSep 9, 2026
Merged
kellyguo11 merged 2 commits into
kellyguo11 merged 2 commits into
Conversation
kellyguo11
requested review from
AntoineRichard,
StafaH,
fatimaanes,
ooctipus and
pbarejko
as code owners
September 9, 2026 00:13
Contributor
There was a problem hiding this comment.
Isaac Lab Review Bot
Reviewed the per-recorder suppression of the repeated Kit/Newton cubric warning, including warning timing, recorder-instance isolation, continued frame capture, regression coverage, and changelog integration. The change is narrowly scoped and consistent with the stated behavior.
- Design and architecture: The new private flag is initialized alongside the existing one-shot frame-error state and remains scoped to each VideoRecorder instance. This preserves separate warnings for independent recorders while avoiding per-frame log flooding.
- API: No public API or configuration surface changes. Warning text, frame-capture behavior, public methods, and exception contracts remain unchanged; only the warning frequency changes.
- Implementation: The guard is marked only when the Newton backend condition causes the warning to be emitted, and capture continues afterward. The updated test verifies one warning per recorder across repeated captures and confirms that all six frame-render calls still occur. The package changelog fragment accurately records the user-visible logging fix.
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.
Contributor
Contributor
Author
|
run-ci |
Contributor
|
Backported to |
isaaclab-bot Bot
pushed a commit
that referenced
this pull request
Sep 9, 2026
# Description Forward-ports #7633 from `release/3.0.0` to `develop`. `VideoRecorder` logs the Kit/Newton "requires cubric" warning from `_frame_from_visualizer()`, which is called on every captured frame. Because the condition is fixed recorder configuration state, repeating the warning once per frame floods the terminal without adding information. This change adds a per-recorder guard so the warning is emitted on the first applicable capture only. Frame capture continues on every frame, the warning text is unchanged, and each independent recorder still emits its own warning. The original commit by @klakhi is preserved. The test also covers a second recorder instance, addressing the review feedback on #7633. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` Existing release PR: #7633 ## Screenshots N/A — console-output behavior only. ## Validation - Regression test on unmodified `upstream/develop`: failed as expected with 6 warnings instead of 2. - `PYTHONPATH=source/isaaclab:source/isaaclab_visualizers uv run --no-project --with pytest --with numpy --with torch --with gymnasium --with lazy-loader --with warp-lang --with 'moviepy<2' python -m pytest source/isaaclab/test/envs/test_video_recorder.py -q` — 33 passed. - Changelog fragment gate — passed against the current `upstream/develop`. - `uv run --no-project --with-editable ./source/isaaclab --with pre-commit isaaclab -f` — passed all hooks. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the pre-commit checks with `uv run isaaclab -f` - [x] I have made corresponding changes to the documentation (none required; no public API or documented behavior changed) - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] The original contributor already exists in `CONTRIBUTORS.md` --------- Co-authored-by: Krishna Lakhi <[email protected]> (cherry picked from commit b7f66e7)
7 of 8 tasks
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
Forward-ports #7633 from
release/3.0.0todevelop.VideoRecorderlogs the Kit/Newton "requires cubric" warning from_frame_from_visualizer(), which is called on every captured frame. Because the condition is fixed recorder configuration state, repeating the warning once per frame floods the terminal without adding information.This change adds a per-recorder guard so the warning is emitted on the first applicable capture only. Frame capture continues on every frame, the warning text is unchanged, and each independent recorder still emits its own warning.
The original commit by @klakhi is preserved. The test also covers a second recorder instance, addressing the review feedback on #7633.
Type of change
Release backport
developExisting release PR: #7633
Screenshots
N/A — console-output behavior only.
Validation
upstream/develop: failed as expected with 6 warnings instead of 2.PYTHONPATH=source/isaaclab:source/isaaclab_visualizers uv run --no-project --with pytest --with numpy --with torch --with gymnasium --with lazy-loader --with warp-lang --with 'moviepy<2' python -m pytest source/isaaclab/test/envs/test_video_recorder.py -q— 33 passed.upstream/develop.uv run --no-project --with-editable ./source/isaaclab --with pre-commit isaaclab -f— passed all hooks.Checklist
uv run isaaclab -fsource/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.md