BlogBuild

The build ran out of time How to fix it.

Builds are given 20 minutes. If yours runs longer, a step is hanging or the project needs more than is allowed.

How the Agent API works
What you see
The build ran out of time. Builds are given 20 minutes, so something in the
install or build step is hanging, or this project needs more than we
currently allow.
  • What it meansThe build hit its time limit
  • The limit20 minutes
  • Likely causeA command that never ends
  • FixMake every build command finish

What it means

A build that runs for 20 minutes is stopped. Most builds take a small fraction of that, so a build that reaches the limit is almost always stuck, not slow.

Common causes

  • A command that never ends. A build script that starts a development server or a watcher, for example vite build --watch or next dev, waits forever.
  • A package compiling from source. A Python or native package without a prebuilt wheel can compile for a very long time. See Failed building wheel.
  • A step waiting for the network. A download or a prompt that waits for input.
  • A very large project. A build that does a great deal of work.

How to fix it

  1. Read the end of the build log

    It shows the step that was running when time ran out.

  2. Make every build command finish

    The build script must exit on its own. Remove watch flags and anything that waits for input.

  3. Prefer prebuilt packages

    Pin versions and a Python version that have prebuilt wheels, so nothing compiles from source.

01Questions

Build time questions, answered.

Anything else? Write to us and a person answers.

support@antideploy.com
Can I get more time?

Builds are given 20 minutes today. Shrinking or fixing the step is the way forward.

Does this failed deploy cost anything?

No. Failed deploys never count against your plan.

How do I find the step that hung?

Read the end of the build log. It shows the step that was running when time ran out. Your agent can read it from the deploy history.

Deploy something. Start with one sentence.

Paste one sentence into your coding agent, click Approve once, and get a live link. No card, no trial clock.

Start from GitHub or a folder
Prompt copied Paste it into Claude Code, Codex or Cursor and press Enter.