| name | verify-module-build |
| description | Sets up and verifies local presubmit repository builds for modules in the Bazel Central Registry (BCR). Use when reproducing presubmit builds, testing module dependencies locally. |
Verify Module Build
This skill provides instructions for setting up and verifying module builds locally in the Bazel Central Registry (BCR).
Procedure
Copy this checklist and track progress:
1. Setup
Prepare the local repositories for the module version:
bazel run //tools:setup_presubmit_repos -- --module {module_name}@{version}
2. Test
Run the specific build or test command provided by the setup tool's output.
3. Troubleshoot
If local changes are not reflected during testing, clear the bazel cache:
bazel clean --expunge