修正运行态测试来源默认值
Project CI / Repository checks (push) Successful in 57s
Project CI / Frontend tests (push) Successful in 3m20s
Project CI / Backend tests (push) Successful in 3m51s
Project CI / Native shell tests (push) Failing after 8m45s

无 source 提交保留原有 Supervisor 来源

移除测试夹具中的无关格式变化
This commit is contained in:
2026-08-04 22:06:37 +08:00
parent 838feaeae9
commit 2ca674b5d8
@@ -471,7 +471,9 @@ function createProjectSupervisorRuntimeHarness({
currentProjectMessages.push({
schemaVersion: 'game-creator-conversation.v1',
...message,
...(args?.messageId ? { messageId: String(args.messageId) } : {}),
...(args?.messageId
? { messageId: String(args.messageId) }
: {}),
updatedAt:
typeof message.updatedAt === 'number'
? message.updatedAt
@@ -515,7 +517,7 @@ function createProjectSupervisorRuntimeHarness({
currentRuntime = runtimeState({
runId,
runProfile: args?.runProfile,
source: args?.source,
source: args?.source ?? 'project-supervisor',
status: 'running',
phase: 'planning',
currentTask: String(args?.task ?? ''),