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
cargo xtask dev fails where worker-build isn't installed #41
What is wrong. On a machine without worker-build, cargo xtask dev builds everything and then stops when wrangler starts the control plane:
[custom build] … Process exited with non-zero status (127)
✘ [ERROR] Running custom build `worker-build --dev` failed.
How it works now.crates/fctl-control/wrangler.toml builds the Worker with worker-build --dev. util::worker_build() in xtask/src/util.rs installs it with cargo install worker-build --version 0.8.7 --locked when it is missing, but only cargo xtask deploy calls it, not dev. CI installs it in its own step (.github/workflows/ci.yml). docs/development.md lists Rust and Node.js as the setup, not worker-build.
In an fctl sandbox (the default image, images/agent), installing it also needs libssl-dev: openssl-sys doesn't build without it. The image has neither Rust nor libssl-dev.
What should happen
cargo xtask dev installs worker-build when it is missing, as deploy does, before wrangler needs it.
docs/development.md says what a fresh Debian machine needs (libssl-dev and pkg-config to build worker-build).
Compatibility. Development tooling only: nothing ships to hosts or the control plane.
Decisions for a person. Whether the default sandbox image should include Rust and libssl-dev, since agents working on fctl install them in every session (#2, #16).
Found while taking screenshots of the web app for the screenshots skill (#40).
Activity
docs: add agent rules for screenshots in pull requests (#43)
fix(xtask): install worker-build when cargo xtask dev needs it (#54)
ci: run one fake-claude session through cargo xtask dev (#86)