← Toutes les offres
TP

Telemetry: PhotobankAutoTagJob LLM responses truncated — 9 of 10 batches failed JSON parse on 2026-11-21, ~450 photos stamped as auto-tagged with no tags

Telemetry: PhotobankAutoTagJob LLM responses truncated — 9 of 10 batches failed JSON parse on 2026-11-21, ~450 photos stamped as auto-tagged with no tags

Global
Publié le 21 novembre 2026

Description du poste

telemetry-signal: exception:JsonReaderException@PhotobankAutoTagJob.ProcessBatchAsync **Window:** P7D (2026-11-14 – 2026-11-21) · **Source:** Application Insights (production) ## Signal On 2026-11-21 the nightly `PhotobankAutoTagJob` made **10** `POST api.anthropic.com/v1/messages` calls (03:00:46 – 03:01:24 UTC, all HTTP 200) and **9 of them** produced a `System.Text.Json.JsonReaderException` at `Anela.Heblo.Application.Shared.Json.JsonResponseParser.ParseOrFallback`, logged by category `...Photobank.Infrastructure.Jobs.PhotobankAutoTagJob` ("ProcessBatchAsync: failed to parse JSON response, using fallback"). Every failure is a **truncated** response, not prose or a refusal — the JSON is well-formed up to the point it simply stops: | time (UTC) | error | cut at | |---|---|---| | 03:00:51 | open JSON object or array that should be closed | `$.results[20].tags`, byte 493 | | 03:00:55 | open JSON object or array | `$.results[41].id`, byte 1289 | | 03:00:59 | Expected end of string, reached end of data | `$.results[35]`, byte 1101 | | 03:01:03 | open JSON object or array | (log tail `…{"id":9978,"tags":["produkt"`) | | 03:01:08 | Expected end of string, reached end of data | `$.results[7]`, byte 319 | | 03:01:12 | open JSON object or array | (log tail `…{"id":15883,"tags":["produkt"`) | | 03:01:16 | Expected end of string, reached end of data | `$.results[15]`, byte 509 | | 03:01:20 | Expected start of a property name or value, reached end of data | `$.results[34]` | | 03:01:24 | Expected end of string, reached end of data | `$.results[21]`, byte 803 | The 9 failing calls took 3.7–4.6 s each; the 10th (2.7 s, presumably the short final batch) parsed fine. No batch that was cut off reached all 50 results (max seen: index 41). This exception had **zero** occurrences in the previous 30 days. In that period the job made only 0–3 Anthropic calls per night (last on 2026-11-03), i.e. small batches; 2026-11-21 is the first night with a backlog of full 50-photo batches.