Repository navigation
task/006: Remove legacy Database.patch and tarn close loop - #2
Merged
Merged
Conversation
This was referenced Jun 30, 2026
Collaborator
Author
/ponytail-reviewPure deletion of MySQL-era lifecycle hooks. No new abstractions. Lean already. Ship.
|
Igloczek
force-pushed
the
task/006-clean-database-legacy-hooks
branch
from
June 30, 2026 11:42
379df1b to
8e27a77
Compare
Igloczek
added a commit
that referenced
this pull request
Jun 30, 2026
Add smtp, chat, sms, and template-body schema variants to GenericNotificationForm and migrate 24 additional provider families (SMTP, API email, chat-token, SMS) onto shared schemas. - 59 bespoke notification .vue files remain (down from 94) - 36 providers now use GenericNotificationForm via schemas - Lazy-load remaining bespoke forms via import.meta.glob - Net deletion of ~350 LOC vs schema additions Depends on task 034 (merged). Ponytail audit finding #2 phase 2. # Conflicts: # src/components/notifications/SMTP.vue # src/components/notifications/index.ts # src/components/notifications/notification-form-schemas.ts
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
task/006: Remove legacy Database.patch and tarn close loop
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Add smtp, chat, sms, and template-body schema variants to GenericNotificationForm and migrate 24 additional provider families (SMTP, API email, chat-token, SMS) onto shared schemas. - 59 bespoke notification .vue files remain (down from 94) - 36 providers now use GenericNotificationForm via schemas - Lazy-load remaining bespoke forms via import.meta.glob - Net deletion of ~350 LOC vs schema additions Depends on task 034 (merged). Ponytail audit finding #2 phase 2. # Conflicts: # src/components/notifications/SMTP.vue # src/components/notifications/index.ts # src/components/notifications/notification-form-schemas.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements tasks/006-clean-database-legacy-hooks.md from the ponytail audit backlog.
Goal
Delete MySQL-era lifecycle hooks that are no-ops or irrelevant for
bun:sqlite.Scope
Database.patch()and its call insrc/server/server.ts(andtest/mock-testdb.tsif present).Database.close(): drop tarn.jsunhandledRejectionretry loop; keep WAL checkpoint + singleR.close().runPendingUpgradesduringconnect().Acceptance criteria
Database.patchhas zero references.Database.close()has nounhandledRejectionlistener or retrywhileloop.bun run test:backendpasses.Depends on
Nothing.
Verification
bun run test:backend rg "Database\\.patch|unhandledRejection|tarn" src/server/database.ts src/server/server.tsAudit reference
Finding #17 — legacy DB hooks.