feat(delivery): integrate PostgreSQL delivery

This commit is contained in:
l x
2026-07-31 10:30:03 +08:00
parent 048ac6507e
commit 66fde73792
25 changed files with 2110 additions and 139 deletions
+9
View File
@@ -293,6 +293,15 @@ func TestRegisterFailedIsProtectedFromRollback(t *testing.T) {
}
}
func TestMySQLServiceTypeCompatibility(t *testing.T) {
if !isMySQLServiceType("") || !isMySQLServiceType("mysql") {
t.Fatal("legacy and explicit MySQL tasks must remain supported")
}
if isMySQLServiceType(postgresqlServiceType) {
t.Fatal("PostgreSQL tasks must not enter MySQL execution paths")
}
}
func TestRollbackLaunchExpired(t *testing.T) {
now := time.Date(2026, 7, 28, 12, 0, 0, 0, time.UTC)
started := now.Add(-rollbackLaunchTimeout - time.Second)