Merge remote-tracking branch 'origin/master' into feat/game-works-management
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m32s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 5m5s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 3m33s
Project CI / Frontend tests (pull_request) Successful in 3m39s
Project CI / Backend tests (pull_request) Successful in 6m49s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m39s
Project CI / Repository checks (pull_request) Successful in 6m43s
Project CI / Native shell tests (pull_request) Successful in 7m39s

# Conflicts:
#	docs/project-memory/shared-memory/decision-log.md
#	docs/【后端架构】server-rs与SpacetimeDB数据契约-2026-05-15.md
#	server-rs/crates/api-server/src/modules/game_distribution.rs
#	server-rs/crates/spacetime-client/src/active.rs
#	server-rs/crates/spacetime-module/src/game_distribution.rs
#	src/components/game-distribution/GameDistributionPages.test.tsx
This commit is contained in:
2026-10-04 15:00:23 +08:00
46 changed files with 1806 additions and 130 deletions
+3 -1
View File
@@ -255,7 +255,9 @@ function validateNginxRoutes(nginxPath, expectedRoutes, prefixRoutes) {
fail(`${nginxPath} ${failure}`);
}
if (!prefixLocationBody.includes('try_files $uri /index.html =404;')) {
fail(`${nginxPath} 前缀路由 ${prefix} 的 location 没有精确回退 index.html。`);
fail(
`${nginxPath} 前缀路由 ${prefix} 的 location 没有精确回退 index.html。`,
);
}
if (
exactLocationBody?.includes(maintenanceGuard) &&
+6 -2
View File
@@ -308,10 +308,14 @@ function validateRustMainSpaPrefixPaths() {
const missing = expected.filter((prefix) => !rustPrefixes.includes(prefix));
const extra = rustPrefixes.filter((prefix) => !expected.includes(prefix));
if (missing.length > 0) {
fail(`Pingora MAIN_SPA_PREFIX_PATHS 缺少当前前缀路由: ${missing.join(', ')}`);
fail(
`Pingora MAIN_SPA_PREFIX_PATHS 缺少当前前缀路由: ${missing.join(', ')}`,
);
}
if (extra.length > 0) {
fail(`Pingora MAIN_SPA_PREFIX_PATHS 包含非当前前缀路由: ${extra.join(', ')}`);
fail(
`Pingora MAIN_SPA_PREFIX_PATHS 包含非当前前缀路由: ${extra.join(', ')}`,
);
}
}
+2
View File
@@ -221,6 +221,7 @@ describe('retired creation template module boundary plugin', () => {
'src/persistence/storage.ts',
'src/routing/activeAppRoutes.tsx',
'src/services/apiClient.ts',
'src/services/gamePlayClientId.ts',
]) {
expect(isRetiredFrontendModuleId(workspacePath(path))).toBe(false);
}
@@ -271,6 +272,7 @@ describe('retired frontend ESLint boundary', () => {
'src/persistence/storage.ts',
'src/routing/activeAppRoutes.tsx',
'src/services/apiClient.ts',
'src/services/gamePlayClientId.ts',
]) {
await expect(eslint.isPathIgnored(path)).resolves.toBe(false);
}