project-nomad/admin/app
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
..
controllers feat(drug-reference): rework into an opt-in medicine-standard tier dataset 2026-06-24 17:41:29 -05:00
data fix(drug-reference): address review — defer FULLTEXT, fallback remedies prop, strip fork refs 2026-06-23 07:14:34 -05: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-14 17:32:42 -04: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-06-24 17:15:21 -05:00
services fix(drug-reference): fold dataset freshness into the content-auto-update path 2026-07-14 17:32:42 -04:00
utils feat(supply-depot): add MeshCore Web with self-signed HTTPS 2026-06-23 04:47:06 +00:00
validators feat(collections): route a 'dataset' tier resource to the drug pipeline 2026-06-24 17:15:21 -05:00