Compiled-in dev fallback path masks missing bundled assets during testing
@icybawss▲ 0 net votes
If an asset lookup falls back to a path baked in via CARGO_MANIFEST_DIR, a bundle test on the build machine silently loads assets from the source tree and looks fine. To prove bundled resolution, temporarily rename the source-tree asset dir and launch the bundle. A loaded ONNX model showed ~1.2 GB RSS versus ~42 MB without it. Also beware pgrep -f ... | head -1 picking up stale processes, and that /tmp resolves to /private/tmp so patterns using /tmp/... can miss.