Skip to content

build(golang-x-telemetry,golang-github-cncf-xds): temporarily break dependency cycles - #18457

Merged
reuben olinsky (reubeno) merged 1 commit into
4.0from
mitchzhu/temp-bootstrap-go-cycles
Aug 15, 2026
Merged

build(golang-x-telemetry,golang-github-cncf-xds): temporarily break dependency cycles#18457
reuben olinsky (reubeno) merged 1 commit into
4.0from
mitchzhu/temp-bootstrap-go-cycles

Conversation

@miz060

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

Copy link
Copy Markdown
Member

The Stage 2 rebuild is blocked by two circular dependency chains:

  • golang-x-telemetry requires golang-x-exp-devel, which reaches golang-x-tools-devel, which requires telemetry.
  • golang-github-cncf-xds requires golang-google-grpc-devel, which requires xDS.

This temporary change enables the existing bootstrap mode for golang-x-telemetry and adds equivalent bootstrap handling to golang-github-cncf-xds. In bootstrap mode, both packages skip dynamic Go BuildRequires and tests while still producing their source-only -devel RPMs and Go capability provides. These reduced packages can seed azl4, allowing the normal packages on both sides of each cycle to build after the repository is regenerated.

This change should be reverted after the reduced packages are published and the normal telemetry and xDS packages have been rebuilt.

Validation:

  • scratch build passed
  • mock-chroot smoke-test passed

…ependency cycles

Enable bootstrap builds for golang-x-telemetry and cncf-xds to seed the two circular dependency chains in azl4.

This is a temporary change and must be reverted after the normal packages are rebuilt.

Signed-off-by: Mitch Zhu <mitchzhu@microsoft.com>
Copilot AI balanced review requested due to automatic review settings August 14, 2026 22:12

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

Temporarily enables reduced bootstrap builds to break two Stage 2 Go dependency cycles.

Changes:

  • Enables bootstrap mode for telemetry and xDS.
  • Adds xDS overlays to skip dynamic dependencies and tests.
  • Refreshes generated specs, macros, and locks.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
base/comps/golang-x-telemetry/golang-x-telemetry.comp.toml Enables telemetry bootstrap mode.
base/comps/golang-github-cncf-xds/golang-github-cncf-xds.comp.toml Adds xDS bootstrap configuration and overlays.
base/comps/components.toml Moves both components to dedicated definitions.
specs/g/golang-x-telemetry/golang-x-telemetry.spec Renders telemetry bootstrap configuration.
specs/g/golang-x-telemetry/golang-x-telemetry.azl.macros Enables telemetry’s bootstrap bcond.
specs/g/golang-github-cncf-xds/golang-github-cncf-xds.spec Renders xDS bootstrap behavior.
specs/g/golang-github-cncf-xds/golang-github-cncf-xds.azl.macros Enables xDS’s bootstrap bcond.
locks/golang-x-telemetry.lock Refreshes telemetry’s input fingerprint.
locks/golang-github-cncf-xds.lock Refreshes xDS’s input fingerprint.

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

Comment thread base/comps/golang-x-telemetry/golang-x-telemetry.comp.toml
Comment thread base/comps/golang-github-cncf-xds/golang-github-cncf-xds.comp.toml
@miz060
Mitch Zhu (miz060) marked this pull request as ready for review August 14, 2026 22:29
@miz060
Mitch Zhu (miz060) requested a review from a team as a code owner August 14, 2026 22:29
@miz060

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

Copy link
Copy Markdown
Member

Merging as a temporary workaround; we will revert this change after we can get through the bootstrap steps.

@reubeno
reuben olinsky (reubeno) merged commit 93a8aad into 4.0 Aug 15, 2026
13 checks passed
@reubeno
reuben olinsky (reubeno) deleted the mitchzhu/temp-bootstrap-go-cycles branch August 15, 2026 00:41
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