A new way to manage dependencies: How we extended bzlmod
summary
Migrates package-managed dependencies from WORKSPACE repo rules into bzlmod module extensions that declare direct deps as tags, keep labels stable for easier migration, and use use_repos stanzas plus returned extension metadata so builder automation can auto-fix module.bazel entries (bazel mod graph prints a builder command). Extensions enforce that root/core overrides win to avoid surprising changes, support isolated module extensions for local overrides, and rely on existing repo rules like stack_snapshot and nixpkgs; implemented and working with Bazel 6.3 experimental flags.
AI-written summary · about
