Skip to content

Use sq Bazel module for PGP signing - #5195

Closed
phlax with Copilot wants to merge 2 commits into
mainfrom
copilot/switch-pgp-rules-to-sq-module
Closed

Use sq Bazel module for PGP signing#5195
phlax with Copilot wants to merge 2 commits into
mainfrom
copilot/switch-pgp-rules-to-sq-module

Conversation

Copilot AI commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

//pgp no longer needs to fetch unverified per-platform sq release binaries through a custom module extension. The default signer now comes from the Envoy Bazel registry as sq@1.4.0.envoy.

  • Registry and module dependency

    • Bumped the Envoy Bazel registry pin to 9dbaa5076459279d6c86b400a7ab5a9b898cf08c.
    • Added the registry-backed dependency:
      bazel_dep(name = "sq", version = "1.4.0.envoy")
  • Default PGP toolchain

    • Added //pgp:sq_toolchain, wrapping @sq//:sq.
    • Registered it for non-dev consumers.
    • Kept the dev-only stub toolchain registered first so //pgp/test analysis tests continue to resolve the stub signer.
  • sq_signer executable handling

    • Changed sq_signer.sq from a single-file input to an exec-config executable.
    • Uses ctx.executable.sq / DefaultInfo.files_to_run.
    • Merges sq runfiles into the signer wrapper runfiles.
  • Removed obsolete download extension

    • Deleted //pgp:extensions.bzl.
    • Removed extension exports, bzl_library references, and commented MODULE examples.
  • Documentation

    • Updated //pgp docs to describe the default @sq//:sq signer and the remaining custom signer toolchain swap path.

@netlify

netlify Bot commented Sep 7, 2026

Copy link
Copy Markdown

Deploy Preview for nifty-bassi-e26446 ready!

Name Link
🔨 Latest commit 087fad7
🔍 Latest deploy log https://app.netlify.com/projects/nifty-bassi-e26446/deploys/6a9e4e5702dad000082fe393
😎 Deploy Preview https://deploy-preview-5195--nifty-bassi-e26446.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Copilot AI changed the title [WIP] Switch pgp rules to use sq module from Bazel registry Use sq Bazel module for PGP signing Sep 7, 2026
Copilot AI requested a review from phlax September 7, 2026 05:41
@phlax phlax closed this Sep 7, 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