bug: openwork-server AUR binary ships as bare Bun runtime with no embedded application code
Summary
The AUR package ships /usr/bin/openwork-server as a bare Bun v1.3.6 runtime binary with no embedded application code. It appears bun compile was run without properly bundling the server TypeScript source. When Tauri spawns this binary via sidecar("openwork-server"), it starts a Bun process that does nothing — the server never starts, and the UI shows "Not connected".
To Reproduce
- Install
openworkfrom AUR (yay -S openworkorparu -S openwork) - Run
file /usr/bin/openwork-server— shows it's a Bun runtime, not a compiled app - Run
/usr/bin/openwork-server --help— no server-specific flags, just Bun's default help - Launch OpenWork — UI shows "Not connected"
Expected behavior
/usr/bin/openwork-server should be a working compiled binary that starts the OpenWork BFF server on port 8787, with all server TypeScript source properly embedded.
Actual behavior
The binary is a bare Bun runtime with zero application code. It exits silently or shows Bun's generic help. The server never starts. The UI remains disconnected.
OW version & Desktop info
- OpenWork: 0.11.194-1 (AUR)
- OS: Arch Linux x86_64
- Bun: v1.3.6
Additional context
Workaround: replace /usr/bin/openwork-server with a wrapper script that runs bun cli.ts from a source checkout:
#!/bin/bash
BUN="$HOME/.bun/bin/bun"
cd "$HOME/.cache/openwork-source/packages/server/" || exit 1
exec "$BUN" src/cli.ts "$@"
We'd love some help getting linux stuff in order - unfortunately we dont have the systems or capacity to resolve all this are you able to contribute some PRs?
Yes, i can make some PR's out of the bugs i find. I now run a somewhat vibe-debugged version which breaks now and then.
closed due to age, please reopen and tag me if still valid