Skip to content

[release/0.4.0] Report source lines for missing replay variations - #1815

Merged
qianl-nv merged 1 commit into
release/0.4.0from
qianl/fix/release-0.4-replay-missing-variation-context
Dec 3, 2026
Merged

qianl-nv merged 1 commit into
release/0.4.0from
qianl/fix/release-0.4-replay-missing-variation-context

Conversation

@qianl-nv

@qianl-nv qianl-nv commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Backport #1794 to release/0.4.0 so partially recorded variations report the JSONL filename and all affected line numbers.

Cherry-pick merged commit f5951ef9e398f7501cd2b0f0939d198a739236ef unchanged, including the loader validation, removal of the redundant replay check, and regression tests. The patch applies without conflicts or release-specific adaptations.

Fixes https://nvbugspro.nvidia.com/bug/7140973 for release 0.4.0.

Backport #1794 to release/0.4.0 so replay errors identify the JSONL
file and every affected source line for partially recorded variations.

(cherry picked from commit f5951ef)
Signed-off-by: Qian Lin <[email protected]>
@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge.

Summary

Moves the check for partially recorded variations into the JSONL loader. Errors now name the source file and every line missing the affected variation.

  • Recorded variation files show where partial samples are missing.

Reviews (1) · Last reviewed commit: "Report source lines for missing replay v..." · Reviewed by Greptile

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This backports #1794 to release/0.4.0. When a recorded variation is missing from some rows, load_rebuild_variation_record now rejects the file and the error names the JSONL file and every affected line. The per-record presence check in _validate_variation_replay is removed because the loader now covers it. The patch is identical to f5951ef, and the four touched files on release/0.4.0 match the versions that commit was applied to on main. The release branch has no new loader callers that would be affected, and replay accepts and rejects the same files as before.

The review points raised on #1794 were all resolved there: the "Recorded" label, removal of the check that could no longer fire, zip(..., strict=True), and dropping the duplicate runner test. I'm not raising them again.

Test Coverage and CI Cost

CI hasn't finished. At review time, the Arena image build was still running and test results weren't available yet; pre-commit had passed. The new tests are small file-based loader tests and add negligible CI time.

Verdict

Ship it

@qianl-nv
qianl-nv merged commit cb4e9c1 into release/0.4.0 Dec 3, 2026
18 of 19 checks passed
@qianl-nv
qianl-nv deleted the qianl/fix/release-0.4-replay-missing-variation-context branch December 3, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants