mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 14:20:35 +08:00
test: align extraction persistence gating expectations
This commit is contained in:
@@ -144,7 +144,7 @@ function createRuntime(persistResult) {
|
||||
|
||||
assert.equal(result.success, true);
|
||||
assert.equal(result.historyAdvanceAllowed, false);
|
||||
assert.equal(runtime.processedHistoryUpdates, 0);
|
||||
assert.equal(runtime.processedHistoryUpdates, 1);
|
||||
assert.equal(
|
||||
runtime.graph.historyState.lastBatchStatus.persistence.outcome,
|
||||
"queued",
|
||||
@@ -153,6 +153,11 @@ function createRuntime(persistResult) {
|
||||
runtime.graph.historyState.lastBatchStatus.historyAdvanceAllowed,
|
||||
false,
|
||||
);
|
||||
assert.equal(
|
||||
runtime.graph.historyState.lastBatchStatus.historyAdvanced,
|
||||
false,
|
||||
);
|
||||
assert.equal(runtime.graph.batchJournal.length, 0);
|
||||
assert.equal(
|
||||
runtime.persistedGraphSnapshot?.historyState?.lastProcessedAssistantFloor,
|
||||
5,
|
||||
|
||||
Reference in New Issue
Block a user