Worker Translation Diagnostic Samples Update
Section titled “Worker Translation Diagnostic Samples Update”This update makes Worker translation failures easier to debug.
What changed
Section titled “What changed”- Adds
articleSummaryFailureSamplesto the manual Worker JSON response. - Adds
articleSummarySaveErrorSamplesto the manual Worker JSON response. - Keeps local AI/OpenAI provider-order reporting already added by the previous update.
- Includes representative failed article URLs, titles, languages, task source, provider order, and save error text.
The Worker was returning high failure counts such as articleSummaryFailedTaskCount, but not the underlying rows or Supabase error text. This update lets a single shard test show what failed next.
Expected response fields
Section titled “Expected response fields”After deploy, test a shard and look for:
articleSummaryFailureSamplesarticleSummarySaveErrorSamplesarticleSummaryFailedTaskCountarticleSummarySaveOktranslationProviderOrder
