new-site/scripts/workers/services
justin 78c04b8bc3 Add Playwright failure monitoring: Telegram alerts + screenshots + health check
When any Playwright submission fails (selector not found, timeout, etc.):
1. Full-page screenshot captured and uploaded to MinIO
2. Telegram alert sent immediately with error details + screenshot link
3. Email alert to ops with same info
4. Admin todo includes screenshot MinIO path for debugging
5. Client order stays pending for manual completion

Proactive selector health check (daily 7am CT cron):
- Navigates to each portal (FCC RMD, USAC E-File, FCC CPNI/ECFS)
- Verifies all critical selectors are still present in the DOM
- If selectors are missing (UI changed): alerts via Telegram + email
  BEFORE any real client order fails
- Reports which service slugs are affected

Integrated into:
- RMD filing handler (fccprod.servicenowservices.com)
- Form 499-A handler (forms.universalservice.org)
- Form 499-Q handler (already had error handling)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-04 02:44:02 -05:00
..
telecom Add Playwright failure monitoring: Telegram alerts + screenshots + health check 2026-05-04 02:44:02 -05:00
__init__.py Add 499-Q intake page, 499-Q handler, and 499-A discontinuance handler 2026-05-03 02:34:18 -05:00
base_handler.py Skip worker intake emails for batch orders, remove payment step for paid orders 2026-04-28 04:52:49 -05:00
bdc_filing.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
breach_response.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
calea_ssi.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
campaign_review.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
canada_crtc.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
ccpa_audit.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_analysis.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cdr_storage_tier.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
consent_audit.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
contractor_review.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cores_frn_registration.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
cpni_certification.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
dc_agent.py DC Agent: don't send acceptance letter until NW order is placed 2026-04-28 04:50:15 -05:00
dnc_review.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fcc_carrier_registration.py Add FCC Carrier/ISP Registration: API, checkout, handler, dispatch 2026-04-29 08:48:36 -05:00
fcc_compliance_checkup.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
fcc_full_compliance.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
flowroute.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
flsa_audit.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
foreign_carrier_affiliation.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
foreign_qualification.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
form_499_initial.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
form_499a.py Add Playwright failure monitoring: Telegram alerts + screenshots + health check 2026-05-04 02:44:02 -05:00
form_499a_discontinuance.py Fix handler return types: return file path lists not dicts 2026-05-04 02:23:21 -05:00
form_499q.py Fix handler return types: return file path lists not dicts 2026-05-04 02:23:21 -05:00
handbook_review.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
new_carrier_bundle.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
ocn_registration.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
porkbun.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
privacy_policy.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
renewal_handler.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
rmd_filing.py Add Playwright failure monitoring: Telegram alerts + screenshots + health check 2026-05-04 02:44:02 -05:00
state_puc_filing.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
stir_shaken.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00