@qvac/ocr-ggml
Advanced tools
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
+1
-1
| { | ||
| "name": "@qvac/ocr-ggml", | ||
| "version": "0.4.0", | ||
| "version": "0.5.0", | ||
| "description": "GGML-backed OCR addon for qvac (EasyOCR pipeline on GGUF weights)", | ||
@@ -5,0 +5,0 @@ "addon": true, |
@@ -9,3 +9,8 @@ #!/bin/bash | ||
| EXIT_CODE_FILE="$SCRIPT_DIR/.exit-code" | ||
| TIMEOUT=${INTEGRATION_TEST_TIMEOUT:-600} | ||
| # Default raised 600 -> 1200s for the GGML_BACKEND_DL build: the CPU backend is | ||
| # a runtime-dispatched microarch variant (GGML_NATIVE=OFF), so the EasyOCR/DocTR | ||
| # [CPU] tests run markedly slower than the old -march=native build (~90s each) | ||
| # and the full suite outgrew the 600s cap. Tests pass; this is headroom for the | ||
| # slower-but-correct DL CPU path. Still overridable via INTEGRATION_TEST_TIMEOUT. | ||
| TIMEOUT=${INTEGRATION_TEST_TIMEOUT:-1200} | ||
@@ -12,0 +17,0 @@ rm -f "$EXIT_CODE_FILE" |
@@ -8,2 +8,27 @@ 'use strict' | ||
| // A dlopen failure (or any unhandled error) MUST fail the run, not just get | ||
| // logged: Bare surfaces addon-load failures (e.g. a ggml backend symbol that | ||
| // only fails to resolve once several ggml addons are co-loaded) as an | ||
| // unhandledRejection on the worklet thread. Without a hard exit the run can | ||
| // SIGABRT (ambiguous timeout) or a log-only handler would falsely pass. Catch, | ||
| // record the first failure, and force a non-zero exit on drain. | ||
| let _integrationFatalError = null | ||
| const _bareHost = typeof globalThis !== 'undefined' ? globalThis.Bare : undefined | ||
| if (_bareHost && typeof _bareHost.on === 'function') { | ||
| _bareHost.on('unhandledRejection', (reason) => { | ||
| if (!_integrationFatalError) _integrationFatalError = reason || new Error('unhandledRejection') | ||
| console.error('[integration-runner] Unhandled rejection:', reason instanceof Error ? reason.stack : reason) | ||
| }) | ||
| _bareHost.on('uncaughtException', (err) => { | ||
| if (!_integrationFatalError) _integrationFatalError = err || new Error('uncaughtException') | ||
| console.error('[integration-runner] Uncaught exception:', err instanceof Error ? err.stack : err) | ||
| }) | ||
| _bareHost.on('beforeExit', () => { | ||
| if (!_integrationFatalError) return | ||
| console.error('[integration-runner] FATAL: failing run due to an earlier unhandled error.') | ||
| if (typeof _bareHost.exit === 'function') _bareHost.exit(1) | ||
| else if (typeof globalThis.process !== 'undefined' && globalThis.process.exit) globalThis.process.exit(1) | ||
| }) | ||
| } | ||
| // --------------------------------------------------------------------------- | ||
@@ -10,0 +35,0 @@ // Test filter – allows CI to restrict which tests actually execute. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
591747745
8.46%91
30%5050
0.48%41
105%