Repository navigation
task-024: remove RedBean no-op stubs and autoloadModels - #23
Merged
Merged
Conversation
5 tasks
Collaborator
Author
/ponytail-reviewLean already. Ship. Closes task 024 (Finding #1 — RedBean-compat no-ops, phase 1).
|
Delete unused autoloadModels, setup, freeze, and debug stubs from the Bun SQLite store. Drop the autoloadModels parameter from Database.connect and update call sites. Models continue to load lazily via modelMap.
Igloczek
force-pushed
the
task/024-redbean-remove-noops
branch
from
June 30, 2026 11:55
1280863 to
9ae9d5e
Compare
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
task-024: remove RedBean no-op stubs and autoloadModels
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/024-redbean-remove-noops.md from the ponytail audit backlog.
Goal
First pass on
bun-sqlite-store.ts: delete stubs that exist only for upstream API parity.Scope
autoloadModels,setup,freeze,debug(or make them unexported if required by type).autoloadModelsparameter fromDatabase.connect()and its call toR.autoloadModels.createRequireresolution block if only used for autoload.Acceptance criteria
R.autoloadModelshas zero callers.Database.connectsignature no longer acceptsautoloadModels(update all call sites).bun run test:backendpasses (schema.test.ts,upgrade.test.ts, monitor tests).bun run buildsucceeds.Depends on
Task 006 (
Database.patchremoved).Verification
bun run test:backend bun run build rg "autoloadModels|R\\.freeze|R\\.debug" srcAudit reference
Finding #1 — RedBean-compat no-ops (phase 1).