fix: align mirror publishing region
Deploy website to GitHub Pages / Deploy static website (push) Waiting to run
Cross-platform packages / Validate source (push) Waiting to run
Cross-platform packages / linux arm64 (push) Blocked by required conditions
Cross-platform packages / macos arm64 (push) Blocked by required conditions
Cross-platform packages / windows arm64 (push) Blocked by required conditions
Cross-platform packages / linux x64 (push) Blocked by required conditions
Cross-platform packages / macos x64 (push) Blocked by required conditions
Cross-platform packages / windows x64 (push) Blocked by required conditions
Cross-platform packages / Publish GitHub and OSS release (push) Blocked by required conditions

The v0.10.3 release index was generated, but the pinned upload client rejected object uploads because V4 signing did not receive a region. The application and website also addressed the Beijing bucket through the previous Hangzhou endpoint.

Derive and pass the endpoint region to every upload, pin workflow configuration to the trusted production bucket, and align application and website URL validation with its actual endpoint. Advance recovery metadata to 0.10.4 and remove the unpublished 0.10.3 note.

Release note: 0.10.4 carries forward the approved mirror-node and conversation timestamp improvements from the unpublished candidates.
This commit is contained in:
mesalogo
2026-08-17 22:17:43 +08:00
parent 7ecb735db0
commit 60119a4317
10 changed files with 46 additions and 17 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
const finePointer = window.matchMedia("(hover: hover) and (pointer: fine)");
const reducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)");
const releaseManifestUrl =
"https://goodbuddy.oss-cn-hangzhou.aliyuncs.com/releases/latest.json";
"https://goodbuddy.oss-cn-beijing.aliyuncs.com/releases/latest.json";
const releaseFallbackUrl =
"https://github.com/mesalogo/goodbuddy/releases/latest";
const releaseStatus = document.querySelector("[data-release-status]");
@@ -44,7 +44,7 @@
const url = new URL(value);
return (
url.protocol === "https:" &&
url.hostname === "goodbuddy.oss-cn-hangzhou.aliyuncs.com" &&
url.hostname === "goodbuddy.oss-cn-beijing.aliyuncs.com" &&
url.pathname.startsWith("/releases/")
);
} catch {
+1 -1
View File
@@ -149,7 +149,7 @@ report(
report(/data-release-status/.test(html), "下载区缺少发布源状态");
report(
appJs.includes(
"https://goodbuddy.oss-cn-hangzhou.aliyuncs.com/releases/latest.json",
"https://goodbuddy.oss-cn-beijing.aliyuncs.com/releases/latest.json",
),
"官网必须从 GoodBuddy OSS 加载最新发布索引",
);