Skip to content

Conversation

sampajano
Copy link
Collaborator

@sampajano sampajano commented Aug 27, 2025

This PR modernizes the grpc-web release workflows by migrating from make/Zig-based build systems to Bazel across all platforms, and updates GitHub Actions to use current versions.

Main changes:

  • Removes Zig build system and migrates all platforms to use Bazel for building the protoc plugin
  • Standardizes version handling across workflows with dynamic computation from inputs or Git refs
  • Updates GitHub Actions versions and adds support for ARM64 runners on all platforms

References

Github hosted runners:
https://docs.github.com/en/actions/reference/runners/github-hosted-runners

Fixes #1495
For #1466 :)

@sampajano sampajano changed the title Fixing Mac OS release workflow (and improve others) Fixing Mac OS release (using Bazel) workflow (and improve others) Aug 27, 2025
@sampajano sampajano requested review from Copilot and Vuhag123 August 27, 2025 00:17
Copilot

This comment was marked as outdated.

@sampajano sampajano force-pushed the 1.fix.actions branch 2 times, most recently from 3e34be3 to 9e09b7a Compare August 27, 2025 19:50
@sampajano sampajano changed the title Fixing Mac OS release (using Bazel) workflow (and improve others) Revamp Release workflows (using Bazel) Aug 27, 2025
@sampajano sampajano changed the title Revamp Release workflows (using Bazel) Revamp Release workflows using Bazel Aug 27, 2025
@sampajano sampajano changed the title Revamp Release workflows using Bazel Revamp Release workflows to use Bazel Aug 27, 2025
@sampajano sampajano changed the title Revamp Release workflows to use Bazel Simplify Release workflows using Bazel Aug 27, 2025
@sampajano sampajano changed the title Simplify Release workflows using Bazel Fix & Simplify Release workflows using Bazel Aug 27, 2025
@sampajano sampajano force-pushed the 1.fix.actions branch 19 times, most recently from 7a24238 to 8292c7c Compare August 30, 2025 01:32
@sampajano sampajano force-pushed the 1.fix.actions branch 6 times, most recently from 37e2757 to 3366823 Compare August 30, 2025 06:06
@sampajano sampajano changed the title Fix & Simplify Release workflows using Bazel Rework release workflows (for building x64 and arm64 on 3 platforms) Aug 30, 2025
@sampajano sampajano changed the title Rework release workflows (for building x64 and arm64 on 3 platforms) Rework release workflows (for building x64 and arm64) Aug 30, 2025
@sampajano sampajano force-pushed the 1.fix.actions branch 3 times, most recently from baece2c to 6d05c71 Compare August 30, 2025 06:43
@sampajano sampajano changed the title Rework release workflows (for building x64 and arm64) Rework release workflows using Github runners (and remove Zig) Aug 30, 2025
@sampajano sampajano requested a review from Copilot August 30, 2025 06:45
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the grpc-web release workflows by migrating from make/Zig-based build systems to Bazel across all platforms, and updates GitHub Actions to use current versions. The changes address macOS build issues while improving consistency and maintainability of the build process.

  • Removes Zig build system and migrates all platforms to use Bazel for building the protoc plugin
  • Standardizes version handling across workflows with dynamic computation from inputs or Git refs
  • Updates GitHub Actions versions and adds support for ARM64 runners on all platforms

Reviewed Changes

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

Show a summary per file
File Description
.github/workflows/make-plugin-windows.yml Migrated from x86_64-only to multi-arch (including ARM64) with Bazel build system
.github/workflows/make-plugin-mac-os.yml Replaced make-based build with Bazel and added ARM64 support
.github/workflows/make-plugin-linux.yml Migrated from Docker-based build to direct Bazel build with ARM64 support
.github/workflows/make-plugin-arm.yml Removed Zig-based ARM plugin workflow (functionality moved to other workflows)
javascript/net/grpc/web/generator/build.zig Removed Zig build configuration file
.bazelrc.windows Added Windows-specific Bazel configuration
.bazelrc Simplified main Bazel configuration with cleaner formatting
net/grpc/gateway/docker/protoc_plugin/Dockerfile Added TODO comment about migrating to Bazel
.github/workflows/release-source-archive.yml Updated checkout action to v3

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sampajano sampajano force-pushed the 1.fix.actions branch 2 times, most recently from 978c812 to 63cfef9 Compare August 30, 2025 06:50
This PR modernizes the grpc-web release workflows by migrating from make/Zig-based build systems to
Bazel across all platforms, and updates GitHub Actions to use current versions.

Removes Zig build system and migrates all platforms to use Bazel for building the protoc plugin
Standardizes version handling across workflows with dynamic computation from inputs or Git refs
Updates GitHub Actions versions and adds support for ARM64 runners on all platforms
@sampajano sampajano changed the title Rework release workflows using Github runners (and remove Zig) Rework release workflows using Github runners (replacing Zig) Aug 30, 2025
@sampajano sampajano merged commit d0ecc76 into grpc:master Aug 30, 2025
8 of 9 checks passed
@sampajano sampajano deleted the 1.fix.actions branch August 30, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix release workflows
1 participant