Skip to content

test(gen-models): demonstrate lack of delete tracking - #200

Draft
bobvh wants to merge 2 commits into
mainfrom
test-delete-not-tracked
Draft

test(gen-models): demonstrate lack of delete tracking#200
bobvh wants to merge 2 commits into
mainfrom
test-delete-not-tracked

Conversation

@bobvh

@bobvh bobvh commented Jun 25, 2026

Copy link
Copy Markdown
Member

Ran into this when trying to implement deletion of a sample for python bindings: for operations reconstruction in process_changesetiter reads new_value() for every column, which a DELETE changeset item does not carry. Deleting a row inside an operation therefore panics with SQLITE_MISUSEre at end_operation.

bobvh and others added 2 commits June 24, 2026 19:59
Changeset reconstruction in process_changesetiter reads new_value() for
every column, which a DELETE changeset item does not carry. Deleting a row
inside an operation therefore panics with SQLITE_MISUSE at end_operation.

Adds test_deleting_a_sample_cannot_be_tracked documenting that the operation
layer is insert-only. No production code change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MbuLPbBBiZXJMqoUZhQ5DA
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