Repository navigation
Bring CI to parity with manipulation; prefetch remote packages - #645
Merged
Merged
Conversation
The nightly CI on master failed when the spot_description download timed out in the middle of test_spot. Port manipulation's CI improvements: - Prefetch Drake remote packages (setup/prefetch_remotes.py, with retries from htmlbook) before pytest, then run pytest with DRAKE_ALLOW_NETWORK=lcm:meshcat so uncached packages fail loudly instead of downloading mid-test. - Check out underactuated-solutions at solutions_sha.txt when the SOLUTIONS_TOKEN secret is available, so solutions are tested too. - Gate fork PRs behind collaborator status or the approved-for-ci label, via pull_request_target, before they receive secrets. - Run pytest with two xdist workers (--dist loadfile) and one native thread each; report slow tests and upload JUnit timings. - Use Ubuntu's git, skip system Jupyter in the Poetry job (INSTALL_JUPYTER=0), and drop xvfb, which nothing here needs. - Harden Homebrew setup on macOS; use Poetry 2.5.1 to match poetry.lock. - Add book/test_notebook_coverage.py using the shared htmlbook check. hybrid.ipynb and lcp_cart.ipynb were already disabled; list them as UNTESTED with their reasons. - Document all of this in docs/testing.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The nightly CI on master (run 45466877641) failed when the
spot_descriptiondownload timed out in the middle oftest_spot. This PR brings manipulation's CI improvements over. The twomain.ymlfiles now differ only in repo names, black versions, and manipulation's CPU-only torch and data directory. The shared helpers live in htmlbook (9e9d38c, already on htmlbook master).setup/prefetch_remotes.pydownloadsdrake_modelsandspot_descriptionbefore pytest, retrying failures throughhtmlbook.drake_remotes. Pytest then runs withDRAKE_ALLOW_NETWORK=lcm:meshcat, so a package that wasn't prefetched fails immediately instead of downloading mid-test.RobotLocomotion/underactuated-solutionsatsolutions_sha.txtwhen theSOLUTIONS_TOKENsecret is set.pull_request_targetonly after a collaborator approves them or adds theapproved-for-cilabel.-n 2 --dist loadfile, one native thread per worker,--durations=30, and JUnit timing artifacts.INSTALL_JUPYTER=0in the Poetry job, which gets Jupyter from its venv.poetry.lock.book/test_notebook_coverage.pyuses the shared htmlbook check.hybrid.ipynbandlcp_cart.ipynbwere already commented out, so they're now listed inUNTESTEDwith their reasons.docs/testing.mdexplains all of the above.Local run with the CI settings: 209 passed. 4 failed from LCM multicast on my Mac, and they fail the same way without the new settings; the macOS CI job sets up that route.
🤖 Generated with Claude Code
This change is