cultcache-py: export CultCacheError from the package root #176

Open
libby wants to merge 4 commits from hands/cultcache-py-closeout into main
Member

Closeout of cultcache-py gaps on top of main 7bbc56f5.

  • CultCacheError is exported from the package root; the README names it for convert refusals; a test catches a real convert refusal (destination_exists) through the root import.
  • store-push-raw-tail: not done at the store. The load's one-value clause runs under the definition's payload codec (codec.decode, depth_faults in decode_payload_marked), so a store, which holds no definition, cannot judge a JSON- or custom-codec payload. Per Self's ruling the raw store door is outside the clause: README documents that store push does not validate payload bytes and the cache write path does; a test pins that put_envelope refuses a tail and writes nothing, for both stores (mutation-checked: removing the tail refusal fails it).

Tests: cultcache-py 370 passed, 2 failed (test_unique_index, cultnet_py not installed in my venv; fail without my change), 2 skipped. cultnet-py/cultmesh-py untouched.

🤖 Generated with Claude Code

Closeout of cultcache-py gaps on top of main 7bbc56f5. - CultCacheError is exported from the package root; the README names it for convert refusals; a test catches a real convert refusal (destination_exists) through the root import. - store-push-raw-tail: not done at the store. The load's one-value clause runs under the definition's payload codec (`codec.decode`, `depth_faults` in `decode_payload_marked`), so a store, which holds no definition, cannot judge a JSON- or custom-codec payload. Per Self's ruling the raw store door is outside the clause: README documents that store push does not validate payload bytes and the cache write path does; a test pins that `put_envelope` refuses a tail and writes nothing, for both stores (mutation-checked: removing the tail refusal fails it). Tests: cultcache-py 370 passed, 2 failed (test_unique_index, cultnet_py not installed in my venv; fail without my change), 2 skipped. cultnet-py/cultmesh-py untouched. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
cultcache-py: export CultCacheError from the package root (py-cultcacheerror-not-exported)
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Failing after 19m53s
b53bb45844
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cultcache-py: pin CultCacheError on a convert refusal; state that store push does not judge payload bytes and the cache write path does
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled
562d318b48
The store holds no definition, so it cannot judge a JSON- or custom-codec payload; put_envelope decodes under the definition before any store is touched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cultcache-py: pin the put_envelopes tail refusal; README says a held-by-two-types conflict is CultCacheError on load, SchemaConflictError on write
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 18m38s
e8fa1c4d8f
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 18m38s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin hands/cultcache-py-closeout:hands/cultcache-py-closeout
git switch hands/cultcache-py-closeout

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff hands/cultcache-py-closeout
git switch hands/cultcache-py-closeout
git rebase main
git switch main
git merge --ff-only hands/cultcache-py-closeout
git switch hands/cultcache-py-closeout
git rebase main
git switch main
git merge --no-ff hands/cultcache-py-closeout
git switch main
git merge --squash hands/cultcache-py-closeout
git switch main
git merge --ff-only hands/cultcache-py-closeout
git switch main
git merge hands/cultcache-py-closeout
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!176
No description provided.