googleapis / googleapis/google-cloud-cpp

Investigate Re-enabling Experimental Bazel Downloader Config

未关闭
#15,549 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: cleanup
主要语言
C++
星标
659
派生
462
平均合并
1 天 2 小时
30 天内合并 PR
89

描述

In pull request #15545, the experimental Bazel downloader configuration was commented out in `.bazelrc` to resolve build failures on the macOS bazel Kokoro CI. This was necessary because the downloader was causing 404 errors during the build.

As noted by @scotthart in https://github.com/googleapis/google-cloud-cpp/pull/15545#discussion_r2352861699, using alternate mirrors via a downloader config (`bazel/downloader.cfg`) is beneficial for build stability, as it helps reduce flakiness by providing backups if canonical sources are temporarily unavailable.

This issue is to track the work required to:

1. Investigate the cause of the 404 errors when using `bazel/downloader.cfg`.
2. Update the `bazel/downloader.cfg` file and any related configurations to ensure the mirror URLs are correct and accessible.
3. Re-enable the experimental downloader in `.bazelrc` once it's confirmed to be working reliably.

**Acceptance Criteria:**

* The root cause of the previous 404 errors is understood.
* The `bazel/downloader.cfg` is verified to work correctly.
* `build --experimental_downloader_config=bazel/downloader.cfg` is uncommented and functional in `.bazelrc`.

贡献指南

打开贡献指南

调研方向

从 .bazelrc 和 bazel/downloader.cfg 开始,然后在 macOS Bazel Kokoro CI 环境中运行 `build --experimental_downloader_config=bazel/downloader.cfg` 以复现 404 错误。跟踪失败的镜像 URL 并验证下载器配置。当根本原因已明确,并且 .bazelrc 中的实验性下载器设置已取消注释且正常工作时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

领域
build-system, ci-cd
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。