Repository navigation
CI: install only the KiCad packages the sync check needs - #18
Merged
Merged
Conversation
The KiCad step installed `kicad` with --install-recommends: 581 MB,
mostly from Launchpad's KiCad PPA at about 0.5 MB/s, including the 3D
models (280 MB), demos and docs. The step took 7-10 minutes when it
worked, and the 3D-model download timed out every few runs
("Connection timed out" from ppa.launchpadcontent.net).
Install `kicad` and `kicad-footprints` with --no-install-recommends
instead. The sync check reports a missing 3D model without counting it
as a change, so the models aren't needed. apt retries each download up
to 5 times, the step times out at 15 minutes and the job at 30. The
same change in VocalizerCAN cut the step from 7-10 minutes to 35 s.
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.
Summary
The Stackup + PCB Sync job's Install KiCad 10 step keeps timing out. The cause is the download size, not a broken mirror.
apt-get install --install-recommends kicadfetched about 581 MB, mostly from Launchpad's KiCad PPA at about 0.5 MB/s. That includes the 3D models (280 MB), demos and docs.The change:
kicad(pcbnew and its Python module) andkicad-footprints, with--no-install-recommends. The plugin's sync reports a missing 3D model as "No 3D body" and doesn't count it as a change, socheck_pcb_sync.pydoesn't need the models.-o Acquire::Retries=5retries a dropped download.timeout-minutesof 15 on the step and 30 on the job, so a hung download fails fast instead of holding the job for GitHub's default 6 hours.The same change in VocalizerCAN (PunderWorks/VocalizerCAN#5) cut the step from 7–10 minutes to 35 s: 163 MB downloaded at 57 MB/s. The workflow is in this PR's change filter, so this PR runs the new install.
Test plan
main's board🤖 Generated with Claude Code