fix(snapshot): replay validated workflow evidence (#984)
* fix(snapshot): bind replay to validated cache entry * fix(snapshot): persist composed workflow results * fix(snapshot): enforce workflow replay identity * fix(snapshot): honor cancellation after route resolution * test(snapshot): make cancellation race deterministic * fix(snapshot): replay all composed workflow evidence * fix(snapshot): index workflow evidence once per snapshot Validate workflow entries against a query and content index instead of scanning the evidence bundle for every entry. * fix(snapshot): reuse previewed routes and bound workflow cache --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
@@ -54,7 +54,7 @@ describe("direct analysis snapshot files", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("replays a cache hit from the supplied path without root configuration", async () => {
|
||||
it("does not replay unbound historical Evidence from a supplied snapshot", async () => {
|
||||
const directory = await createTestTempDirectory("rea-direct-snapshot-");
|
||||
const snapshotPath = join(directory, "analysis.json");
|
||||
const launcherPath = join(directory, "hopper-launcher");
|
||||
@@ -97,6 +97,6 @@ describe("direct analysis snapshot files", () => {
|
||||
snapshotPath,
|
||||
},
|
||||
),
|
||||
).resolves.toEqual(evidence);
|
||||
).resolves.not.toEqual(evidence);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user