docs(lance-backend): upstream test aggregation — 42/42 across 8 CRUD binaries under SURREAL_TEST_KV=lance#11
Merged
Conversation
Captures pass-rate for 8 upstream surrealdb integration test
binaries under SURREAL_TEST_KV=lance:
create 3/3 49.8s update 2/2 36.5s
select 9/9 167.8s delete 3/3 37.7s
insert 16/16 47.1s upsert 2/2 50.1s
merge 1/1 0.6s relate 6/6 1.8s
----------------------------------------------
total 42/42 zero failures, zero compile errors
Verifies kv-lance backend (Sprints A–W) end-to-end against real
SurrealQL workloads — not synthetic unit tests. Path exercised:
SurrealQL parser → planner → executor →
Transactable::{get, set, put, putc, del, delc, scan, scanr, commit}
→ Lance MergeInsertBuilder (atomic upsert; Sprint N) →
BTREE scalar index (Sprint M) →
arrow-array 57 RecordBatch → disk via Lance v4.0 →
background optimizer compact_files + cleanup_old_versions (Sprint I)
Not yet verified: 22 remaining binaries (access, alter, asyncevent,
auth_limit, cache, changefeeds, complex, define, field, function,
future, index, info, live, param, query, remove, script, sequence,
table, timeout, util). Follow-up sprint extends the table.
Resolves 'Per-file pass rate aggregation' deferred item in
KNOWN_DIFFERENCES.md.
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
Adds
.claude/lance-backend/UPSTREAM_TEST_RESULTS.mdaggregating pass-rate for 8 upstream surrealdb integration test binaries underSURREAL_TEST_KV=lance. Verifies the kv-lance backend (Sprints A–W) end-to-end against real SurrealQL workloads, not synthetic unit tests.Results
createupdateselectdeleteinsertupsertmergerelateZero failures. Zero compile errors.
What this verifies
Every test in the table exercises the full kv-lance path:
The combined
kv-lance + kv-memfeature set compiles because everytests/*.rscarries#[recursion_limit = "1024"](Sprints O / S / V). The ndarray dep graph is clean (PR #10) — no[patch.crates-io], nondarray-statsdiamond.What's NOT yet verified
22 integration test binaries still pending under
SURREAL_TEST_KV=lance:access,alter,asyncevent,auth_limit,cache,changefeeds,complex,define,field,function,future,index,info,live,param,query,remove,script,sequence,table,timeout,utilEach has the recursion_limit attribute already (compiles), so a follow-up sprint can batch them. The most-likely-to-surface-gaps candidates are
define/query/index/function— covering schema definitions, complex queries, vector / fulltext indexes, and built-in function execution paths.Why this matters
Up to this point, kv-lance verification was via:
kvs::lance::tests)kvs::lance::integration_tests)This sprint extends real-workload coverage to 8 CRUD-shaped binaries totaling 42 tests across creation / mutation / read / graph-edge operations — the surface every SurrealDB user touches.
Resolves the "Per-file pass rate aggregation under
SURREAL_TEST_KV=lance" deferred item in.claude/lance-backend/KNOWN_DIFFERENCES.md.Test plan
Generated by Claude Code