feat(rerun): retain live playback and recover isolated viewer resources

This commit is contained in:
DCCONSTRUCTIONS
2026-11-04 00:42:54 +03:00
parent 669ada973f
commit 7a3c3c00b3
28 changed files with 1414 additions and 262 deletions
@@ -252,9 +252,9 @@ test("recorded RRD bytes are never split across LogChannel.send_rrd calls", asyn
assert.match(source, /recordedPerceptionLayers\.costmap !== undefined && status !== "ready"/);
assert.match(source, /perceptionLayers\.costmap === undefined \? \{\} : \{\s*show_costmap: perceptionLayers\.costmap,\s*reactivate_updates: true/s);
// Ordinary archives need activation too, not only the LAB costmap path.
assert.match(source, /requestBlueprint\(\s*firstEye,\s*firstEyeIsTrackingRelative,[\s\S]*?\n\s*true,\s*\);/);
assert.match(source, /cameraEye,\s*[\s\S]*?eyeRelativeToTracking: false,\s*reactivateUpdates: true,/);
// Display changes must not trigger a full-file camera-bounds scan.
assert.match(source, /currentTimeNs: eyeRelativeToTracking \? currentTimeNs : undefined/);
assert.doesNotMatch(source, /currentTimeNs: eyeRelativeToTracking|Recorded tracking cursor is unavailable/);
assert.match(source, /viewer\.start\(\s*rerunViewerInitialSource\(resolvedSource\)/s);
assert.doesNotMatch(source, /rerunViewerOpenOptions/);
assert.match(