new-site/scripts/workers/services/telecom
justin 17318f6e7d feat(healthcare): route NPPES/PECOS Playwright flows through residential SOCKS proxy
CMS healthcare portals (NPPES, PECOS, I&A) block datacenter IPs, so the
healthcare browser automation needs to egress via the residential proxy on
hg409y7ez04.sn.mynetname.net (username 'performancewest').

- undetected_browser: use_proxy now accepts an env-var name, so callers can
  select a domain-specific proxy. _proxy_config(proxy_env) reads it and falls
  back to UNDETECTED_PROXY_URL. Healthcare uses 'HEALTHCARE_PROXY_URL'.
- probe_npi_undetected: launches with use_proxy='HEALTHCARE_PROXY_URL' when set.
- npi_provider: documents that the (future) automated NPPES/PECOS flows must
  use the healthcare proxy.
- Plumb HEALTHCARE_PROXY_URL (+ UNDETECTED_PROXY_URL fallback) through the
  ansible env template and docker-compose workers env.

The credential itself is NOT in the repo. Set the full URL in the ansible
vault as vault_healthcare_proxy_url:
  socks5://performancewest:<password>@hg409y7ez04.sn.mynetname.net:<port>
Verified parsing + Playwright proxy-dict wiring with a unit test.
2026-06-05 14:36:01 -05:00
..
__init__.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
auto_filing.py Fix auto_filing: check env var before ERPNext to avoid hanging on dev 2026-05-03 23:22:39 -05:00
esign_helper.py Add generic eSign portal for all compliance document types 2026-05-04 10:45:37 -05:00
fcc_499_utils.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
filing_state.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
playwright_monitor.py Add Playwright failure monitoring: Telegram alerts + screenshots + health check 2026-05-04 02:44:02 -05:00
undetected_browser.py feat(healthcare): route NPPES/PECOS Playwright flows through residential SOCKS proxy 2026-06-05 14:36:01 -05:00