U10a 首切片:goose 迁移内嵌回退(单文件部署去 cwd 依赖第一步) #9

Merged
weichen merged 1 commits from feature/u10a-embedded-migrations-2026-09-29 into dev 2026-09-29 07:13:46 +00:00
Collaborator
  • deploy/postgres 新增 dbassets 包内嵌全量迁移链
  • RunMigrations 磁盘优先、缺失时回退内嵌(SetBaseFS 用后复位)
  • 一次性隔离 PG 容器实测:不存在目录→内嵌链→version 78,门禁计数一致
  • 开发态行为不变

后续 U10a:prompts/xlsx 资产内嵌、config check/explain 子命令。

- deploy/postgres 新增 dbassets 包内嵌全量迁移链 - RunMigrations 磁盘优先、缺失时回退内嵌(SetBaseFS 用后复位) - 一次性隔离 PG 容器实测:不存在目录→内嵌链→version 78,门禁计数一致 - 开发态行为不变 后续 U10a:prompts/xlsx 资产内嵌、config check/explain 子命令。
agent-bot added 1 commit 2026-09-29 07:08:16 +00:00
feat(db): embedded goose migrations fallback (U10a first slice)
CI / go-vet (pull_request) Successful in 19s
CI / short-tests-report (pull_request) Failing after 35s
CI / backup-restore-drill (pull_request) Successful in 27s
CI / web (pull_request) Successful in 32s
686dede802
- deploy/postgres (package dbassets) embeds the full goose chain;
  RunMigrations prefers the on-disk dir (dev behavior unchanged) and falls
  back to the embedded FS when the source tree is absent (single-binary
  deployments per plan U10/KTD16)
- goose SetBaseFS global state reset after use
- TestRunMigrationsEmbeddedFallback verified against a throwaway isolated
  pgvector container: nonexistent dir -> embedded chain -> version 78,
  migration gate count agrees
weichen approved these changes 2026-09-29 07:13:45 +00:00
weichen left a comment
Owner

U10a 首切片批准:隔离容器实测内嵌链到 v78,开发态不变。

U10a 首切片批准:隔离容器实测内嵌链到 v78,开发态不变。
weichen merged commit fe2eb099c5 into dev 2026-09-29 07:13:46 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System#9