---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Finish preview deployments without stale cleanup failures

Successful previews no longer inherit cleanup failures from old builds that created nothing.

A ready preview could leave its deployment run marked failed because cleanup kept retrying an older build that never created a deployment. We fixed both new build records and cleanup of already stuck ones, so that old failure cannot keep marking later preview runs as failed.

There is nothing to change in your app. Continue using preview deployments as before; this corrects the run's cleanup outcome and lets unused preview resources be removed.
