[P0-23] Implement the initial Valkey target-lease backend with atomic fencing scripts #31
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decision
Use Valkey as the first deployable KV backend behind the lease-store protocol. Keep the protocol backend-neutral so a stronger-consistency backend can be added without changing target or HTTP code.
Required implementation
GETthenSETraces.Acceptance tests
Acceptance complete. PR #95 merged into canonical
masteras7834d6614378e01232a1c810249d9ae83cec25c5from verified head652b148c233646af4f2e4b46dd6289ae73ef3c26.Current-head evidence before merge:
nix flake check --show-trace— successful in Smoke Tests.nix build .#default --no-link --print-build-logs— successful in Smoke Tests.nix run .#star-unit-tests— successful in Smoke Tests.nix run .#star-integration-tests— successful; the runner boots real authenticated plain + TLS Valkey and runs required suites that fail on zero tests, partial execution, skips, or failures../scripts/stack-test.sh— successful in Container Stack.python -m unittest discover -s tests -p 'test_*.py' -vandgit diff --check— successful in Operational salvage.Exact recorded suite counts:
The final acceptance regressions include atomic per-key list validation across release/reacquire, missing-key
PTTL=-2rejection, and a corrupt unsupportedrecord_versionthat exercises the Lisp deserialization fail-closed boundary. All review threads were resolved after verifying the current implementation and tests.