test: rename golden snapshot files to expected

This commit is contained in:
Tianyi Cui
2026-07-19 17:45:49 +08:00
parent b3c4b732d8
commit 0893aaa7cb
157 changed files with 160 additions and 159 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ const snapshotMaxConcurrency = positiveIntFromEnv(
)
// Replay is the keyless default: boot real example subprocesses from recorded model scripts and diff
// normalized protocol or transcript output plus persisted-log goldens. `record` calls the real API
// and updates fixtures and goldens; `refresh` replays committed scripts and updates current goldens.
// normalized protocol or transcript output plus persisted-log expected outputs. `record` calls the real API
// and updates fixtures and expected outputs; `refresh` replays committed scripts and updates current expected outputs.
// Replay/refresh never load `.env`; only record reads a key from the environment or root `.env`.
if (process.env.DSH_SNAPSHOT === 'record') {
try {