#450

[Enhancement]: compact size

OpenRelicOfTeslaopened 23d ago

Target Component

Documentation and User Experience

Enhancement Description

$ find . -type f -exec du -h {} + | sort -hr | head -n 10 61M ./.git/objects/pack/pack-8ae1a7ec5efb2cb19ad6e2d88fa945a9182180f3.pack 28M ./observability/jaeger/bin/jaeger-clickhouse-linux-amd64 27M ./observability/jaeger/bin/jaeger-clickhouse-linux-arm64 8.2M ./frontend/public/fonts/NotoSansSC-Bold.otf 8.0M ./frontend/public/fonts/NotoSansSC-Regular.otf 3.0M ./examples/neo4j/plugins/apoc-5.26.19-core.jar 1.5M ./backend/pkg/graph/generated.go 612K ./frontend/src/graphql/types.ts 564K ./frontend/public/fonts/NotoSans-Bold.ttf 556K ./frontend/public/fonts/NotoSans-Regular.ttf

Technical Details

No response

Designs and Mockups

  1. Make a shell script, The agent automatically download jaeger-clickhouse from [https://github.com/jaegertracing/jaeger-clickhouse/releases]
  2. Make a pre compile script, download the front.

Alternative Solutions

No response

Verification

  • I have checked that this enhancement hasn't been already proposed
  • This enhancement aligns with PentAGI's goal of autonomous penetration testing
  • I have considered the security implications of this enhancement
  • I have provided clear use cases and benefits

Activity

1
XinwangTao22d ago

Shipping 55MB of jaeger-clickhouse binaries in the repo is indeed painful — it bloats clones and makes every PR diff noisy. Downloading the release artifact at setup time is a good call, but I'd suggest:

  1. Pin a specific version + verify checksums (SHA256) so builds stay reproducible instead of always pulling latest.
  2. Put the download script behind the Makefile / compose setup so fresh contributors get it automatically, not as a manual step.
  3. Same for the Noto Sans SC fonts — consider loading them from a CDN at runtime with a local fallback, or at least gzip them.

The .git pack is 61MB which suggests a rewrite of git history might be worth considering separately (e.g. git-filter-repo) if the repo is still early-stage.