project-nomad/admin/app
Chris b659942542
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-21 17:30:41 +00:00
..
controllers feat(drug-reference): rework into an opt-in medicine-standard tier dataset 2026-07-21 17:30:38 +00:00
data fix(drug-reference): address review — defer FULLTEXT, fallback remedies prop, strip fork refs 2026-07-21 17:29:52 +00:00
exceptions fix(Docs): documentation renderer fixes 2025-12-23 16:00:33 -08:00
jobs fix(drug-reference): fold dataset freshness into the content-auto-update path 2026-07-21 17:30:41 +00:00
middleware fix(API): skip compression for Server-Sent Events (#798) 2026-05-20 10:16:00 -07:00
models feat(collections): route a 'dataset' tier resource to the drug pipeline 2026-07-21 17:30:21 +00:00
services fix(drug-reference): fold dataset freshness into the content-auto-update path 2026-07-21 17:30:41 +00:00
utils fix(content): resolve current ZIM URL before download (#1091) 2026-07-20 19:36:53 -07:00
validators feat(collections): route a 'dataset' tier resource to the drug pipeline 2026-07-21 17:30:21 +00:00