Accepted articles require translations before publishing
Section titled “Accepted articles require translations before publishing”This update makes the Worker treat accepted articles as translation_pending until every enabled summary language has a saved row in article_summaries.
What changed
Section titled “What changed”HOLD_ARTICLES_FOR_TRANSLATIONSis now included in generated shard Wrangler configs.- When summary languages are enabled, the Worker defaults to holding accepted articles until translations are complete.
- The default Worker translation article limit increased from 6 to 18, matching the hard AI review cap, so every newly accepted article in a normal shard run can be attempted for all supported languages.
- Existing summary lookup now chunks article URLs and quotes language filters safely, so
de-CHand larger batches do not cause missed/partial lookups. - Worker startup logging now includes enabled summary languages, translation limit, and hold mode.
Required deploy env
Section titled “Required deploy env”Use these values when regenerating/deploying Workers:
export ENABLED_SUMMARY_LANGUAGES="fr,ja,de-CH,de,el"export HOLD_ARTICLES_FOR_TRANSLATIONS="true"export SUMMARY_TRANSLATION_LIMIT="18"With those settings, new accepted articles are not displayed until all five translation rows exist.
