Skip to content

polish#38

Merged
krlvi merged 2 commits intomainfrom
polish
Apr 8, 2026
Merged

polish#38
krlvi merged 2 commits intomainfrom
polish

Conversation

@krlvi
Copy link
Copy Markdown
Collaborator

@krlvi krlvi commented Apr 8, 2026

No description provided.

Kiril Videlov added 2 commits April 8, 2026 22:04
Test the library API as a consumer would use it — Session,
SessionTargetHandle, Target, MetaValue — without touching internals.

Coverage:
- Basic CRUD: string/list/set values across all 5 target types
- Handle API: set/get_value/get_all_values/list_*/set_* operations
- Serialize roundtrip: set → serialize → copy objects → materialize → verify
- Value semantics: upsert overwrites, list order preserved, set deduplication
- Session: timestamp determinism, named constructors, config access
- Edge cases: nonexistent keys, remove/re-add, authorship tracking, prefix queries
Add 10 integration tests covering merge, tombstones, incremental
serialize, filter routing, push/pull error paths, prefix matching,
and large value roundtrip:

- merge_string_conflict_local_wins: three-way merge, local wins
- merge_list_union: list entries are unioned across branches
- merge_set_union: set members are unioned across branches
- tombstone_survives_serialize_materialize: deletion propagates
- incremental_serialize_only_includes_changes: incremental mode
- filter_routes_keys_to_destinations: multi-ref routing
- push/pull_with_no_remote_returns_error: error handling
- key_prefix_matching_returns_subkeys: prefix queries
- large_string_value_roundtrips: >1KB blob-ref storage
@krlvi krlvi merged commit 9255379 into main Apr 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant