Skip to content

chore(golang): remove unused builddeps-only components - #18635

Open
reuben olinsky (reubeno) wants to merge 1 commit into
microsoft:4.0from
reubeno:remove-unused-go-sdk-components
Open

chore(golang): remove unused builddeps-only components#18635
reuben olinsky (reubeno) wants to merge 1 commit into
microsoft:4.0from
reubeno:remove-unused-go-sdk-components

Conversation

@reubeno

@reubeno reuben olinsky (reubeno) commented Aug 26, 2026

Copy link
Copy Markdown
Member

Drop unused Google Cloud SDK, Autorest, client-go, migrate, and ocagent components. Their remaining consumers are bundled or removed.

Justification

We're having build issues with many of these packages, due to dependencies, compatibility with newer golang versions, etc. Each of the removed packages (except for migrate) has been abandoned/sunset in upstream Fedora. The azure-autorest package is for an OSS Microsoft project that was archived ~18 months ago. migrate is alive and kicking in Fedora, but we do not have any dependencies on it within the distro, nor is it part of our supported base repo.

Verification

Copilot analysis + dnf repoquery analysis + pkgx analysis (run against PME prod koji RPMs) to confirm that the only build or runtime dependencies on these packages are from within this set.

Drop unused Google Cloud SDK, Autorest, client-go, migrate, and ocagent components.
Their remaining consumers are bundled or removed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 26, 2026 20:51

Copilot AI 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.

Pull request overview

Removes obsolete Go SDK components whose consumers now bundle dependencies or no longer exist.

Changes:

  • Removes 12 component definitions and related configuration.
  • Deletes corresponding locks and rendered RPM artifacts.
  • Cleans stale check-disablement entries.

Reviewed changes

Copilot reviewed 31 out of 43 changed files in this pull request and generated no comments.

Show a summary per file
File Description
base/comps/components.toml Removes inline component registrations.
base/comps/component-check-disablement.toml Removes obsolete check exceptions.
base/comps/migrate/migrate.comp.toml Removes migrate definition.
base/comps/migrate/overlays/0001-add-missing-jmespath-buildrequires.overlay.toml Removes migrate overlay.
base/comps/golang-cloud-google/golang-cloud-google.comp.toml Removes pinned Google Cloud definition.
locks/migrate.lock Removes component lock.
locks/golang-k8s-client.lock Removes component lock.
locks/golang-google-api.lock Removes component lock.
locks/golang-github-googleapis-gax.lock Removes component lock.
locks/golang-github-azure-autorest.lock Removes component lock.
locks/golang-contrib-opencensus-exporter-ocagent.lock Removes component lock.
locks/golang-cloud-google.lock Removes component lock.
locks/golang-cloud-google-storage.lock Removes component lock.
locks/golang-cloud-google-longrunning.lock Removes component lock.
locks/golang-cloud-google-iam.lock Removes component lock.
locks/golang-cloud-google-cloudtasks.lock Removes component lock.
locks/golang-cloud-google-auth.lock Removes component lock.
specs/m/migrate/migrate.spec Removes rendered spec.
specs/m/migrate/sources Removes source checksum.
specs/m/migrate/0001-refactor-update-go-gitlab.patch Removes package patch.
specs/g/golang-k8s-client/golang-k8s-client.spec Removes rendered spec.
specs/g/golang-k8s-client/sources Removes source checksum.
specs/g/golang-google-api/golang-google-api.spec Removes rendered spec.
specs/g/golang-google-api/sources Removes source checksum.
specs/g/golang-github-googleapis-gax/golang-github-googleapis-gax.spec Removes rendered spec.
specs/g/golang-github-googleapis-gax/sources Removes source checksum.
specs/g/golang-github-azure-autorest/golang-github-azure-autorest.spec Removes rendered spec.
specs/g/golang-github-azure-autorest/sources Removes source checksum.
specs/g/golang-github-azure-autorest/format-error.patch Removes package patch.
specs/g/golang-contrib-opencensus-exporter-ocagent/golang-contrib-opencensus-exporter-ocagent.spec Removes rendered spec.
specs/g/golang-contrib-opencensus-exporter-ocagent/sources Removes source checksum.
specs/g/golang-cloud-google/golang-cloud-google.spec Removes rendered spec.
specs/g/golang-cloud-google/sources Removes source checksum.
specs/g/golang-cloud-google-storage/golang-cloud-google-storage.spec Removes rendered spec.
specs/g/golang-cloud-google-storage/sources Removes source checksum.
specs/g/golang-cloud-google-longrunning/golang-cloud-google-longrunning.spec Removes rendered spec.
specs/g/golang-cloud-google-longrunning/sources Removes source checksum.
specs/g/golang-cloud-google-iam/golang-cloud-google-iam.spec Removes rendered spec.
specs/g/golang-cloud-google-iam/sources Removes source checksum.
specs/g/golang-cloud-google-cloudtasks/golang-cloud-google-cloudtasks.spec Removes rendered spec.
specs/g/golang-cloud-google-cloudtasks/sources Removes source checksum.
specs/g/golang-cloud-google-auth/golang-cloud-google-auth.spec Removes rendered spec.
specs/g/golang-cloud-google-auth/sources Removes source checksum.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@reubeno

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

@reubeno
reuben olinsky (reubeno) marked this pull request as ready for review August 26, 2026 21:21
@reubeno
reuben olinsky (reubeno) requested a review from a team as a code owner August 26, 2026 21:21
@reubeno reuben olinsky (reubeno) changed the title chore(golang): remove unused SDK components chore(golang): remove unused builddeps-only components Aug 26, 2026
@miz060

Copy link
Copy Markdown
Member

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants