Bitbucket CI 测试失败

作者: sdarwin创建于 2026年6月9日更新于 2026年6月16日

证据链如下:

失败的测试正是 Hosting Providers › Bitbucket › push 和 Hosting Providers › Bitbucket › fetch,它们都在 tests/test-hosting-providers.js 和 tests/test-hosting-providers-in-submodule.js 中。它们在废弃时使用了一个硬编码的 App Password(reverse('TqSWhF3xLxEEXKQtZTwn')):

test-hosting-providers.js 第 108-109 行 const password = reverse('TqSWhF3xLxEEXKQtZTwn') const username = 'isomorphic-git' 远程 URL 是真实的 Bitbucket 仓库:

config 第 19-21 行 [remote "Bitbucket"] url = https://Bitbucket.org/isomorphic-git/test.empty fetch = +refs/heads/:refs/remotes/origin/ 错误类 — 确切的 HTTP 410 Gone — 是 Atlassian 在 brownouts 期间为 app-password Git-over-HTTPS 所文档的特定代码。他们通常不会为 Git 端点使用 410,而是故意选择它作为一个标志,而不是一般的失败。 同一 4 个测试在每次重试中都失败,完全相同。一个不稳定的网络会是间歇性的。 因此:这不是你的 bug,也不是分支的 bug,也不是一个暂时的异常。Atlassian 今天故意关闭了 app-password Git 身份验证。它将在 7 月 27 日(每个 brownout 窗口)间歇性运行,然后在 7 月 28 日永久关闭。

内容来源: isomorphic-git/isomorphic-git