Skip to content

remove unused blobs and golang packages - #278

Merged
chombium merged 1 commit into
cloudfoundry:mainfrom
dlinsley:golang-cleanup
Sep 22, 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 is the only vendored golang package used by system-metrics-scraper-release

golang-1.27-linux is also only used as a vendored package, not as a bosh blob

This PR removes:

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

Reduces final tarball size from ~206MB to ~78MB

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

@dlinsley
dlinsley requested a review from a team as a code owner September 21, 2026 18:27
to reduce CI I/O and final package size
Only vendored golang-1.27-linux is used by system-metrics-scraper-release

golang-1.27-linux is 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.

Lgtm

@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Sep 22, 2026
@chombium
chombium merged commit afc5969 into cloudfoundry:main Sep 22, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Sep 22, 2026
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