feat(mysql): port atomic CLI authentication handoff persistence

This commit is contained in:
Anya Tokugawa committed 2026-12-01 07:48:55 +09:00
1 parent cbcb8a24b4
commit 3e8a0b6a99
11 files changed
+234 -30

No files matched your search

+2 -2
View File
@@ -68,7 +68,7 @@ func testMySQLSchemaCommand(t *testing.T, component string) {
if component == "namespace" {
pending = `"pending":3`
} else if component == "identity" {
pending = `"pending":5`
pending = `"pending":6`
}
if e = run("status"); e != nil || !strings.Contains(out.String(), pending) {
t.Fatal(out.String(), e)
@@ -95,7 +95,7 @@ func testMySQLSchemaCommand(t *testing.T, component string) {
if component == "namespace" {
ledger, version = "store-namespaces", 1
} else if component == "identity" {
ledger, version = "store-auth-core", 2
ledger, version = "store-auth-core", 3
}
if _, e = admin.ExecContext(ctx, "UPDATE "+name+".schema_mysql_migrations SET state='running',next_operation=1 WHERE component=? AND version=?", ledger, version); e != nil {
t.Fatal(e)