new-site/infra/ansible/roles
justin 899b880e7f trucking: weekly FMCSA source refresh so new non-compliant carriers are caught
The FMCSA census was a one-time snapshot (last loaded ~May 30) with NO refresh
timer -- carriers newly falling out of MCS-150/UCR compliance were never picked
up. New scripts/workers/fmcsa_source_refresh.py orchestrates the full pipeline
(census download -> enrichment -> deficiency flag -> verify new emails ->
MX-tag new) and runs weekly via cron pw-fmcsa-refresh (Sun 09:00 UTC), codified
in the mail-pipeline Ansible role.

Idempotent + incremental: the census upsert preserves email_verified /
listmonk_sent_at / deficiency_flags, so existing carriers keep their send state
and only census fields refresh; new DOTs flow into verification then campaigns.
A carrier who refiled gets a fresh mcs150_parsed, so the builder's overdue
WHERE clause stops targeting them automatically. Verify is capped per run
(20k) so it never stalls on millions of rows.

(Healthcare already auto-catches newly-revalidation-overdue providers within
its 63k institutional pool via pw-hc-refresh Mon/Wed/Fri.)
2026-06-17 20:44:54 -05:00
..
app chore(env): scaffold ISA_SC_DMS_USER/PASS for SC PSC MyDMS e-file portal 2026-06-16 08:19:17 -05:00
backup Fix flagged items: CRTC email submission, BITS todo, selector docs, stale plans 2026-05-04 11:33:45 -05:00
common Add security-updates Ansible role for automated patching 2026-04-30 01:24:57 -05:00
docker Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
erpnext Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
mail mail: add logrotate for Postfix mail.log (postlogd copytruncate) 2026-06-17 19:47:13 -05:00
mail-pipeline trucking: weekly FMCSA source refresh so new non-compliant carriers are caught 2026-06-17 20:44:54 -05:00
minio Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
monitoring Add Prometheus + Grafana + Alertmanager monitoring stack 2026-05-01 02:08:39 -05:00
nginx nginx: stop blocking /admin (bot-scan rule matched our own dashboard) 2026-06-16 00:05:54 -05:00
postgresql Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
security-updates Add security-updates Ansible role for automated patching 2026-04-30 01:24:57 -05:00
sftpgo Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
shkeeper Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
site Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
worker-crons docs(crons): note IRP invoice poller now also handles intrastate [PW-ISA] replies 2026-06-16 07:59:38 -05:00
workers Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00