Troubleshooting
What common errors mean and what to do about them.
Setup and init
| You see | What it means | What to do |
|---|---|---|
not logged in. Run interleave login. | The CLI has no token on this machine. | Run interleave login. Check with interleave whoami. |
… rejected the saved token | The key was revoked or expired. | Run interleave login again. |
can't tell the GitHub repo from the git remote | origin isn't a GitHub URL. | Pass --repo owner/name. |
could not reach https://… | The CLI couldn't connect to the API. | Check your network and --api-url / INTERLEAVE_API_URL. |
✗ Setup failed: … or ✗ Setup needs your input: … | The repair agent couldn't get the app healthy. | Open Projects → your repo → Environment → Setup history → View log. Fix the cause (a missing env var, a seed script that calls an external API), then run init again or click Re-run setup. |
interleave.yml has the wrong start command or port, or is missing an app or service | The app wasn't running when you ran init, so it was drafted from your files alone. | Start the app the way you normally do and run init again: it redrafts and overwrites interleave.yml. Or fix interleave.yml by hand and rerun init --keep-recipe, which uses it as is. |
| The health check times out | The app took longer than health.timeout (default 120 s) to answer. | Raise health.timeout, or point health.path at a cheap route. |
| A live key was blocked | init found a key that can spend money. | Use a test-mode key. See Secrets. |
An interleave.yml error naming a field | The recipe failed validation. Unknown keys are errors. | Check the field against the reference. |
Starting runs
| You see | What it means | What to do |
|---|---|---|
No 👀 on your @interleave test comment | The comment didn't start a run. | Check that the command starts a line, the GitHub App is installed on this repo, and you have write access. |
| "only collaborators with write access to this repository can start Interleave runs" | You don't have write access. | Ask a maintainer to comment, or to give you write access. |
No environment yet — finish project setup first (comment) or env_not_ready (CLI) | The repo has no successful setup yet. | Run interleave init and let it finish. |
| "Interleave couldn't read this pull request" | The App lost access to the repo. | GitHub → Settings → Applications → Interleave → add the repo back. |
| "Interleave doesn't run on pull requests from forks by default" | The PR comes from a fork. | Push the branch to the repo itself. See fork PRs. |
No run on a push, with triggers on | Filters skipped it, or the commit already ran. | Check branches, paths and skip_drafts, and that triggers is on the base branch. |
run_limit_reached or a neutral check about the run limit | The org used its plan's runs this period. | Upgrade, or wait for the reset date in the message. See Billing. |
429 Too Many Requests | Rate limited. | Wait for the Retry-After time and try again. |
| A run sits on queued (waiting for this org's current run) | Your plan runs one run at a time per org (Free). | It starts when the current one finishes. |
Run results
| You see | What it means | What to do |
|---|---|---|
| Environment failed to boot — see setup log | The app didn't come up for this run. The comment includes the last lines of the log. | Click See the setup log →. Common causes: the PR changed dependencies or migrations in a way setup didn't expect, a service version changed, or a secret the app needs at boot. |
| Run timed out, The sandbox stopped unexpectedly mid-run, The model provider kept failing — try again shortly | Infrastructure, not your code. | Comment @interleave test again, or Run again on the run page. |
| The run stopped early | It reached its $0.40 spend or 30-minute limit. | Narrow it with instructions: @interleave test only the checkout flow. |
| Everything passed but you expected a failure | The planner didn't pick the flow you care about. | Re-run with instructions: @interleave test sign in and open /orders page 2. |
| A case keeps going flaky | Something in the flow is timing-dependent. | It's quarantined automatically after 3 flaky results in 10. |
| Every case signs in again, or lands on the login page | The one sign-in per run failed, so cases start signed out. | Check the run log, then add auth.sign_in selectors or a check_path. |
| "Recordings expired" | The run is older than your plan's retention. | See retention. |
Getting help
Send us:
- the run URL or run number, or the setup id
initprinted (setup 1a2b3c4d), - what you expected and what happened,
- for setup problems, how you run the app locally and anything unusual (Docker Compose, a monorepo, custom scripts).
Never paste secret values. We never need them, and logs redact the ones we know about.