Skip to content

Check dependency compatibility in native and Docker CI - #1835

Draft
qianl-nv wants to merge 2 commits into
mainfrom
qianl/fix/inherit-lab-dependency-baseline
Draft

qianl-nv wants to merge 2 commits into
mainfrom
qianl/fix/inherit-lab-dependency-baseline

Conversation

@qianl-nv

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

Copy link
Copy Markdown
Collaborator

Check shared package versions against Arena's native lock in Docker and native CI. Run native Experiment override smoke tests when configuration code changes.

Depends on #1834: the new check intentionally detects main's current Hydra/OmegaConf discrepancy until that alignment fix lands.

Why this change?

Docker uses Lab's locked Hydra 1.4.0.dev10, while Arena's native lock selects 1.3.8. The Experiment loader introduced in #1737 calls an API absent from the native version. Docker tests passed, and native CI was skipped because only source files changed.

Dependency differences can be intentional, so automatically inheriting every Lab pin is unnecessary. A focused check and native source-change coverage catch this problem without changing dependency resolution.

What changes?

  • Add a read-only checker that reports differences for shared registry packages. Fail on mismatched or missing Hydra, OmegaConf, NumPy, PyTorch, torchvision, Warp, and Newton. Permit documented critical-package exceptions with --allow-difference PACKAGE.
  • Run that checker in both CI environments. Other shared-version differences are informational; profile-only packages and local/Git sources are outside this version check.
  • Trigger native CI for Experiment loader, runner, and relevant test changes. Run the existing native override smoke tests immediately after installation.
  • Document the manual Lab-upgrade dependency review and lockfile-update process.

Usage example

# Native environment, after uv sync:
.venv/bin/python tools/check_dependency_versions.py

# Inside the Arena container:
isaaclab.sh -p tools/check_dependency_versions.py

Validation

The checker rejects the known Hydra/OmegaConf mismatch against main's lock. With #1834's lock, the critical-package check passes and other shared-version differences are reported without failing. Workflow YAML parsing was checked locally.

The updated GitHub Actions jobs have not run locally; the PR remains a draft pending #1834 and CI validation.

@qianl-nv qianl-nv changed the title Inherit Lab dependency pins across native and Docker installs Check dependency compatibility in native and Docker CI Dec 3, 2026

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