fix(R-1187 a,b,d,f,g): .fab — links carried and restored safely, FIFOs refused, owners kept, busy and bad-path refusals, postgis + ON_ERROR_STOP

Red-proved (6 tests). Commit only.
This commit is contained in:
2026-10-26 20:26:02 +01:00
parent 1170b48e59
commit dfd0f8ec53
8 changed files with 321 additions and 31 deletions
@@ -42,6 +42,9 @@ func dbTypeForImage(image string) (DBType, bool) {
return DBType(""), false
}
// DBTypeForImage is dbTypeForImage for other packages (R-1187 g: the .fab import classifies with the SAME predicate).
func DBTypeForImage(image string) (DBType, bool) { return dbTypeForImage(image) }
// composeServicesDoc is the minimal view of a compose file needed here: the `services:` MAP and each
// service's `image:`. Deliberately a real YAML parse and not a line scan — a top-level `volumes:`
// block (immich's `immich_ml_cache:`) has exactly the shape a naive scan misreads as a service, and