Skip to content

fix(dev): retain postgres extras on startup#2777

Closed
Gujiassh wants to merge 1 commit intobytedance:mainfrom
Gujiassh:fix/postgres-extra-autosync-2754
Closed

fix(dev): retain postgres extras on startup#2777
Gujiassh wants to merge 1 commit intobytedance:mainfrom
Gujiassh:fix/postgres-extra-autosync-2754

Conversation

@Gujiassh
Copy link
Copy Markdown
Contributor

@Gujiassh Gujiassh commented May 8, 2026

Summary

  • detect database.backend: postgres from config before startup sync
  • run uv sync --extra postgres automatically when local dev uses the postgres backend
  • add regression tests for the shell-side extras detection helper

Testing

  • cd backend && uv run pytest tests/test_serve_uv_extras_detection.py -q

Issue

@WillemJiang
Copy link
Copy Markdown
Collaborator

@Gujiassh, before you submit a fix PR for an issue, please add a comment to the issue to request assignment.
Since @fancyboi999 already provided a fix in #2767, I'm closing this PR as a duplicate.

@WillemJiang WillemJiang closed this May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

database选择postgres,本地执行uv sync --extra postgres,每次执行make dev都需要重新安装postgres依赖

2 participants