Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

test(checkpointer): exclude protocol declaration

xfgong96aa9ffec282
diff --git a/cubeloop/checkpointer/base.py b/cubeloop/checkpointer/base.py
index f3b4094..3bedfe3 100644
--- a/cubeloop/checkpointer/base.py
+++ b/cubeloop/checkpointer/base.py
@@ -56,7 +56,7 @@ class Checkpointer(Protocol):
Returns True when the matching pending request was cleared and False
when the thread has no pending request or either identifier changed.
"""
- pass
+ pass # pragma: no cover - Protocol declaration
async def snapshot(self, thread_id: str, *, after_run_id: str) -> list[Message]:
"""Return messages of completed runs of `thread_id` up through