Files
wekan/tests/dbConformance
Lauri Ojansivu 08cba19eac Database conformance: compare MongoDB 8 and 9 too, in EVERYTHING.
releases/db-conformance.sh, which EVERYTHING runs from build.sh and, through
releases/run-everything.sh, from build.bat, now also runs the query catalogue
against the real MongoDB 8 and MongoDB 9 servers (mongo:8.0 and mongo:9.0),
queried directly with no FerretDB in between. All FerretDB backends could
agree with each other and still all be wrong; beside MongoDB they did not:
$group gave every accumulator after the first an empty group, $min/$max took
null as a value, and capped max was not enforced at once - all fixed in
wekan/FerretDB. WeKan's e-mail outbox report, one $group with several
accumulators, was affected on FerretDB.

The $text case now creates the text index MongoDB requires, and records the
score by type only, since FerretDB's score is its own by design. On a Linux
kernel MongoDB refuses (6.19 to 7.0.13), its backend is a SKIP with the
reason, not an error. The run: SQLite, MongoDB 8.0.32, MongoDB 9.0.2,
PostgreSQL, MySQL and MariaDB answer all 110 cases the same.

buildScriptParity: releases/translations/audit-short-prose.mjs is a
read-only review queue, run directly, like audit-progress.mjs.

Thanks to xet7 !
2026-10-10 18:43:44 +03:00
..