GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — Native get_stats returns only counters, and three tests fit engine 26.12.1 by tae898 · Pull Request #520 · ArcadeData/arcadedb-python Conversation
|
| Test | Cause | What changes |
|---|---|---|
test_vector.py::test_lsm_index_stats and test_vector_index_introspection.py::test_values_are_plain_scalars... |
Engine 26.12.1 adds a metadata map to the schema:index:<name> row (upstream #13097). The native get_stats() returned it as if it were a counter. |
Bindings: get_stats() keeps only the integer counters. The introspection test is stricter, and a new test covers the filter. |
test_native_count.py::test_count_then_facets_of_a_facets_query_returns_the_facets |
The test called rs.facets(), but facets is a property. This branch runs only on an engine with FACETS, so it never ran on 26.11.1. |
Test only. |
test_native_async_callbacks.py::test_wait_completion_gives_back_the_ids_of_every_kind_of_call |
Engine 26.12.1 refuses the commit of a transaction that read a page it had written when another transaction committed to that page (upstream #11671). With several async workers, a worker's scan_type can share its transaction with a create_record, which is not run again. |
The test is about callback ids, so it now uses one worker. A new test in test_concurrency.py pins the engine rule on both engines. |
The weekly snapshot workflow (native build, linux-x86_64, engine 26.12.1-SNAPSHOT), dispatched twice on 2026-11-27:
| Leg | main at adfdbbf |
this branch at 87464b5 |
|---|---|---|
| Python 3.12 | 4414 passed, 4 failed | 4421 passed, 0 failed |
| Python 3.11 | 399 passed, 1 failed | 402 passed, 0 failed |
| Python 3.14 | 399 passed, 1 failed | 402 passed, 0 failed |
The branch was then rebased onto 63ced32 (#519, CI only, no conflict). The pull request checks on the rebased head pass: the native shards on engine 26.11.1 (4443 passed, 0 failed) and the JVM shards on a 26.12.1-SNAPSHOT image (4385 passed, 0 failed).
The JVM package on the same engine version: the push run on main after #508 (run 45982508091, image 26.12.1-SNAPSHOT) was green, with 4360 passed and 0 failed on linux/amd64, Python 3.12. Its get_stats() reads the engine's counters directly, so the new column does not reach it.
For the async test, the new test_concurrency.py case shows the engine rule itself (refused on 26.12.1-SNAPSHOT, merged on 26.11.1). That this rule is what failed the async test is my reading of the engine code: the test failed in both snapshot runs on main and passed with one worker.
Closes #516
The async executor page now says what a caller sees at parallel level 2 or higher, including the new rule of engine 26.12.1. get_stats() is back to what its docs already say, counters only.
black, isort, and ruff-check hooks pass on the changed files, and Bandit is clean
Sorry, something went wrong.
There was an error while loading. Please reload this page.
….12.1 The weekly snapshot run failed four tests on 26.12.1-SNAPSHOT. get_stats (native): engine 26.12.1 adds a `metadata` map to the `schema:index:<name>` row (https://redirect.github.com/ArcadeData/arcadedb/pull/13097). The native wheel returned every column outside a fixed list, so the map showed up as a counter. It now keeps integer columns outside that list, which matches the map of longs that the JVM wheel returns, and a later descriptive column of another type is left out too. Facets: the test called `rs.facets()`, but `facets` is a property. The branch only runs on an engine with FACETS, so it never ran on 26.11.1. Async callback ids: from 26.12.1 a transaction that read a page it had written is refused when another transaction committed to that page (https://redirect.github.com/ArcadeData/arcadedb/pull/11671). With several workers the test's scan_type shares a worker batch with a create_record, which is not run again, so the callbacks got ConflictError. The test is about callback ids, so it uses one worker. A new test pins the engine rule on both engines, and the async executor page says what a caller sees.
87464b5 to
c1114d4
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Full CI is red on main: Test native (engine snapshot)
There was an error while loading. Please reload this page.