wpilibsuite / wpilibsuite/SystemcoreTesting
Toolchain is excessively large
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 186
- Forks
- 24
- Avg merge
- 8h 27m
- Merged PRs (30d)
- 9
Description
There are a lot of unnecessary files included in the toolchain. One of the most egregious examples is the Go cache:
One gigabyte out of 3.6 is spent on Go caches. 0.9 gigabytes is spent on various Go binaries under systemcore-aarch64-toolchain/lib. I'm not exactly sure how much is needed to build the image, but it definitely looks like there's opportunities to slim it down significantly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the toolchain image contents, especially the Go cache and the Go binaries under systemcore-aarch64-toolchain/lib. Determine which files the image build actually requires, then run the relevant image build to verify that removing unnecessary content does not break it. Done means the toolchain is smaller while its build remains functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100