Skip to content

fix(go-control-plane): update to 0.13.4 - #18508

Open
Mitch Zhu (miz060) wants to merge 1 commit into
4.0from
mitchzhu/golang-dependency-cycle-pruning
Open

fix(go-control-plane): update to 0.13.4#18508
Mitch Zhu (miz060) wants to merge 1 commit into
4.0from
mitchzhu/golang-dependency-cycle-pruning

Conversation

@miz060

@miz060 Mitch Zhu (miz060) commented Aug 19, 2026

Copy link
Copy Markdown
Member

grpc-go's xDS packages require go-control-plane, but version 0.11.1 pulls deprecated OpenCensus APIs into an unbuildable dependency cycle. Update to upstream 0.13.4, which removes those APIs while retaining the xDS capabilities grpc-go needs.

Validation:

  • go-control-plane 0.13.4 builds and installs in mock with no OpenCensus requirement.
  • gRPC 1.64.0 builds against the updated control-plane package; Fedora disables its %check body.

Copilot AI balanced review requested due to automatic review settings August 19, 2026 02:33

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

Prunes legacy Go dependency cycles and updates Envoy control plane to 0.13.4.

Changes:

  • Removes unused Prometheus config-related packages and tests.
  • Updates Envoy control plane source and version.
  • Refreshes generated specs and component locks.

Reviewed changes

Copilot reviewed 11 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
specs/g/golang-github-prometheus-common/golang-github-prometheus-common.spec Removes config packages.
specs/g/golang-github-prometheus-client/golang-github-prometheus-client.spec Removes config-dependent example test.
specs/g/golang-github-envoyproxy-control-plane/sources Adds the 0.13.4 archive checksum.
specs/g/golang-github-envoyproxy-control-plane/golang-github-envoyproxy-control-plane.spec Updates the rendered version.
locks/golang-github-prometheus-common.lock Refreshes the input fingerprint.
locks/golang-github-prometheus-client.lock Refreshes the input fingerprint.
locks/golang-github-envoyproxy-control-plane.lock Refreshes the input fingerprint.
base/comps/golang-github-prometheus-common/overlays/0001-drop-unused-config-modules.overlay.toml Defines config-package pruning.
base/comps/golang-github-prometheus-common/overlays/0001-add-missing-jmespath-buildrequires.overlay.toml Removes the obsolete dependency workaround.
base/comps/golang-github-prometheus-client/overlays/0001-drop-pruned-config-example.overlay.toml Defines example-test pruning.
base/comps/golang-github-prometheus-client/golang-github-prometheus-client.comp.toml Moves the customized component to a dedicated definition.
base/comps/golang-github-envoyproxy-control-plane/overlays/0002-update-to-upstream-0.13.4.overlay.toml Defines the Envoy version update.
base/comps/golang-github-envoyproxy-control-plane/golang-github-envoyproxy-control-plane.comp.toml Registers the new source archive.
base/comps/components.toml Removes the now-customized client from the inline list.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@miz060
Mitch Zhu (miz060) force-pushed the mitchzhu/golang-dependency-cycle-pruning branch from 3183c19 to b40da8c Compare August 19, 2026 17:46
Copilot AI review requested due to automatic review settings August 19, 2026 17:46
@miz060
Mitch Zhu (miz060) marked this pull request as ready for review August 19, 2026 17:50
@miz060
Mitch Zhu (miz060) requested a review from a team as a code owner August 19, 2026 17:50

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

Copilot reviewed 11 out of 14 changed files in this pull request and generated no new comments.

@miz060
Mitch Zhu (miz060) force-pushed the mitchzhu/golang-dependency-cycle-pruning branch from b40da8c to 93bcd6e Compare August 20, 2026 02:16
Copilot AI review requested due to automatic review settings August 20, 2026 02:16

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

Copilot reviewed 11 out of 14 changed files in this pull request and generated no new comments.

Suppressed comments (1)

specs/g/golang-github-envoyproxy-control-plane/sources:2

  • The rendered source manifest now declares both the obsolete 0.11.1 archive and the 0.13.4 archive, even though the spec's %{gosource} references only version 0.13.4. This leaves source preparation carrying an unused legacy input after the version bump. Please adjust the component's source handling and re-render so the manifest contains only the archive used by the spec.
SHA512 (go-control-plane-0.13.4.tar.gz) = c42791b0322bff372707b45ec140df2767e81c89a25e254622e088e6dcda86a4d6bf8384714c88e0deab34dd17f1f9a36ffa8c663a596885b02d8a24da2ec531

@miz060 Mitch Zhu (miz060) changed the title fix(golang-github-prometheus-common,golang-github-prometheus-client,golang-github-envoyproxy-control-plane): prune dependency cycles fix(golang): prune dependency cycles Aug 20, 2026
grpc-go's xDS packages require go-control-plane, but version 0.11.1 pulls deprecated OpenCensus APIs into a dependency cycle.

Update to upstream 0.13.4, which removes those APIs while retaining the xDS capabilities grpc-go needs.

Signed-off-by: Mitch Zhu <mitchzhu@microsoft.com>
Copilot AI review requested due to automatic review settings August 20, 2026 02:40
@miz060
Mitch Zhu (miz060) force-pushed the mitchzhu/golang-dependency-cycle-pruning branch from 93bcd6e to a70a3e9 Compare August 20, 2026 02:40

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

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.

@miz060 Mitch Zhu (miz060) changed the title fix(golang): prune dependency cycles fix(go-control-plane): update to 0.13.4 Aug 20, 2026
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.

2 participants