You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking into switching over to containers but don't think it's worth it now. So, I'm going to close this issue but have my reasoning here for future reference.
The core issue is that CircuitPython's source tree mixes dependencies into the source tree using submodules. We do this to fix our versions of the deps in the relevant place of the tree. When containers mount the active source to work on into the container, they shadow everything in that part of the filesystem. This makes it difficult to mix cached deps and live source in the same file structure. You can do it with symlinks but then these break the non-container setup. I tried doing it for Zephyr as well but it also has the issue with the directories that west initializes.
Lastly, containers add another level of maintenance with an additional prerequisite job that has to build all of the new layers based on dependencies and version them somehow. Our existing use of actions cache is more flexible than this.
This isn't to say we shouldn't have a devcontainer setup to ease getting started for those who want it. It can do all of these steps in an automated way for those who want that. Perhaps we should add a CI job to verify it still works.
Re-measured on 2026-09-18 in #11419 with Zephyr's own CI images on a hosted runner: ci-base pulls in 119 s, ci-repo-cache takes 359-424 s to start as a container: job, and west update from its repo cache is no faster than cloning (67 s vs 68 s). Same conclusion as above.
Activity
dhalbert commentedon Sep 19, 2026
Claude wrote this:
Re-measured on 2026-09-18 in #11419 with Zephyr's own CI images on a hosted runner:
ci-basepulls in 119 s,ci-repo-cachetakes 359-424 s to start as acontainer:job, andwest updatefrom its repo cache is no faster than cloning (67 s vs 68 s). Same conclusion as above.