wpilibsuite / wpilibsuite/SystemcoreTesting

Toolchain is excessively large

Open
#70 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Limelight Pending
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:
Image
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.