chore(delta-channel): remove supports_delta_channels flag

Rely on the runtime raise in DeltaChannel.from_checkpoint() instead of
a compile-time boolean flag. Savers that assemble DeltaChainValue inside
_load_blobs work transparently; savers that don't will pass through a raw
DeltaValue and hit a clear ValueError on first reload.

Removes: BaseCheckpointSaver.supports_delta_channels, the attribute on
InMemorySaver / PostgresSaver / AsyncPostgresSaver, the compile-time
UserWarning in StateGraph.compile(), and the associated test.
This commit is contained in:
Sydney Runkle
2026-04-22 09:40:00 -04:00
parent e7fd2fc327
commit 57be304f55
7 changed files with 4 additions and 78 deletions
@@ -32,7 +32,6 @@ Conn = _internal.Conn # For backward compatibility
class PostgresSaver(BasePostgresSaver):
"""Checkpointer that stores checkpoints in a Postgres database."""
supports_delta_channels: bool = True
lock: threading.RLock
def __init__(
@@ -34,7 +34,6 @@ Conn = _ainternal.Conn # For backward compatibility
class AsyncPostgresSaver(BasePostgresSaver):
"""Asynchronous checkpointer that stores checkpoints in a Postgres database."""
supports_delta_channels: bool = True
lock: asyncio.Lock
def __init__(