Skip to content

Conversation

@Yashh56
Copy link
Member

@Yashh56 Yashh56 commented Jan 22, 2026

This pull request introduces comprehensive testing and CI improvements for MariaDB and MySQL connectors in the bridge package. It adds new end-to-end and cache tests for MariaDB, updates MySQL tests for consistency, and establishes a GitHub Actions workflow to run tests against seeded databases for all three supported engines (Postgres, MySQL, MariaDB).

Testing enhancements for MariaDB and MySQL:

  • Added a full suite of cache tests for the MariaDB connector, covering table lists, columns, primary keys, database stats, schemas, table details, cache clearing, and performance metrics in bridge/__tests__/connectors/mariadb.cache.test.ts.
  • Implemented end-to-end tests for MariaDB connection, schema creation, data fetching, table listing, and schema retrieval in bridge/__tests__/connectors/mariadb.test.ts.
  • Updated MySQL connector tests to align connection status reporting and data fetching with MariaDB, and to use seeded environment variables for database names in bridge/__tests__/connectors/mysql.test.ts. [1] [2]

Continuous Integration improvements:

  • Added a new GitHub Actions workflow .github/workflows/test.yml that sets up and seeds Postgres, MySQL, and MariaDB containers, and runs the full test suite against all three engines.

Minor test and code hygiene updates:

  • Removed unnecessary console.log statements from MySQL cache performance tests for cleaner output in bridge/__tests__/connectors/mysql.cache.test.ts. [1] [2]
  • Added a basic test for MariaDB connection builder to ensure correct delegation and default port usage in bridge/__tests__/connectionBuilder.test.ts.

@Yashh56 Yashh56 merged commit 132e06b into develop Jan 22, 2026
1 check 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.

2 participants