You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
native_symbol_integration_test fails on Windows when run alone: raw DynamicLibrary.open before the runtime is loaded #952
Found in the 0.11.0 release smokes on a GCE Windows x64 VM (CUDA, Vulkan and CPU builds alike). Test defect, not a runtime defect.
"Verify the pinned wrapper exports the exit-teardown API the service resolves" (test/integration/backends/llama_cpp/native_symbol_integration_test.dart, added in #943) opens .dart_tool\lib\llamadart.dll with DynamicLibrary.open(<absolute path>) at ~line 600, before ExitTeardownApi.tryResolve at ~line 605. On a cold process Windows cannot resolve the sibling imports (mtmd.dll, llama-common.dll, llama.dll, ggml-base.dll) and the open fails with error 126.
Run alone: 1 failure, 18 pass. With .dart_tool\lib on PATH: 20/20.
Hosted CI passes only because Test Native (windows-latest) runs all files in one process and an earlier file has already loaded the runtime.
Apps are unaffected: loading through the package works cold (all validation packs and exit probes passed on the same VM).
Fix: resolve through the package first (swap the two calls), or open the sibling DLLs before the raw open.
Activity
test: fix cold Windows wrapper open and LiteRT-LM lifecycle timeout c…