Skip to content

Commit f8e5036

Browse files
committed
fix(preflight): display workspace-scoped derivedDataPath in pre-build summary
Same issue as the pipeline header — formatToolPreflight falls back to the flat default when derivedDataPath is not in the preflight params. Now reads from the session store as a fallback.
1 parent 911dedd commit f8e5036

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/build-preflight.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import path from 'node:path';
22
import os from 'node:os';
33
import { resolveEffectiveDerivedDataPath } from './derived-data-path.ts';
4+
import { sessionStore } from './session-store.ts';
45

56
export interface ToolPreflightParams {
67
operation:
@@ -94,7 +95,7 @@ export function formatToolPreflight(params: ToolPreflightParams): string {
9495
}
9596

9697
lines.push(
97-
` Derived Data: ${displayPath(resolveEffectiveDerivedDataPath(params.derivedDataPath))}`,
98+
` Derived Data: ${displayPath(resolveEffectiveDerivedDataPath(params.derivedDataPath ?? sessionStore.get('derivedDataPath')))}`,
9899
);
99100

100101
if (params.arch) {

0 commit comments

Comments
 (0)