Repository navigation
Task 005: Remove dead setup-database flow - #10
Merged
Merged
Conversation
4 tasks
Collaborator
Author
/ponytail-reviewDeleted dead setup-database flow and UI. First-user setup unchanged. Lean already. Ship.
|
Igloczek
force-pushed
the
task/005-remove-setup-database-flow
branch
from
June 30, 2026 11:44
f4a16fc to
1917116
Compare
SQLite-only installs no longer need a database-backend selection step. Delete SetupDatabase server bootstrap and Vue page, remove related routes, API stubs, and socket wiring. Fresh installs connect directly via Database.connect(), which auto-writes sqlite db-config.json.
Rebuild frontend without SetupDatabase.vue so the embedded asset bundle matches the current dist output.
Igloczek
force-pushed
the
task/005-remove-setup-database-flow
branch
from
June 30, 2026 11:56
1917116 to
6db2c36
Compare
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Task 005: Remove dead setup-database flow
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/005-remove-setup-database-flow.md from the ponytail audit backlog.
Goal
Delete the database-backend selection UI and server bootstrap that never runs on fresh installs.
Scope
src/server/setup-database.ts.src/pages/SetupDatabase.vue./setup-databaseroute fromsrc/router.tsandsetup-databasebranch insrc/pages/Entry.vue.setupDatabase.start()/isNeedSetup()wiring fromsrc/server/server.ts./setup-database-infostub fromsrc/server/bun-http-server.tsif only used by this flow.needSetupwhenusertable is empty) — that stays.Acceptance criteria
SetupDatabaseclass andSetupDatabase.vueare deleted.Setup.vue) still works whenusercount is 0.bun run lintpasses.bun run test:backendpasses.bun run test-e2epasses (or targeted setup e2e if one exists).Depends on
Task 004 (db-config removal).
Verification
bun run lint bun run test:backend bun run test-e2e rg "setup-database|SetupDatabase" srcAudit reference
Finding #8 — setup-database bootstrap.