Skip to content

chore: remove unused ServerConfig and DatabaseConfig structs#116

Open
detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-serverconfig-and-databaseconfi-4294c1
Open

chore: remove unused ServerConfig and DatabaseConfig structs#116
detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-serverconfig-and-databaseconfi-4294c1

Conversation

@detail-app

@detail-app detail-app Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Remove the ServerConfig and DatabaseConfig structs (and impl Default for DatabaseConfig) from devbox-common. These had zero callers anywhere
in the workspace — devbox-server reads port/database_url as bare
locals in main.rs, and the DB pool uses its own PoolConfig
(devbox-server/src/db/pool.rs) with identical defaults plus additional
fields, superseding DatabaseConfig. The crate is publish = false, so
there are no external consumers either. The corresponding bullet in the
crate README is also dropped to keep the catalog consistent.

Detail: Dead Code

History

  • Last materially changed June 2026 (@kiro Agent)

Dead Code PRs can be configured here.

@detail-app
detail-app Bot requested a review from jplock July 24, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant