Skip to content

ci: remove robot_descriptions caching, built on wrong diagnosis#536

Merged
petercorke merged 1 commit into
mainfrom
ci/remove-robot-descriptions-cache
Jul 4, 2026
Merged

ci: remove robot_descriptions caching, built on wrong diagnosis#536
petercorke merged 1 commit into
mainfrom
ci/remove-robot-descriptions-cache

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

  • ci: cache robot_descriptions assets across runs #530 added actions/cache steps for ~/.cache/robot_descriptions in test-core/test/coverage, theorizing the lazy git-clone was slow/flaky against the test timeout.
  • The real problem (confirmed 2026-07-04, fix(deps): add missing robot_descriptions dependency #534): robot_descriptions was never a declared dependency at all — every run hit ModuleNotFoundError immediately, no clone ever attempted. The caching was solving a symptom of a problem that didn't exist.
  • Also has its own latent bug independent of the wrong diagnosis: cache key is robot-descriptions-v1-${{ runner.os }} — no python-version — but the test job matrix is os × python-version, running in parallel, so it couldn't help within a single run anyway.
  • Did not touch the naming-fallback logic in URDFRobot.py's _load_rd_module (trying {name}_description then {name}_official_description, hiding the robot_descriptions implementation detail from user-facing errors) — that's legitimate, separate, deliberate UX, unrelated to this.
  • Full reasoning in tech-debt.md, including what to do instead if CI timing becomes a real issue now that robot_descriptions is genuinely exercised.

🤖 Generated with Claude Code

PR #530 added actions/cache steps for ~/.cache/robot_descriptions,
reasoning the lazy git-clone was slow/flaky against the test timeout.
The real problem was that robot_descriptions was never a declared
dependency at all — every run hit ModuleNotFoundError immediately,
before any clone was attempted. Now that the actual dependency is
fixed, this caching solves a problem that was never real, and has
its own bug (cache key doesn't include python-version, so it can't
help within a single run's parallel os x python-version matrix
anyway). See tech-debt.md for the full reasoning and what to do
instead if CI timing becomes a real issue now that robot_descriptions
is genuinely exercised.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@petercorke petercorke merged commit 92eaf2f into main Jul 4, 2026
6 of 13 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.

1 participant