Skip to content

Implement MariaDB/MySQL L1 in Node.js driver - #827

Merged
rrobetti merged 2 commits into
mainfrom
copilot/node-mariadb-mysql-l1
Nov 24, 2026
Merged

rrobetti merged 2 commits into
mainfrom
copilot/node-mariadb-mysql-l1

Conversation

@rrobetti

@rrobetti rrobetti commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add four real-server L1 integration scenarios for each of MySQL and MariaDB: parameterized CRUD, SQL errors/empty results, close lifecycle, scoped-client freshness, and callback-failure cleanup.
  • Run both suites in Node CI with MySQL 8.0 and MariaDB 10.11 plus the matching JDBC drivers.
  • Record Node.js L1 for MariaDB and MySQL in the driver README and implementation-level matrix.

Progress

  • PR opened before implementation and updated as implementation/testing progressed.
  • Confirmed session state is managed inside OjpClient; callers do not manually pass session values. withOjpClient() optionally automates connect/close for scoped work; long-lived work still uses explicit connect()/close().
  • Local real-server MySQL and MariaDB integration suites both pass (4/4 each). Node build and unit tests pass (123/123).

Validation

  • npm run build
  • npm test -- --runInBand
  • OJP_ENABLE_MYSQL_TESTS=true npm run test:mysql-l1
  • OJP_ENABLE_MARIADB_TESTS=true npm run test:mariadb-l1

rrobetti and others added 2 commits November 24, 2026 06:52
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@rrobetti
rrobetti marked this pull request as ready for review November 24, 2026 06:59
@sonarqubecloud

Copy link
Copy Markdown

@rrobetti
rrobetti merged commit 5ff913f into main Nov 24, 2026
39 checks passed
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