Repository navigation
task-025: merge redbean-compat imports into bun-sqlite-store - #25
Merged
Merged
Conversation
4 tasks
Collaborator
Author
/ponytail-reviewDeletion/simplification pass aligned with task scope. No speculative abstractions added.
|
Replace all @/server/redbean-compat re-exports with direct imports from @/server/bun-sqlite-store and delete the 4-line compatibility shim. Verification: lint, test:backend (59 pass), build, admin scripts import OK.
Igloczek
force-pushed
the
task/025-redbean-merge-compat-imports
branch
from
June 30, 2026 12:01
8429e70 to
3ac78d4
Compare
Igloczek
added a commit
that referenced
this pull request
Jun 30, 2026
Replace the ~90 LOC class singleton with module-scoped Intl formatters and two exported functions: formatDuration() and setDurationFormatLocale(). Update all call sites in lang mixin, Details, and EditMonitor. Ponytail audit finding #25.
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
…ports task-025: merge redbean-compat imports into bun-sqlite-store
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Replace the ~90 LOC class singleton with module-scoped Intl formatters and two exported functions: formatDuration() and setDurationFormatLocale(). Update all call sites in lang mixin, Details, and EditMonitor. Ponytail audit finding #25.
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/025-redbean-merge-compat-imports.md from the ponytail audit backlog.
Goal
Eliminate the 4-line shim file by importing
Rdirectly frombun-sqlite-store.Scope
import { R } from "@/server/redbean-compat"toimport { R } from "@/server/bun-sqlite-store"(or a singlesrc/server/db.tsbarrel if preferred).src/server/redbean-compat.ts.scripts/admin/that import redbean-compat.Acceptance criteria
src/server/redbean-compat.tsdeleted.@/server/redbean-compatin repo.bun run test:backendpasses.bun run buildsucceeds.bun scripts/admin/reset-password.ts --helpor dry invocation does not throw on import.Depends on
Task 024.
Verification
bun run test:backend bun run build rg "redbean-compat" src scriptsAudit reference
Finding #1 —
redbean-compat.tsshim (phase 2).