Skip to content

Prevent unresolved AI credit estimates from blocking workflows - #66559

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/aw-top-10-resolve-ai-credit-blocks
Closed

pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/aw-top-10-resolve-ai-credit-blocks

Conversation

Copilot AI commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Unresolved accounting estimates could exhaust the daily AI credits threshold and stop workflows despite zero recorded consumption. The guardrail now blocks only on recorded credits while retaining estimates for visibility and reconciliation.

  • Enforcement: Compare recorded credits—not the combined recorded and estimated total—to the threshold. Estimates alone do not block runs; accounting errors without a usable estimate still fail closed.
  • Reconciliation and reporting: Retry unresolved accounting on subsequent scans and age estimates out when their runs leave the 24-hour window. Show recorded, estimated, and combined credits separately in activation summaries and failure reports.
recorded credits: 0
estimated credits: 10,000
threshold: 5,000
result: workflow is not blocked

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Resolve unresolved AI credit accounting blocks Prevent unresolved AI credit estimates from blocking workflows Oct 7, 2026
Copilot AI requested a review from pelikhan October 7, 2026 12:34
@pelikhan pelikhan closed this Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AW Top 10] 05 Resolve unresolved AI credit accounting blocks

2 participants