mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +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.success, true);
|
||||||
assert.equal(result.historyAdvanceAllowed, false);
|
assert.equal(result.historyAdvanceAllowed, false);
|
||||||
assert.equal(runtime.processedHistoryUpdates, 0);
|
assert.equal(runtime.processedHistoryUpdates, 1);
|
||||||
assert.equal(
|
assert.equal(
|
||||||
runtime.graph.historyState.lastBatchStatus.persistence.outcome,
|
runtime.graph.historyState.lastBatchStatus.persistence.outcome,
|
||||||
"queued",
|
"queued",
|
||||||
@@ -153,6 +153,11 @@ function createRuntime(persistResult) {
|
|||||||
runtime.graph.historyState.lastBatchStatus.historyAdvanceAllowed,
|
runtime.graph.historyState.lastBatchStatus.historyAdvanceAllowed,
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
|
assert.equal(
|
||||||
|
runtime.graph.historyState.lastBatchStatus.historyAdvanced,
|
||||||
|
false,
|
||||||
|
);
|
||||||
|
assert.equal(runtime.graph.batchJournal.length, 0);
|
||||||
assert.equal(
|
assert.equal(
|
||||||
runtime.persistedGraphSnapshot?.historyState?.lastProcessedAssistantFloor,
|
runtime.persistedGraphSnapshot?.historyState?.lastProcessedAssistantFloor,
|
||||||
5,
|
5,
|
||||||
|
|||||||
Reference in New Issue
Block a user