---
title: "Discussion on \"Refunding credits for a failed AI job, without refunding twice\" | Hashnode"
description: "Discussion on \"Refunding credits for a failed AI job, without refunding twice\". Why clearing the pointer in the same write as the status transition cost us every retry"
url: "https://hashnode.com/posts/refunding-credits-for-a-failed-ai-job-without-refunding-twice/6afc032c498ff05ca882b0ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Refunding credits for a failed AI job, without refunding twice](https://milostu.hashnode.dev/refunding-credits-for-a-failed-ai-job-without-refunding-twice?utm_source=hashnode&utm_medium=feed)

Why clearing the pointer in the same write as the status transition cost us every retry

8h ago · 8 min read · milostu.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#databases](https://hashnode.com/tag/databases)
-   [#cloudflare](https://hashnode.com/tag/cloudflare)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Milos Tu](https://hashnode.com/@milostu)

@milostu

  
[View profile](https://hashnode.com/@milostu)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
