Repository navigation
Preserve iterable backend selections in nested dictionaries - #9239
sylvesterkaczmarek wants to merge 3 commits into
Conversation
Fixes isaac-sim#9238. Signed-off-by: Sylvester Kaczmarek <16242628+sylvesterkaczmarek@users.noreply.github.com>
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Compatibility and deprecation (1). Other reviewed categories look good.
- PR description: The title and body match the conversion fix, regression coverage, changelog, and contributor entry; validation is reported rather than independently verified, and no measurable performance claim requires benchmarks.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: Breaking changes: tuple materialization exposes a later iterator exception instead of ValueError for an earlier unknown type, without a compatibility bridge; validate entries while collecting them to preserve failure behavior.
- Implementation: Implementation looks good.
- Style consistency: Style consistency looks good.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 1 inline finding.
Automated review; human maintainers own approval decisions.
[Medium impact] The PR appears safe to merge. Summary
Reviews (1) · Last reviewed commit: "Preserve iterable backend selections in ..." · Reviewed by Greptile |
|
Addressed the iterator compatibility finding in 10697bd. Each selection is validated before reading the next entry, then the validated selections are retained for recursion. Added the invalid-first-entry regression; isolated execution of the actual conversion function with stand-in backend types passed both nested-conversion and validation-order checks. |
Signed-off-by: Sylvester Kaczmarek <16242628+sylvesterkaczmarek@users.noreply.github.com>
Description
Materialize the array-type selection before recursive backend conversion so nested and sibling dictionaries receive the original selection, including when the caller passes an iterator.
Fixes #9238.
Type of change
Validation
Checklist
Current-head validation: all 13 dictionary tests passed on CPU, including the invalid-first-entry iterator regression. Scoped Ruff lint and formatting pass. The final follow-up is formatting-only. Full simulator/GPU integration remains pending.