Repository navigation
kvspace-c: v0.3.23 ABI contract fixes, List traversal cache, Watch(None), and bindings sync - #67
Open
carsontung666 wants to merge 4 commits into
Open
carsontung666 wants to merge 4 commits into
carsontung666 wants to merge 4 commits into
Conversation
…tract
- Sync xvalue_head.{h,c} with kvspace: clear *out on failure, validate storetype in Reserve
- Add kvspaceXvalueHeadLangtypeBounded for bounds-checked inline langtype parsing
- Add unit tests covering constructor failure cases and truncated/missing attr values
- Rename header guard to KVSPACE_SHM_H and bump store format to version 6 with rebuild hint - Validate inline attr bounds on write, reject >=1024-byte keys without truncation, and guard u32 SetPart wraparound - Honor ref in WriteNewPlace, reserve physical body_cap, and restrict ViewWrite to equal-length updates - Add per-handle ListLen/ListAt cache invalidated via shared list_gen across processes - Delete full subtrees (including hidden U+2025 keys) in DelTree without following pointer targets - Update malloc_blocks atomically via whole-word store and populate err buffers across directory/delete ABIs - Wake kvspaceWatch immediately on missing/deleted keys when target is None (target_len == 0) - Add test_abi_contract and expand test_art_alignment for format-5 header truncation
- Pass langtype to New* constructors and match current ShmMkindex/ShmExtindex C signatures - Validate 8 + len + attr_len wire bounds, parse inline langtype, and free ShmList name arrays - Update Python and Rust wire tests for inline langtype, malformed attr rejection, and SHM roundtrips
carsontung666
force-pushed
the
fix/review-v0.3.23
branch
from
November 1, 2026 06:22
41de957 to
63eb741
Compare
- Add make test target and run CTest plus Python wire tests in CI workflows - Pin kvspace ABI header checkout to deps.json tag in macOS CI and release workflows - Update README for format version 6, inline attr wire layout, and current test commands
carsontung666
force-pushed
the
fix/review-v0.3.23
branch
from
November 1, 2026 09:01
63eb741 to
29d97b9
Compare
miaobyte
added a commit
that referenced
this pull request
Nov 1, 2026
feat: v0.3.23 ABI 契约修复与绑定同步(review #67,冲突取 PR 方)
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
xvalue_headboundedlangtypereader and constructor failure semantics withkvspace.shmwrite/directory/delete ABI validation, atomicart_bumpblock count updates,DelTreesubtree deletion (including‥control keys),ListLen/ListAtper-handle cache, and immediatekvspaceWatchwakeup on missing keys whentarget=None.#571wire format and C signatures; run test suites in CI and pinkvspaceABI headers viadeps.json.Verification
ctest --test-dir build --output-on-failure: 11/11 passed.python3 py/tests/test_wire.py: 21/21 passed;cargo testinrust/: passed.