修复合并后的仓库检查失败
Project CI / Repository checks (pull_request) Successful in 1m8s
Project CI / Frontend tests (pull_request) Successful in 3m2s
Project CI / Backend tests (pull_request) Successful in 3m42s
Project CI / Native shell tests (pull_request) Failing after 9m28s

删除重复维护页原子替换函数并恢复符号链接防护
清理开发栈未使用变量与资源投影正则告警
统一相关测试导入与开发栈导出顺序
This commit is contained in:
2026-08-07 12:44:29 +08:00
parent 75e3f1d041
commit 6fe52a92bb
6 changed files with 5 additions and 19 deletions
@@ -50,7 +50,6 @@ const {
viteHost,
vitePort,
apiPort,
bgfilterWorkerPort,
spacetimePort,
backendDatabase,
backendSpacetimeDataDir,
@@ -737,8 +736,8 @@ export {
preflightExistingVite,
readChildFailure,
readLinuxProcessGroupAlive,
resolveDevStackProfile,
resolveBackendTargetsFromState,
resolveDevStackProfile,
runWindowsTaskkill,
spawnChild,
stopChild,
@@ -60,7 +60,7 @@ function fileName(path: string) {
function isConcreteTaskArtifactPath(path: string) {
const normalizedPath = path.trim();
return normalizedPath.length > 0 && !/[*?\[\]{}]/u.test(normalizedPath);
return normalizedPath.length > 0 && !/[*?[\]{}]/u.test(normalizedPath);
}
export function classifyProjectedResource(input: {
@@ -1,6 +1,6 @@
import type { RunnableGameVersion } from '../../../../packages/shared/src/contracts/gameCreationApp';
import type { ProjectSupervisorComponentProps } from '../../src/features/app-shell/model';
import { WorkspaceLauncherShell } from '../../src/features/app-shell/WorkspaceLauncher';
import type { RunnableGameVersion } from '../../../../packages/shared/src/contracts/gameCreationApp';
import {
act,
App,
@@ -4,12 +4,12 @@ import {
createEmptyResourceCanvasLayout,
moveResourceCanvasPosition,
reconcileResourceCanvasLayout,
resourceCanvasContentWidth,
RESOURCE_CANVAS_CARD_HEIGHT,
RESOURCE_CANVAS_CARD_WIDTH,
RESOURCE_CANVAS_COLUMN_GAP,
RESOURCE_CANVAS_ROW_GAP,
RESOURCE_CANVAS_SECTION_HORIZONTAL_PADDING,
resourceCanvasContentWidth,
type ResourceCanvasItem,
} from '../src/view/project-development/resourceCanvasLayoutModel';
@@ -12,8 +12,8 @@ import {
isProcessGroupAlive,
preflightExistingVite,
readLinuxProcessGroupAlive,
resolveDevStackProfile,
resolveBackendTargetsFromState,
resolveDevStackProfile,
runWindowsTaskkill,
spawnChild,
stopChild,
-13
View File
@@ -37,19 +37,6 @@ replace_file_atomically() {
mv -f "${source_file}" "${target_file}"
}
replace_file_atomically() {
local source_file="$1"
local target_file="$2"
if [[ -d "${target_file}" && ! -L "${target_file}" ]]; then
echo "[maintenance] 原子替换目标不能是目录: ${target_file}" >&2
exit 1
fi
# 源文件与目标文件位于同一目录,POSIX rename 语义即可保证原子替换。
# 不使用 GNU mv 专属的 -T,确保 macOS/BSD 本地门禁也能执行。
mv -f "${source_file}" "${target_file}"
}
while [[ $# -gt 0 ]]; do
case "$1" in
--page-file)