[PR #9187] fix(api-key): run secondary-storage api-key executions in parallel #25390

Open
opened 2026-04-15 22:51:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9187
Author: @ping-maxwell
Created: 4/14/2026
Status: 🔄 Open

Base: mainHead: fix/execute-api-key-operations-in-parallel


📝 Commits (10+)

  • cead998 fix(api-key): run secondary-storage api-key executions in parallel
  • c960bde fix(api-key): parallelize secondary storage writes and fix ref list race in fallback mode
  • 9da705a Merge branch 'main' into fix/execute-api-key-operations-in-parallel
  • da20180 Merge branch 'main' into fix/execute-api-key-operations-in-parallel
  • 28f1d79 chore: changeset
  • ad69d38 Merge branch 'fix/execute-api-key-operations-in-parallel' of https://github.com/ping-maxwell/better-auth into fix/execute-api-key-operations-in-parallel
  • 94ab657 Update packages/api-key/src/adapter.ts
  • d61f77e Update packages/api-key/src/api-key.test.ts
  • 06678f0 fix: Run an async mapper over items with bounded concurrency
  • a52d9dd Update packages/api-key/src/adapter.ts

📊 Changes

4 files changed (+358 additions, -112 deletions)

View changed files

.changeset/floppy-drinks-mix.md (+5 -0)
📝 packages/api-key/src/adapter.ts (+107 -76)
📝 packages/api-key/src/api-key.test.ts (+237 -26)
📝 packages/api-key/src/routes/list-api-keys.ts (+9 -10)

📄 Description

No description provided


🔄 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/9187 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 4/14/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/execute-api-key-operations-in-parallel` --- ### 📝 Commits (10+) - [`cead998`](https://github.com/better-auth/better-auth/commit/cead99821d30441df518e2cbe16cf293d670717b) fix(api-key): run secondary-storage api-key executions in parallel - [`c960bde`](https://github.com/better-auth/better-auth/commit/c960bde8abe14e734c8eb1e0585d055d9856278c) fix(api-key): parallelize secondary storage writes and fix ref list race in fallback mode - [`9da705a`](https://github.com/better-auth/better-auth/commit/9da705a1e624669964065f7fe735035de39cf798) Merge branch 'main' into fix/execute-api-key-operations-in-parallel - [`da20180`](https://github.com/better-auth/better-auth/commit/da201806c26524c42759e8f833990dc87cc4fc8e) Merge branch 'main' into fix/execute-api-key-operations-in-parallel - [`28f1d79`](https://github.com/better-auth/better-auth/commit/28f1d79b276ce79107abf8e6799ffe128f9c27ba) chore: changeset - [`ad69d38`](https://github.com/better-auth/better-auth/commit/ad69d385f4217d6cc2e5704bee5ffc541505a79f) Merge branch 'fix/execute-api-key-operations-in-parallel' of https://github.com/ping-maxwell/better-auth into fix/execute-api-key-operations-in-parallel - [`94ab657`](https://github.com/better-auth/better-auth/commit/94ab657ef276d8441fe5df0f82c50dc60d3260d6) Update packages/api-key/src/adapter.ts - [`d61f77e`](https://github.com/better-auth/better-auth/commit/d61f77ec29e5e2b7a0dabe951dc28a5d69d55bd3) Update packages/api-key/src/api-key.test.ts - [`06678f0`](https://github.com/better-auth/better-auth/commit/06678f046d81f7649e221ed6ba2186717ff9480e) fix: Run an async mapper over items with bounded concurrency - [`a52d9dd`](https://github.com/better-auth/better-auth/commit/a52d9ddaff8531185a77d579e1ba2e78838c8138) Update packages/api-key/src/adapter.ts ### 📊 Changes **4 files changed** (+358 additions, -112 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/floppy-drinks-mix.md` (+5 -0) 📝 `packages/api-key/src/adapter.ts` (+107 -76) 📝 `packages/api-key/src/api-key.test.ts` (+237 -26) 📝 `packages/api-key/src/routes/list-api-keys.ts` (+9 -10) </details> ### 📄 Description _No description provided_ --- <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-15 22:51:55 -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#25390