Repository navigation
Conversation
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
2 times, most recently
from
October 3, 2026 14:55
9d3ea58 to
25d87f6
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
from
October 3, 2026 15:35
25d87f6 to
f60d4ec
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
from
October 3, 2026 15:47
f60d4ec to
ad0b5ec
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
from
October 3, 2026 16:05
ad0b5ec to
2909d3a
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
from
October 3, 2026 16:37
2909d3a to
219643c
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
from
October 3, 2026 16:54
219643c to
dc5cec2
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
from
October 3, 2026 17:04
dc5cec2 to
aba312f
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage-tests
branch
from
October 3, 2026 17:11
aba312f to
749df92
Compare
Fodesu
marked this pull request as ready for review
October 3, 2026 17:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds storage and protocol conformance tests for the session, Run wire, settlement, redispatch, PostgreSQL, and filestore layers. The suite makes adapter behavior comparable by driving each implementation through the same public contract.
Coverage
The session-store harness checks commit ordering, idempotent CommitIDs, projection snapshots, inherited history, fencing, replay, and state conflict behavior. Filestore tests apply the same session conformance expectations to its file-backed implementation. PostgreSQL coverage verifies the adapter’s integrated schema and reopen behavior, while the retention tests exercise persisted content and projection retention rules.
Run wire tests cover codec round trips, canonical JSON, snapshots, stable digests, and rejection of malformed or mismatched payloads. Settlement tests verify terminal result handling at the Run boundary. Redispatch tests extend the earlier fold coverage through the adapter-facing test path, including planned-versus-dispatched attempts, given-up state, replay, and epoch fencing.
The harnesses deliberately test invariants at the port boundary: a retry must return the existing result rather than append a duplicate; a stale owner must be fenced; a projection snapshot must reload as the same state; and a dispatch decision recorded before a crash must remain recoverable. The PostgreSQL test additions also verify the concrete adapter’s behavior rather than relying only on the in-memory map implementations.
Scope
This is test-only coverage. It does not alter storage protocols or production state transitions.