fix: sync HWLAB source workspace through YAML

This commit is contained in:
Codex
2026-07-01 13:15:42 +00:00
parent c7c6832bec
commit 0f6e16b44e
6 changed files with 323 additions and 8 deletions
+10
View File
@@ -165,6 +165,16 @@ export function nodeRuntimeExpected(spec: HwlabRuntimeLaneSpec): Record<string,
valuesPrinted: false,
},
sourceWorkspace: spec.sourceWorkspace === undefined ? null : {
git: spec.sourceWorkspace.git === undefined ? null : {
remoteName: spec.sourceWorkspace.git.remoteName,
remoteUrl: spec.sourceWorkspace.git.remoteUrl,
identityTarget: spec.sourceWorkspace.git.identityTarget ?? null,
identityId: spec.sourceWorkspace.git.identityId ?? null,
proxyEnvPath: spec.sourceWorkspace.git.proxyEnvPath ?? null,
verifyRemote: spec.sourceWorkspace.git.verifyRemote,
requireUpToDate: spec.sourceWorkspace.git.requireUpToDate,
valuesPrinted: false,
},
requiredCommands: spec.sourceWorkspace.requiredCommands,
requiredFiles: spec.sourceWorkspace.requiredFiles,
install: spec.sourceWorkspace.install,