Skip to content

test(windows): live-server tests for MySQL, SQL Server, DuckDB, ClickHouse, Cassandra, MongoDB and Redis - #4321

Open
datlechin wants to merge 10 commits into
mainfrom
test/windows-live-engines
Open

datlechin wants to merge 10 commits into
mainfrom
test/windows-live-engines

Conversation

@datlechin

@datlechin datlechin commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • windows/tests/TablePro.Interop.Tests/Live: through the interop API, each of MySQL, SQL Server, DuckDB, ClickHouse and Cassandra lists, pages, counts and describes a table, reads every value of its corpus back as a table tab and a query tab show it, and saves an update, an insert and a delete. MongoDB does the same with a collection and every BSON type; Redis reads a key of each type and writes and deletes keys from the editor. SQL Server also signs in with a Windows login.
  • The value corpus moves from Rust builders in each driver's value_corpus.rs to core/crates/test-support/corpus/<engine>.json, which the Rust conformance cases (ValueCorpus) and the .NET tests both read. Same columns and values.
  • windows/ci/live-servers.ps1 and a live job in windows.yml on windows-2025, beside the x64 job: MySQL 8.4 and MongoDB 7.0 from the image, Redis 8.10.3 (msys2 build, pinned), Cassandra 4.0.21 on Java 11, ClickHouse 26.8 in WSL 1, SQL Server 2022 Express through the core's script, which takes -SaPassword for SQL logins. --fail-skips on, so a server that did not start fails.
  • The Windows grid showed a value the driver could not read (SQL Server MONEY past 5.5 * 10^11 in a query tab, DuckDB TIMETZ) as an empty cell; the Linux grid shows <unreadable money>. The FFI's cell now keeps the type's name for the grid's window (its whole text stays empty), the grid draws <unreadable type> in the NULL style, and a copy leaves it out (CellState.Unreadable).
  • windows/docs/decisions/0013-live-server-tests.md records each choice with what the runner showed, 0003 the unreadable cell; windows/AGENTS.md and .claude/rules/ci.md name the job.

Test plan

  • windows / Windows live servers (x64): the 21 live tests, --fail-skips on; green on a temporary branch in run 44256128478, whose first run (44244847194) found the unreadable cell.
  • CoreDataTests.AValueTheDriverCouldNotReadSaysSoAndCopiesAsNothing (DuckDB, every Windows job and macOS) and the FFI's an_unreadable_value_* tests fail on main.
  • The Linux Docker suites read the JSON corpora (value corpus and round trip cases).
  • cargo test -p tablepro-test-support --lib corpus: every corpus file parses, MySQL and MariaDB keep their own columns.

Needs the maintainer

  • After Linux 0.1.0: linux/docs/testing.md, Value corpus, still names the corpus as CorpusColumn builders and shows_apart; it is now the JSON files and their edited field.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant