Skip to content

Commit 052d87d

Browse files
authored
Add deps and outs to exp show test fixture (#1780)
* add deps and outs to main exp show test fixture * update keys for windows
1 parent a324f80 commit 052d87d

File tree

4 files changed

+2502
-337
lines changed

4 files changed

+2502
-337
lines changed

extension/src/cli/reader.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,11 @@ export interface BaseExperimentFields {
7676
checkpoint_parent?: string
7777
}
7878

79+
type DepsDetails = { hash: string; size: number; nfiles: null | number }
80+
type OutsDetails = DepsDetails & { use_cache: boolean; is_data_source: boolean }
81+
7982
interface OutsOrDepsDetails {
80-
[filename: string]: { hash: string; size: number; nfiles: null | number }
83+
[filename: string]: DepsDetails | OutsDetails
8184
}
8285

8386
export interface ExperimentFields extends BaseExperimentFields {

extension/src/experiments/webview/contract.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export interface Experiment extends BaseExperimentFields {
1212
logicalGroupName?: string
1313
params?: Columns
1414
metrics?: Columns
15+
deps?: Columns
16+
outs?: Columns
1517
displayColor?: string
1618
selected?: boolean
1719
mutable?: boolean

0 commit comments

Comments
 (0)