Skip to content

feat(cli): a command form for every statement and reply (chunkdb/chunkdb#151) - #62

Merged
eventvoid merged 3 commits into
mainfrom
docs/statement-coverage
Dec 1, 2026
Merged

eventvoid merged 3 commits into
mainfrom
docs/statement-coverage

Conversation

@eventvoid

Copy link
Copy Markdown
Member

Part of chunkdb/chunkdb#151 (CLI statement and reply audit).

Map the current server's statements, options, replies and structured errors to their CLI entry points and decoders. Document operator commands that use quoted CQL.

Print and validate saved catalog positions, catalog inventory markers, binary schema histories and building index progress. The hello command shows the accepted greeting, default tags can come from binary files, NULL has its own parameter option, and chunk imports validate whichever numbered parameter carries the form.

Wire tests cover valid and malformed catalog positions, group refusal, schema histories and inventory markers, building index progress, HELLO metadata and binary tags, NULL and empty parameter frames, numbered chunk imports, lost-history floors, aggregate extensions and typed replication defaults.

APPLY GROUP remains unavailable on the current server. APPLY and APPLY CATALOG take complete RESP3 push files.

Audit CQL statements and wire replies against the current server and document the CLI forms.

Decode catalog apply positions, inventory markers, schema histories and building index progress. Display the accepted greeting, accept binary session tags and NULL parameters, and check numbered chunk forms before sending them.
Require a complete catalog snapshot before saving a resume cursor after a resync or incomplete inventory. Document how to bootstrap catalog replication and resume from the receiver's saved position.

Put RETURNING column values beside coordinates in a nested JSON object, show declined session options in the hello command, and bound binary PUBLISH payloads before sending a write.

Match the server's lost-history scan replies in wire tests and verify unknown error keys separately.
Check the retained deletion floor as a JSON number in the integration test, matching the error formatter for revisions in the safe integer range.

Add a checked statement coverage example that exercises coordinate-named RETURNING columns through the CLI.
@eventvoid
eventvoid merged commit d8bf357 into main Dec 1, 2026
5 checks passed
@eventvoid
eventvoid deleted the docs/statement-coverage branch December 1, 2026 21:11
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