Evaluation
| Phase | What |
|---|---|
| PRECONFIG | (1) Resolve environment vars, directories and keys |
| TRACELOCK | Exclusive writer lock on the trace store |
| TRACEREAD | Read trace store |
| Do quick value store integrity checks | |
| CONFIG | (2) Create pid directory. And value store if needed |
| COMMANDPARSE | Parse the get-object, etc. command |
| STATERESTORE | (3) Initialize state from traces |
| VALUESCAN | Scan values.json/.lua in include dirs |
Add parse-CST j tasks | |
| Add built-in tasks | |
| VALUELOAD | (4) Full value store integrity check. |
Run j tasks to get CST. | |
| Parse CST into AST; validate; place in cache | |
From ASTs add d,f,b,a tasks | |
Run d distribution tasks | |
| USER | Find command in task graph. Run user task. |
| GRAPH | Dump dependency/ancestor graphs if requested |
| STATESAVE | Update trace store |
The number in parentheses is the classic phase number; those numbers are being phased out.