Skip to content

Fix stale Lightwheel source references in five fixtures - #1764

Merged
peterd-NV merged 1 commit into
mainfrom
peterd/fix_lightwheel_class_names
Nov 25, 2026
Merged

peterd-NV merged 1 commit into
mainfrom
peterd/fix_lightwheel_class_names

Conversation

@peterd-NV

Copy link
Copy Markdown
Collaborator

Update five Lightwheel fixtures to use LightwheelObjectUsdSource.

Why this change?

The fixtures added in #1562 still reference LightwheelUsdSource after #1740 renamed the class. The first stale reference raises NameError when Python imports object_library.py. Flake8 reports all five references as F821.

What changes?

Switch the two blenders, stand mixer, toaster, and toaster oven to the source class already used by the other Lightwheel fixtures. Keep their asset names and constructor arguments as-is.

@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Replaces five stale LightwheelUsdSource references with the imported LightwheelObjectUsdSource.

  • Five Lightwheel fixtures use the imported object source.

Reviews (1) · Last reviewed commit: "fix lightwheel asset class name" · Reviewed by Greptile

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

#1562 added five fixtures that call LightwheelUsdSource. #1740 renamed that class to LightwheelObjectUsdSource and was merged later, so the five calls in isaaclab_arena/assets/object_library.py were left pointing at a name that no longer exists. This PR switches them to LightwheelObjectUsdSource, which is already imported at object_library.py:36. The constructor arguments (registry_type, file_name, file_type) match its signature in isaaclab_arena/assets/sources/lightwheel.py. These were the only stale uses: none of the other PRs merged between #1740's base and main added the old name. The one remaining mention is in migration_guide_v0_5.rst, which documents the rename on purpose.

Findings

No issues found.

Test Coverage and CI Cost

When I reviewed, Pre-commit was still running on the head commit and the native uv test job had been skipped, so I couldn't confirm a green run. On main (f974095), the Pre-commit and native uv test jobs both report failure, which fits the F821/NameError this PR fixes. No new test is needed: flake8 already catches this error, and any test that imports object_library.py fails without the fix.

Verdict

Ship it

@peterd-NV
peterd-NV enabled auto-merge (squash) November 25, 2026 19:43
@peterd-NV
peterd-NV merged commit b0f5572 into main Nov 25, 2026
18 of 19 checks passed
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