Remove the move of feeds and settings from config.toml into the database #84
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The import branch of assemble_config (src/main.rs:805), Db::import_config (src/db.rs:1035), Config::file_holds_stored (src/config.rs:338), the warning about config.toml still listing feeds, and their two tests, about 110 lines. It ran once, on production, on 2026-09-18 (#18), and runs on nothing else. Found in a repo-wide audit for code that can go.
Not a one-off, so not removing it. The browser suite writes its fixture feeds into config.toml (tests/ui/global-setup.js) and depends on this import to get them into the database, and it is how a fresh install starts from a config.toml that lists feeds. The audit assumed it only ever ran on production; that was wrong.