[PR #7495] [CLOSED] ci: improve db adapter tests #15599

Closed
opened 2026-04-13 10:07:42 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7495
Author: @himself65
Created: 1/20/2026
Status: Closed

Base: canaryHead: himself65/2026/01/20/test


📝 Commits (1)

  • fc25bb1 ci: improve db adapter tests

📊 Changes

3 files changed (+133 additions, -9 deletions)

View changed files

📝 .github/workflows/adapter-tests.yml (+10 -5)
📝 e2e/adapter/package.json (+5 -0)
📝 turbo.json (+118 -4)

📄 Description

Summary by cubic

Improve CI for database adapter tests by running each adapter in its own matrix job with adapter-scoped turbo caching. This speeds up runs, avoids cache collisions, and only starts Docker when a DB is required.

  • New Features
    • CI matrix for adapters: drizzle, kysely, prisma, mongodb, memory.
    • Adapter-specific Vitest scripts and turbo tasks (test:drizzle/kysely/prisma/mongodb/memory) with defined inputs/outputs for better caching.
    • Adapter-scoped turbo cache keys and concurrency groups; remote cache enabled.
    • Conditional Docker start/stop for non-memory adapters.

Written for commit fc25bb17c3. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7495 **Author:** [@himself65](https://github.com/himself65) **Created:** 1/20/2026 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `himself65/2026/01/20/test` --- ### 📝 Commits (1) - [`fc25bb1`](https://github.com/better-auth/better-auth/commit/fc25bb17c3360cadfeeb1723fb38af9c8cbef54c) ci: improve db adapter tests ### 📊 Changes **3 files changed** (+133 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/adapter-tests.yml` (+10 -5) 📝 `e2e/adapter/package.json` (+5 -0) 📝 `turbo.json` (+118 -4) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Improve CI for database adapter tests by running each adapter in its own matrix job with adapter-scoped turbo caching. This speeds up runs, avoids cache collisions, and only starts Docker when a DB is required. - **New Features** - CI matrix for adapters: drizzle, kysely, prisma, mongodb, memory. - Adapter-specific Vitest scripts and turbo tasks (test:drizzle/kysely/prisma/mongodb/memory) with defined inputs/outputs for better caching. - Adapter-scoped turbo cache keys and concurrency groups; remote cache enabled. - Conditional Docker start/stop for non-memory adapters. <sup>Written for commit fc25bb17c3360cadfeeb1723fb38af9c8cbef54c. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 10:07:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#15599