Skip to content

Sync with new API from judo#7

Merged
dta-bdai merged 9 commits into
mainfrom
dta/judo_new_api_sync
May 7, 2026
Merged

Sync with new API from judo#7
dta-bdai merged 9 commits into
mainfrom
dta/judo_new_api_sync

Conversation

@dta-bdai
Copy link
Copy Markdown
Collaborator

@dta-bdai dta-bdai commented May 5, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates sumo to align with upstream judo API changes by switching to task registration objects, new dora node module paths, and new backend registry parameter names, while also bumping core dependencies and adding cleanup tooling for native extensions.

Changes:

  • Migrate task registration/lookup to TaskRegistration objects and pass explicit rollout/simulation backend names during registration.
  • Update dora node imports/configs and controller/simulation construction to use the new *_node modules and *_registry parameters.
  • Bump judo-rai source + MuJoCo version and add pixi clean tasks for purging stale extension artifacts.

Reviewed changes

Copilot reviewed 16 out of 17 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tests/test_tasks.py Update spot task instantiation checks to use TaskRegistration.
tests/test_imports.py Update imports to new dora *_node module paths.
sumo/tasks/g1/g1_table_push.py Update success() signature and use self.config for goal.
sumo/tasks/g1/g1_door.py Update success() signature and use self.config for goal.
sumo/tasks/g1/g1_chair_push.py Update success() signature and use self.config for goal.
sumo/tasks/g1/g1_box.py Update success() signature and use self.config for goal.
sumo/tasks/g1/g1_base.py Remove per-task default_backend in favor of registration-provided backends.
sumo/tasks/init.py Register tasks with explicit rollout/simulation backends + Spot locomotion policy path; return TaskRegistration map.
sumo/run_mpc/run_mpc.py Resolve simulation backend via task registration; update controller construction to rollout_backend_registry.
sumo/controller/controller.py Update controller factory to use rollout_backend_registry and drop old rollout backend arg.
sumo/configs/sumo_default.yaml Update Hydra targets to new dora node module paths.
sumo/app/dora/visualization_node.py Update upstream import path to judo.app.dora.visualization_node.
sumo/app/dora/simulation_node.py Update upstream import path and rename custom_backends -> backend_registry.
sumo/app/dora/controller_node.py Update upstream import path to judo.app.dora.controller_node.
README.md Document new pixi cleaning tasks for native extensions.
pyproject.toml Point to new judo repo, bump MuJoCo constraint, add pixi clean-build/clean-all, adjust pyright settings.
pixi.lock Lock updates for new judo-rai revision/version and MuJoCo 3.6.0, plus pixi options.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sumo/tasks/g1/g1_box.py
Comment thread sumo/tasks/g1/g1_chair_push.py
Comment thread sumo/tasks/g1/g1_table_push.py
Comment thread sumo/tasks/g1/g1_door.py
Comment thread pyproject.toml
@dta-bdai dta-bdai force-pushed the dta/judo_new_api_sync branch from 3f797f8 to ffa561d Compare May 7, 2026 22:03
@dta-bdai dta-bdai merged commit 4cea4e4 into main May 7, 2026
2 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.

3 participants