Skip to content

[BUG] Proto CI Workflow Failed: Cannot download buf-setup-action in main branch #32

@ilramdhan

Description

@ilramdhan

name: 🐛 Bug Report
about: Report issues with proto definitions or code generation
title: '[BUG] Proto CI Workflow Failed: Cannot download buf-setup-action in main branch'
labels: 'type: bug, status: needs-triage'
assignees: 'Ilham Ramadhan'

Bug Description

Pipeline Proto CI mengalami kegagalan (failed) secara otomatis sesaat setelah Pull Request #28 (feat/product-costing-phase-1) di-merge ke branch main. Error terjadi pada tahap Set up job, di mana GitHub Actions runner gagal mengunduh archive untuk bufbuild/buf-setup-action@v1 dari server GitHub (codeload.github.com), menghasilkan Internal server error. Hal ini menyebabkan job Lint & Breaking Changes terhenti sebelum command buf sempat dieksekusi.

Proto File

  • File: N/A (Kegagalan terjadi di level infrastruktur CI/Pipeline)
  • Service/Message: N/A

Environment

  • Buf CLI Version: N/A (Gagal pada saat setup/instalasi via Action)
  • OS: ubuntu-latest (GitHub Actions Runner)

Steps to Reproduce

  1. Lakukan merge Pull Request ke branch main (dalam kasus ini PR feat(product-cost): Add Product and Cost Calculation services with RPCs #28).
  2. Buka tab Actions di repositori GitHub.
  3. Buka eksekusi workflow Proto CI yang berjalan untuk merge commit tersebut.
  4. Periksa log pada job Lint & Breaking Changes di bagian Set up job.

Expected Behavior

GitHub Actions runner berhasil mengunduh action dependencies, melakukan setup Buf CLI, lalu menjalankan proses buf lint dan buf breaking dengan sukses.

Actual Behavior

Proses terhenti di tahap Set up job karena runner tidak dapat menemukan/mengunduh repositori action bufbuild/buf-setup-action@v1, memunculkan error 500/Internal Server Error.

Commands Run

# Otomatis dieksekusi oleh GitHub Actions Runner berdasarkan ci.yml
uses: bufbuild/buf-setup-action@v1

Error Output

Set up job
Failed to download archive '[https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99](https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99)' after 1 attempts.
Set up job
An action could not be found at the URI '[https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99](https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99)' (9800:38588:1B2621:1F62F1:6A158FC4)
Internal server error. Correlation ID: 75cc724f-fe9d-4f46-adf6-e1c612da1a53
...
Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5)
Download action repository 'bufbuild/buf-setup-action@v1' (SHA:a47c93e0b1648d5651a065437926377d060baa99)
Error: An action could not be found at the URI '[https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99](https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99)' (9800:38588:1B2621:1F62F1:6A158FC4)
Error: Failed to download archive '[https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99](https://codeload.github.com/bufbuild/buf-setup-action/tar.gz/a47c93e0b1648d5651a065437926377d060baa99)' after 1 attempts.

Additional Context

Error ini sangat mengindikasikan adanya gangguan (transient issue) pada jaringan atau layanan internal GitHub (GitHub Actions infrastructure) saat runner mencoba mengambil source code plugin.

Rekomendasi Tindakan:
Coba lakukan "Re-run failed jobs" pada workflow tersebut di GitHub Actions. Jika re-run berhasil, maka ini murni karena downtime sesaat dari GitHub. Jika terus berulang, kita mungkin perlu memvalidasi apakah ada pembaruan version tag dari bufbuild/buf-setup-action yang perlu disesuaikan di ci.yml.

Checklist

  • I have run buf lint (N/A - CI Issue)
  • I have run buf format -w (N/A - CI Issue)
  • I have checked for breaking changes (N/A - CI Issue)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions