Skip to content

Drop stale loads in repositories.bzl after autobump cleanup - #356

Open
rootkiller6788 wants to merge 1 commit into
google:masterfrom
rootkiller6788:fix-stale-bzl-loads
Open

rootkiller6788 wants to merge 1 commit into
google:masterfrom
rootkiller6788:fix-stale-bzl-loads

Conversation

@rootkiller6788

Copy link
Copy Markdown

repositories.bzl still loads two files that the autobump cleanup deleted back in February (562fc9a): third_party/bazel.bzl and third_party/bazel_skylib.bzl. Nothing in the repo uses the symbols those loads export anymore, so they're pure breakage - any Bazel command that evaluates the async_profiler_repos module extension (bazel mod deps, mod tidy, IDE sync) dies with "cannot load '//third_party:bazel.bzl': no such file".

Normal bazel build //... never trips over it because nothing depends on the repos that extension creates, which is probably why it went unnoticed. Removing the two loads makes repositories.bzl load cleanly again.

562fc9a deleted third_party/bazel.bzl and third_party/bazel_skylib.bzl but
repositories.bzl still loads them. Nothing references the symbols they used to
export, so the loads just fail whenever the async_profiler_repos extension is
evaluated (bazel mod deps, IDE sync). Remove them.
@rootkiller6788
rootkiller6788 marked this pull request as ready for review October 12, 2026 15:47
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.

1 participant