Repository builds
Prebuild dependencies so sessions can begin useful work immediately.
Why builds matter
Inspect restores repository workspaces from a prebuilt image. Installing toolchains and dependencies in that image reduces session startup time and avoids repeated network work.
Build configuration
Configure builds in Repository settings. Use deterministic install commands and include the tools needed for formatting, type checking, tests, and local development. Avoid embedding credentials or environment-specific state in the image.
Keep it current
Rebuild after dependency or toolchain changes. If sessions fail before work begins, verify that the current lockfile and setup commands still succeed from a clean checkout.