修复AGC登录网络错误与构建门禁
Project CI / Repository checks (push) Failing after 1m3s
Project CI / Frontend tests (push) Successful in 3m3s
Project CI / Backend tests (push) Successful in 4m3s
Project CI / Native shell tests (push) Failing after 3h0m0s

- 登录页归一网络错误并避免暴露底层 transport 文本

- 补充拒绝连接提示与错误信息脱敏回归测试

- master 推送门禁增加 AGC AppSurface 验证
This commit is contained in:
kdletters
2026-08-18 22:15:49 +08:00
parent fe69a49a9c
commit b8dc3fe1b1
5 changed files with 73 additions and 8 deletions
+1
View File
@@ -20,6 +20,7 @@ git cat-file -e "${head_ref}^{commit}" 2>/dev/null || {
echo "[repository-ci] base=${base_ref} head=$(git rev-parse "${head_ref}")"
SPACETIME_SCHEMA_BASE_REF="${base_ref}" npm run lint
npm run test -- apps/ai-game-creator-shell/tests/appSurface.test.ts
npm run build
npm run check:content
git diff --check "${base_ref}"..."${head_ref}"
+4
View File
@@ -257,6 +257,10 @@ test('Gitea Repository checks and master pre-push share the same repository comm
repositoryScript,
/SPACETIME_SCHEMA_BASE_REF="\$\{base_ref\}" npm run lint/u,
);
assert.match(
repositoryScript,
/npm run lint[\s\S]*npm run test -- apps\/ai-game-creator-shell\/tests\/appSurface\.test\.ts[\s\S]*npm run build/u,
);
assert.match(repositoryScript, /npm run build/u);
assert.match(repositoryScript, /npm run check:content/u);
assert.match(repositoryScript, /git diff --check/u);