Skip to content

fix(ci): replace flaky choco protoc install with direct GitHub download#165

Merged
mohamedmansour merged 1 commit intomainfrom
fix/ci-protoc-install
Apr 3, 2026
Merged

fix(ci): replace flaky choco protoc install with direct GitHub download#165
mohamedmansour merged 1 commit intomainfrom
fix/ci-protoc-install

Conversation

@mohamedmansour
Copy link
Copy Markdown
Contributor

The Chocolatey community feed intermittently returns 504 Gateway Timeout errors when installing protoc, causing Windows CI builds to fail with:

  Failed to fetch results from V2 feed at
  'https://community.chocolatey.org/api/v2/...' : 504 (Gateway Timeout)

Replace \choco install protoc\ with a direct download from the official protobuf GitHub releases. This removes the Chocolatey CDN dependency entirely and makes Windows CI deterministic.

The protoc version is now a configurable input (\protoc-version, default: 29.5) so it can be overridden per-workflow if needed.

@mohamedmansour mohamedmansour requested a review from a team April 3, 2026 01:15
@mohamedmansour mohamedmansour force-pushed the fix/ci-protoc-install branch from b043248 to 656a902 Compare April 3, 2026 01:26
The Chocolatey community feed intermittently returns 504 Gateway Timeout
errors when installing protoc, causing Windows CI builds to fail with:

  Failed to fetch results from V2 feed at
  'https://community.chocolatey.org/api/v2/...' : 504 (Gateway Timeout)

Replace \choco install protoc\ with a direct download from the official
protobuf GitHub releases. This removes the Chocolatey CDN dependency
entirely and makes Windows CI deterministic.

The protoc version is now a configurable input (\protoc-version\,
default: 29.5) so it can be overridden per-workflow if needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mohamedmansour mohamedmansour force-pushed the fix/ci-protoc-install branch from 656a902 to 1d9fb57 Compare April 3, 2026 01:36
@mohamedmansour mohamedmansour merged commit 70f02ba into main Apr 3, 2026
21 checks passed
@mohamedmansour mohamedmansour deleted the fix/ci-protoc-install branch April 3, 2026 04: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.

2 participants