Skip to content

fix(ops): re-extract toast reports failed chunks with the reason - #55

Merged
sulthannauval merged 1 commit into
mainfrom
fix/reextract-failure-reason
Aug 10, 2026
Merged

fix(ops): re-extract toast reports failed chunks with the reason#55
sulthannauval merged 1 commit into
mainfrom
fix/reextract-failure-reason

Conversation

@sulthannauval

Copy link
Copy Markdown
Member

Companion to RantAIClaw#463 (plan 109). Partial extraction failures (200 + failed_chunks/error) render as a warning toast naming the count and reason; total failures already surface via the catch arm showing the 502's extraction_failed detail. Type widened with optional fields — older gateways omit them and keep today's behaviour.

Validation: npx next build clean.

Risk: additive · Rollback: revert

- backend (RantAIClaw plan 109) now counts extractor failures and 502s
  on total failure; partial failures arrive as failed_chunks + error on
  the 200 response — render them as a warning toast instead of
  presenting a partial extraction as a clean success
- total failure already lands in the catch arm and shows the 502's
  extraction_failed detail
- KbReExtractResult type widened (optional fields; older gateways omit
  them and keep today's behaviour)
@sulthannauval
sulthannauval merged commit e234981 into main Aug 10, 2026
1 check passed
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.

1 participant