Skip to content

fix(extraction): Report malformed model output accurately - #461

Open
sentry-junior[bot] wants to merge 5 commits into
mainfrom
fix/extraction-failure-diagnostics
Open

fix(extraction): Report malformed model output accurately#461
sentry-junior[bot] wants to merge 5 commits into
mainfrom
fix/extraction-failure-diagnostics

fix(reporting): Bound extraction diagnostics

60aa42d
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: code-review completed Aug 1, 2026 in 0s

1 issue

code-review: Found 1 issue (1 medium)

Medium

All-extraction failures still report as authentication problem in aggregate error - `packages/warden/src/sdk/analyze.test.ts:322`

When every hunk fails extraction but analysis succeeds, runSkillAnalysis throws all_hunks_failed with an auth message instead of explaining that the model generated malformed output.


⏱ 36m 43s · 3.6M in / 444.9k out · $2.23

Annotations

Check warning on line 322 in packages/warden/src/sdk/analyze.test.ts

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: code-review

All-extraction failures still report as authentication problem in aggregate error

When every hunk fails extraction but analysis succeeds, `runSkillAnalysis` throws `all_hunks_failed` with an auth message instead of explaining that the model generated malformed output.