Skip to content

remove unused blobs and golang packages - #350

Merged
chombium merged 1 commit into
cloudfoundry:mainfrom
dlinsley:golang-cleanup
Sep 28, 2026
Merged

chombium merged 1 commit into
cloudfoundry:mainfrom
dlinsley:golang-cleanup

Conversation

@dlinsley

Copy link
Copy Markdown
Contributor

Description

A continuation of the golang vendored package bloat reduction across observability bosh releases.

golang-1.27-linux and golang-1.27-windows are the only vendored golang package used by system-metrics-release

golang-1.27-linux and golang-1.27-windows are also only used as a vendored package, not as a bosh blob

This PR removes:

  • Vendored Packages
    • golang-1.27-darwin
  • BOSH blob references for golang

Reduces final tarball size from ~215MB to ~147MB

Respective changes have been made to the CI jobs that bump the vendored golang packages to avoid an OS that has not previously been vendored in this bosh release.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing performed?

  • Unit tests
  • Integration tests
  • Acceptance tests

Checklist:

  • This PR is being made against the main branch, or relevant version branch
  • I have made corresponding changes to the documentation
  • I have added testing for my changes

If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack

to reduce CI I/O and final package size
Only vendored golang-1.27-linux and golang-1.27-windows is used by system-metrics-release

golang-1.27-linux and golang-1.27-windows are also only used as a vendored package, not as a bosh blob

@chombium chombium left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dlinsley

@chombium
chombium merged commit d7790e2 into cloudfoundry:main Sep 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants