Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{
"id": "error_empty_bytes",
"category": "error",
"description": "Graceful handling of empty bytes (should not error)",
"tags": ["error", "input", "edge-case"],
"call": "extract_bytes_sync",
"input": {
"data": "text/empty.txt",
"mime_type": "text/plain",
"config": {}
},
"assertions": [
{
"type": "not_error"
}
]
}

View File

@@ -0,0 +1,17 @@
{
"id": "error_empty_mime",
"category": "error",
"description": "Error when extracting with empty MIME type",
"tags": ["error", "input", "mime"],
"call": "extract_bytes_sync",
"input": {
"data": "text/plain.txt",
"mime_type": "",
"config": {}
},
"assertions": [
{
"type": "error"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"id": "error_extract_bytes_conflicting_ocr",
"category": "error",
"description": "extract_bytes force+disable OCR",
"tags": ["error", "validation"],
"call": "extract_bytes_sync",
"input": {
"data": "text/fake_text.txt",
"mime_type": "text/plain",
"config": { "force_ocr": true, "disable_ocr": true }
},
"assertions": [{ "type": "error" }]
}

View File

@@ -0,0 +1,17 @@
{
"id": "error_invalid_mime_format",
"category": "error",
"description": "Error when extracting with invalid MIME type format",
"tags": ["error", "input", "mime"],
"call": "extract_bytes_sync",
"input": {
"data": "text/plain.txt",
"mime_type": "not-a-mime",
"config": {}
},
"assertions": [
{
"type": "error"
}
]
}

View File

@@ -0,0 +1,17 @@
{
"id": "error_unsupported_mime",
"category": "error",
"description": "Error when extracting with unsupported MIME type",
"tags": ["error", "input", "mime"],
"call": "extract_bytes_sync",
"input": {
"data": "text/plain.txt",
"mime_type": "application/x-nonexistent",
"config": {}
},
"assertions": [
{
"type": "error"
}
]
}