Deterministic artifact graph - bring back the clockwork universe (#7483)

* Change to use deterministic artifact graph

* Update output to use the new order

* Fix to clear everything when scene is cleared

* Fix lots

* Update artifact graph output for the last time

* Delete unused sorting code

* Remove unneeded cfg

* Fix to preserve top-level artifacts when there's an error

* Update output after error fix

* Add better doc comments

* Remove duplicate global operations

* Update comments

* Update ignored tests that were flaky

* Update graph for new samples after rebase

* Fix test assertion message
This commit is contained in:
Jonathan Tran
2025-06-16 13:55:24 -04:00
committed by GitHub
parent d6278cf075
commit aae34cf1e5
197 changed files with 79222 additions and 69896 deletions

View File

@ -1,55 +1,55 @@
```mermaid
flowchart LR
subgraph path3 [Path]
3["Path<br>[36, 73, 0]"]
subgraph path2 [Path]
2["Path<br>[36, 73, 0]"]
%% [ProgramBodyItem { index: 1 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
5["Segment<br>[79, 103, 0]"]
3["Segment<br>[79, 103, 0]"]
%% [ProgramBodyItem { index: 1 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
6["Segment<br>[109, 199, 0]"]
4["Segment<br>[109, 199, 0]"]
%% [ProgramBodyItem { index: 1 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
7["Segment<br>[205, 212, 0]"]
5["Segment<br>[205, 212, 0]"]
%% [ProgramBodyItem { index: 1 }, ExpressionStatementExpr, PipeBodyItem { index: 4 }]
12[Solid2d]
6[Solid2d]
end
subgraph path4 [Path]
4["Path<br>[259, 284, 0]"]
subgraph path10 [Path]
10["Path<br>[259, 284, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
8["Segment<br>[290, 314, 0]"]
11["Segment<br>[290, 314, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
9["Segment<br>[320, 411, 0]"]
12["Segment<br>[320, 411, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
10["Segment<br>[420, 427, 0]"]
13["Segment<br>[420, 427, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 4 }]
11[Solid2d]
14[Solid2d]
end
1["Plane<br>[15, 32, 0]"]
%% [ProgramBodyItem { index: 1 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
2["Plane<br>[238, 255, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
13["Sweep Revolve<br>[218, 235, 0]"]
7["Sweep Revolve<br>[218, 235, 0]"]
%% [ProgramBodyItem { index: 1 }, ExpressionStatementExpr, PipeBodyItem { index: 5 }]
14["Sweep Revolve<br>[436, 453, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 5 }]
15[Wall]
8[Wall]
%% face_code_ref=Missing NodePath
9["Plane<br>[238, 255, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
15["Sweep Revolve<br>[436, 453, 0]"]
%% [ProgramBodyItem { index: 2 }, ExpressionStatementExpr, PipeBodyItem { index: 5 }]
16[Wall]
%% face_code_ref=Missing NodePath
1 --- 3
1 --- 2
2 --- 3
2 --- 4
3 --- 5
3 --- 6
3 --- 7
3 --- 12
3 ---- 13
2 --- 5
2 --- 6
2 ---- 7
7 <--x 4
4 --- 8
4 --- 9
4 --- 10
4 --- 11
4 ---- 14
13 <--x 6
6 --- 15
14 <--x 9
9 --- 16
13 --- 15
14 --- 16
7 --- 8
9 --- 10
10 --- 11
10 --- 12
10 --- 13
10 --- 14
10 ---- 15
15 <--x 12
12 --- 16
15 --- 16
```