Minimal repro for temporalio/sdk-typescript#2627. @temporalio/worker 1.25.0, Bun 1.4.4.
main.ts starts a worker, runs an activity-backed workflow, then a workflow that throws, and prints the first stack frame of the failure. run.sh compiles it, copies the executable to an empty directory, hides node_modules and runs it there, so nothing resolves through the build checkout.
bun install
temporal server start-dev # separate terminal
sh run.sh # SDK as published: fails to compile