chore(state-store): remove the one-time SQLite import and db_path
Every install serves from Postgres, so the legacyread/legacyimport packages, the archie-state-store import command, the boot gate that refused to serve over unimported SQLite files, and db_path (which only located those files) go. Migration 0010 drops the import_completion table.
This commit is contained in:
1 parent
d61e49b2c9
commit
8c55b5d4e4
65 files changed
+138
-3350
No files matched your search
@@ -30,7 +30,6 @@ func configWithFakeSecrets() *config.Holder {
|
||||
return config.NewHolder(config.Config{
|
||||
WorkDir: "/work/archie",
|
||||
SkillsDir: "/work/archie/.agents/skills",
|
||||
DBPath: "/work/archie/archie.db",
|
||||
BotUser: "archie-bot",
|
||||
BotEmail: "archie@example.com",
|
||||
Label: "archie",
|
||||
@@ -343,7 +342,7 @@ func TestHandleConfigReportsLockedKeys(t *testing.T) {
|
||||
if err := json.Unmarshal(w.Body.Bytes(), &got); err != nil {
|
||||
t.Fatalf("decode: %v", err)
|
||||
}
|
||||
for _, key := range []string{"db_path", "database_url", "work_dir"} {
|
||||
for _, key := range []string{"database_url", "work_dir"} {
|
||||
if got.Locked[key] == "" {
|
||||
t.Errorf("Locked[%q] is empty, want a reason", key)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user