Skip to Content
interleavedocs

Troubleshooting

What common errors mean and what to do about them.

Setup and init

You seeWhat it meansWhat 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 tokenThe key was revoked or expired.Run interleave login again.
can't tell the GitHub repo from the git remoteorigin 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 serviceThe 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 outThe 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 blockedinit found a key that can spend money.Use a test-mode key. See Secrets.
An interleave.yml error naming a fieldThe recipe failed validation. Unknown keys are errors.Check the field against the reference.

Starting runs

You seeWhat it meansWhat to do
No 👀 on your @interleave test commentThe 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 onFilters 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 limitThe org used its plan's runs this period.Upgrade, or wait for the reset date in the message. See Billing.
429 Too Many RequestsRate 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 seeWhat it meansWhat to do
Environment failed to boot — see setup logThe 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 shortlyInfrastructure, not your code.Comment @interleave test again, or Run again on the run page.
The run stopped earlyIt 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 failureThe 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 flakySomething 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 pageThe 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 init printed (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.

On this page

Graph view