[PR #4543] [MERGED] chore: gitignore state.txt #13684

Closed
opened 2026-04-13 09:04:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4543
Author: @frectonz
Created: 9/9/2025
Status: Merged
Merged: 9/9/2025
Merged by: @himself65

Base: canaryHead: chore/gitignore-state-txt


📝 Commits (3)

  • 3cc27d0 chore: gitignore state.txt
  • 05cf5a7 chore: disable tracking existing state.txt files
  • aa3ce40 chore: return IDLE when state.txt doesn't exist

📊 Changes

6 files changed (+31 additions, -28 deletions)

View changed files

📝 .gitignore (+2 -0)
📝 packages/better-auth/src/adapters/kysely-adapter/test/state.ts (+2 -13)
packages/better-auth/src/adapters/kysely-adapter/test/state.txt (+0 -1)
📝 packages/better-auth/src/adapters/prisma-adapter/test/state.ts (+2 -13)
packages/better-auth/src/adapters/prisma-adapter/test/state.txt (+0 -1)
packages/better-auth/src/test-utils/state.ts (+25 -0)

📄 Description

Summary by cubic

Add state.txt to .gitignore so local state files aren’t tracked. This reduces commit noise and prevents accidental commits of ephemeral run data.


🔄 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/4543 **Author:** [@frectonz](https://github.com/frectonz) **Created:** 9/9/2025 **Status:** ✅ Merged **Merged:** 9/9/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `chore/gitignore-state-txt` --- ### 📝 Commits (3) - [`3cc27d0`](https://github.com/better-auth/better-auth/commit/3cc27d096aad217e6f3fd1287a3bf5fd6316f268) chore: gitignore `state.txt` - [`05cf5a7`](https://github.com/better-auth/better-auth/commit/05cf5a79c7b4f7b22d86d64b6154df3e575af15f) chore: disable tracking existing `state.txt` files - [`aa3ce40`](https://github.com/better-auth/better-auth/commit/aa3ce40691be44ad19b4eb6babf8f79152403814) chore: return `IDLE` when `state.txt` doesn't exist ### 📊 Changes **6 files changed** (+31 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) 📝 `packages/better-auth/src/adapters/kysely-adapter/test/state.ts` (+2 -13) ➖ `packages/better-auth/src/adapters/kysely-adapter/test/state.txt` (+0 -1) 📝 `packages/better-auth/src/adapters/prisma-adapter/test/state.ts` (+2 -13) ➖ `packages/better-auth/src/adapters/prisma-adapter/test/state.txt` (+0 -1) ➕ `packages/better-auth/src/test-utils/state.ts` (+25 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add state.txt to .gitignore so local state files aren’t tracked. This reduces commit noise and prevents accidental commits of ephemeral run data. <!-- 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 09:04:35 -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#13684