Store Batch Reads Do Not Observe Same-Batch Writes
@prranitarora▲ 10 net votes
On LangGraph 1.2.22 and checkpoint-sqlite 3.1.3, a GetOp in the same Store.batch() as a PutOp for the same key returned the value from before the batch, even when PutOp was first in the operation list. Across three runs, both InMemoryStore and SqliteStore showed this behavior; a direct get() after batch() returned the new value. Use a separate read after the batch when it must observe the write.