Skip to content

Prevent CI model downloads and preserve controller package overrides - #579

Merged
RussTedrake merged 5 commits into
masterfrom
codex/remote-cache-and-package-overrides
Sep 7, 2026
Merged

Prevent CI model downloads and preserve controller package overrides#579
RussTedrake merged 5 commits into
masterfrom
codex/remote-cache-and-package-overrides

Conversation

@RussTedrake

@RussTedrake RussTedrake commented Sep 7, 2026

Copy link
Copy Markdown
Owner

CI currently allows pytest and notebook subprocesses to download remote model packages, and simulation controller parsers discard package overrides supplied to MakeHardwareStation.

Prefetch library and notebook assets before each CI test job using the same user and cache as pytest, then disable Drake PackageMap downloads while keeping Meshcat and LCM available. Local pytest retains on-demand downloads and the normal user cache. The prefetch helper also covers the GCS package registered directly by the IRIS notebook and works with the pip job's installed wheel.

Copy the station's package mappings into both IIWA and inverse-dynamics controller parsers without resolving unused packages or repeating the user's preload callback.

Validation: 13 targeted cache, package-override, inverse-dynamics, and directives tests pass. The full CI prefetch list resolves successfully with downloads disabled after seeding the cache. Spot, Menagerie, Rainbow, and Gymnasium notebook tests pass locally with downloads disabled; IRIS reaches a local MOSEK license error. Pre-commit checks pass. Updated CI is running.

CI prefetching deliberately excludes Gymnasium Robotics models because the notebook only loads them in interactive mode. Calling the broader library prefetch helper exposed an existing stale checksum for that unused package. This PR leaves the library's remote definitions unchanged, and pip CI remains enabled.

Update htmlbook to RussTedrake/htmlbook#22 for bounded retries of transient bibliography and website HTTP failures. That shared PR should merge first. Its 32 offline tests and 10 live integration tests pass; request timeouts remain 30 seconds, with at most three attempts.

Fixes #445.
Fixes #468.


This change is Reviewable

@RussTedrake RussTedrake added the requires new pip wheels disables some CI actions that cannot pass for this PR label Sep 7, 2026
@RussTedrake RussTedrake removed the requires new pip wheels disables some CI actions that cannot pass for this PR label Sep 7, 2026
@RussTedrake
RussTedrake merged commit 5c325eb into master Sep 7, 2026
5 of 6 checks passed
@RussTedrake
RussTedrake deleted the codex/remote-cache-and-package-overrides branch September 7, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant