{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "jwuthri-cloud-tracely-ai--freeze-failing-trace-into-pr-gate",
 "repo": "jwuthri-cloud/Tracely-ai",
 "repo_url": "https://github.com/jwuthri-cloud/Tracely-ai",
 "repo_slug": "jwuthri-cloud-tracely-ai",
 "title": "Turn a failing agent trace into a PR-blocking test",
 "page_title": "How to turn a failing agent trace into a PR-blocking test with Tracely AI",
 "summary": "Promote a production failure to a replayable case that blocks the PR that would ship it again.",
 "who": "An engineer on a team running an AI agent in production who has just seen a real run fail and wants that exact failure to never come back.",
 "problem": "Hand-writing eval datasets is a guess about what might break, and dashboard numbers move without stopping a release.",
 "outcome": "The failing run is frozen into a hermetic case with recorded fixtures, and CI fails any pull request that reproduces it.",
 "steps": [
  "Run `docker compose --profile demo up -d --build --wait` in the cloned Tracely repository.",
  "Open http://localhost:3001 and find a failing run in the traces view.",
  "Promote the failing trace to a regression case in one click.",
  "Run `pip install \"tracelyai-sdk[openai]\"` in your agent project and send traces to the Tracely ingest endpoint.",
  "Add the Tracely GitHub Action so `tracely gate` runs on every pull request."
 ],
 "agent_prompt": "In the Tracely-ai repository, start the demo stack with `docker compose --profile demo up -d --build --wait`, then promote one failing trace in the UI at http://localhost:3001 to a regression case. Report the case name and confirm the case shows a fail-to-pass contract. Verify that the case appears in the cases list before finishing.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README says the case replays against recorded fixtures with no model spend, but you still need your own agent wired to send traces before any failure appears.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Docker and Docker Compose",
  "For local development: uv, Node 20+ and pnpm",
  "A GitHub repository with pull requests, if you want the CI gate",
  "Python, to install the tracelyai-sdk package"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/jwuthri-cloud-tracely-ai/freeze-failing-trace-into-pr-gate/",
 "md": "https://dedupedai.com/use-cases/jwuthri-cloud-tracely-ai/freeze-failing-trace-into-pr-gate/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/jwuthri-cloud-tracely-ai--freeze-failing-trace-into-pr-gate.json",
 "api_version": "v1"
}
