Skip to content

Technical guide · Overview

Page status: HistoricalHistory group: Updates

Worker Translation Diagnostic Samples Update

This update makes Worker translation failures easier to debug.

Visual overview

Primary diagram

System map

This update makes Worker translation failures easier to debug.

Render the repository-owned system map when you need it.

Diagram is not rendered yet.

View as text
Worker Translation Diagnostic Samples Update

This update makes Worker translation failures easier to debug.

flowchart TB
  accTitle: Worker Translation Diagnostic Samples Update
  accDescr {
    This update makes Worker translation failures easier to debug.
  }
  A["Worker Translation Diagnostic Samples Update"] --> B["updates/README_WORKER_TRANSLATION_DIAGNOSTIC_SAMPLES_UPDATE.md"]
  B --> C["Auto-generated placeholder diagram"]

Worker Translation Diagnostic Samples Update

Fullscreen diagram view.

Worker Translation Diagnostic Samples Update

Section titled “Worker Translation Diagnostic Samples Update”

This update makes Worker translation failures easier to debug.

  • Adds articleSummaryFailureSamples to the manual Worker JSON response.
  • Adds articleSummarySaveErrorSamples to 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.

After deploy, test a shard and look for:

  • articleSummaryFailureSamples
  • articleSummarySaveErrorSamples
  • articleSummaryFailedTaskCount
  • articleSummarySaveOk
  • translationProviderOrder