Skip to content

Align native Hydra with Isaac Lab and Docker - #1834

Open
qianl-nv wants to merge 2 commits into
mainfrom
qianl/fix/align-hydra-with-lab
Open

qianl-nv wants to merge 2 commits into
mainfrom
qianl/fix/align-hydra-with-lab

Conversation

@qianl-nv

@qianl-nv qianl-nv commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Align Arena's Hydra dependency with Isaac Lab and Docker CI. Refresh the native lockfile to Hydra 1.4.0.dev10 and OmegaConf 2.4.0.

Why this change?

The Experiment override loader added in #1737 calls Override.is_list_extend(). Docker CI runs Hydra 1.4.0.dev10, which provides that method, but Arena's native lockfile resolves Hydra 1.3.8, which does not. Ordinary native Experiment overrides therefore raise AttributeError before configuration loading completes.

Lab's lockfile already selects Hydra 1.4.0.dev10. Docker installs that lock first and excludes the Lab dependency group during Arena's later sync, retaining the newer version. Native uv resolves the Lab dependencies through Arena's own lock instead.

What changes?

Declare hydra-core==1.4.0.dev10 as an Arena dependency, since Arena imports its override parser directly. Update the lockfile's Hydra and OmegaConf versions and remove their unused ANTLR dependency. Keep the override loader unchanged.

Set native uv CI's LW_API_ENDPOINT to https://api-dev.lightwheel.net, matching Docker and avoiding the production API timeouts behind the native CI failures. Mirror Docker's live_remote test filter and nightly-only live-service step introduced in #1740; cache-backed asset and simulation tests continue to run on pull requests.

Validation

Compared the dependency exports for native installation and Docker's selected groups/extras: both now explicitly select Hydra 1.4.0.dev10 and OmegaConf 2.4.0. The lockfile changes no unrelated package versions. The Docker image was not rebuilt locally.

@greptile-apps

greptile-apps Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] This PR appears safe to merge; no actionable regression was found.

Summary

Adds hydra-core==1.4.0.dev10 as a direct Arena dependency to align native installs with the version described for Isaac Lab and Docker.

  • Native and Docker installs now use the same Hydra parser for Experiment overrides.

Reviews (1) · Last reviewed commit: "Align native Hydra with Isaac Lab and Do..." · Reviewed by Greptile

Comment thread pyproject.toml
"lightwheel-sdk",
"pytest",
"pydantic>=2.0",
# Match Isaac Lab's lockfile so native uv and Docker use the same override parser.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Say why Hydra needs a dev release

Hydra 1.3.x has no Override.is_list_extend(), which _assert_override_is_supported in isaaclab_arena/hydra/untyped_experiment.py calls. If someone later replaces this dev pin with a stable 1.3.x release, the AttributeError comes back. Also, Hydra is now a direct dependency, so docker/setup/install_arena_deps.sh installs this pin over the Hydra from Lab's lockfile. That means the pin has to change whenever an IsaacLab submodule bump changes Hydra. Could the comment say both?

Suggested change
# Match Isaac Lab's lockfile so native uv and Docker use the same override parser.
# Arena's Experiment override loader calls Override.is_list_extend(), which Hydra 1.3.x lacks.
# Keep equal to submodules/IsaacLab/uv.lock: Docker's Arena sync now installs this over Lab's Hydra.

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR makes hydra-core==1.4.0.dev10 a direct Arena dependency and regenerates the lockfile. Native installs move from Hydra 1.3.8 and OmegaConf 2.3.1 to Hydra 1.4.0.dev10 and OmegaConf 2.4.0. That fixes the actual cause. Hydra 1.3.8's Override class has no is_list_extend(), and _assert_override_is_supported in isaaclab_arena/hydra/untyped_experiment.py calls it on every override. Arena also imports Hydra directly in several modules, so it should have been declared as a dependency already.

Findings

🔵 Improvement: pyproject.toml:25: The comment should say why a Hydra dev release is pinned: Arena needs Override.is_list_extend(), which Hydra 1.3.x doesn't have. It should also say that this pin now overrides Lab's Hydra in Docker, so the pin has to change whenever the IsaacLab submodule bump changes Hydra. Details are in the inline comment.

Test Coverage and CI Cost

The native uv workflow runs on this PR because it changes pyproject.toml and uv.lock. Its "Run in-process PhysX tests without cameras" step runs isaaclab_arena/tests/test_untyped_experiment.py, which tests ordinary overrides, so the existing tests cover this fix. However, that step was already failing on main before #1737 merged, for example in the push run for 98e0e0b3ef (2026-12-02 10:28 UTC). A red native run on this PR therefore doesn't by itself mean the fix failed. Please confirm that test_untyped_experiment.py passes.

The bot's access had three limits:

  • It couldn't read the job logs.
  • The native and Docker runs for this head were still in progress during the review.
  • It couldn't read submodules/IsaacLab/uv.lock. The claim that Docker already uses Hydra 1.4.0.dev10 is therefore taken from the PR description.

Verdict

Ship it

This branch has not been deployed

No deployments
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.

1 participant