Repository navigation
The same-key retirement tests' conflict-check double accepts the keyword the bulk write now passes - #179
The same-key retirement tests' conflict-check double accepts the keyword the bulk write now passes#179pufit wants to merge 1 commit into
Conversation
…ord the bulk write now passes Signed-off-by: pufit <[email protected]>
|
CI on this branch: the integration job is green (1801 passed; the two
|
|
Superseded:
|
Related: #161
Related: #178
Changelog category (leave one):
Why
Since #161 the bulk write calls
_bulk_conflict_verdicts(…, cap=state.conflict_check_cap). The same-key retirement tests replace that function withalias_merges(_input, rows, *a), which takes no keyword, somain's integration job failstest_a_restated_merge_that_lands_keeps_the_last_entrys_high_labeland…_pinwithTypeError: alias_merges() got an unexpected keyword argument 'cap'. The double now accepts and ignores keywords, as the real function's other callers may pass them.Scope and risk
One test helper line; no server code changes.
Compatibility, rollout and rollback
Tests
The two tests need a ClickHouse service and run in CI's integration job;
ruff checkandruff format --checkpass on the file.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code; the failing CI log and the call site in
server/memory/app/bulk_set.pywere read, the change is the one-line signature.I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed. (Test-only change; the integration suite is CI's.)main; no merged migration is edited. (No migration.)frontend/changed. (Unchanged.)docs/describe the system as it now is. (Unchanged.)