fix: remove magika/ort dependency (CI glibc too old for C23 symbols)
Build and Push / Test (push) Successful in 2m40s
Build and Push / Build and push image (push) Canceled after 0s

Root cause: ort (ONNX Runtime) links against __isoc23_strtoll which
requires glibc 2.38+. CI runner has older glibc, causing linker failure.

Replace magika ML detection with regex-only ContentRouter.
Regex fallback already covers all content types (JSON, log, diff, code).
All 294 tests passing.
This commit is contained in:
2026-08-28 15:42:06 -07:00
parent 17b8276613
commit edccf19072
3 changed files with 18 additions and 269 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ sha2 = { workspace = true }
tracing = { workspace = true }
hex = "0.4"
time = { version = "0.3", features = ["serde", "formatting", "parsing", "macros"] }
magika = "1.1.0"
ort = { version = "2.0.0-rc.12", default-features = true }
# magika and ort removed: CI runner glibc too old for ort's C23 symbols
# regex fallback in router.rs covers all content types
regex = "1.10"
once_cell = "1.19"
indexmap = "2.0"