project-nomad/admin/commands
Chris a6d94edbee fix(drug-reference): fold dataset freshness into the content-auto-update path
The drug dataset auto-updated on its own daily cron that ignored the
contentAutoUpdate.* master switch, so it would refresh even with content
auto-update turned off, and it didn't ride the content-update path the way
ZIMs and maps do.

Move the export_date freshness/apply orchestration onto
DrugReferenceService.attemptAutoUpdate(), add
ContentAutoUpdateService.attemptDrugDataset() gated on the same enabled +
window config, and have the hourly ContentAutoUpdateJob drive both. Retire
the standalone DrugAutoUpdateJob. The ZIM/map attempt() path is unchanged.

Addresses the upstream #1040 request to wire the openFDA export_date check
into the content updater so the dataset updates alongside ZIMs and maps.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 17:32:42 -04:00
..
app_auto_update feat(supply-depot): opt-in automatic updates for installed apps 2026-06-23 04:46:52 +00:00
auto_update feat(system): add opt-in automatic updates for the core NOMAD app 2026-06-23 04:46:51 +00:00
benchmark feat(Docker): container URL resolution util and networking improvs 2026-01-24 15:27:56 -08:00
content_auto_update feat(content): opt-in automatic updates for installed ZIM & map content 2026-06-23 04:47:01 +00:00
queue fix(drug-reference): fold dataset freshness into the content-auto-update path 2026-07-14 17:32:42 -04:00