# Nightly Test Summary — run of 2026-07-14→15 (IST)

**761 FAILURES — 14th consecutive mass-failure night (same "server/DB/proxy unreachable" signature); 1 new failure vs prior night: tour_pg matrix/2-opt hit a transient proxy 502.**

- Report: `test_reports/nightly_20260714.json` (marker `date` says 20260714 — UTC-run-start-stamped as usual; run finished 2026-07-14T23:25:26Z = **2026-07-15 04:55:26 IST**, so it belongs to 2026-07-15 IST). exit_code 1.
- **Total 1706 · Passed 797 · Failed 761 · Skipped 148 · Flaky 0**
- Prior night (07-13→14): 1706 / 798 / 760 / 148 — tonight is that run plus exactly one new failure.

## REGRESSIONS vs baseline

Trusted baseline (2026-06-20, `project_pwa_test_coverage.md`) is **0 failed**, so all 761 failures are nominally regressions — but 760 of them are the same known "server/DB/proxy unreachable during the nightly window" pattern documented since 2026-07-02, with per-file failing counts identical to the prior two nights.

**The single NEW failure vs the prior nights:**

1. `tour_pg.spec.js › matrix + 2-opt path for 14 stops` [desktop-chrome] — expected HTTP 200, got **502** on both attempts (~200 ms each); the identical test **passed on android-chrome** in the same run. Signature: tour-pg-proxy momentarily returning 502 (transient backend/proxy blip), not an app-code regression. Watch tomorrow — recurrence would suggest a real tour-pg-proxy problem.

## Error signatures (per result instance, incl. retries)

888 timeouts · 380 × 404 (raw Apache HTML where manifest.json/sw.js expected) · 188 assertion mismatches · 8 × PostgREST 406 · 2 × 502 (the new tour_pg failure) · 56 other. **No browser-binary (`Executable doesn't exist`) errors.**

## Failing spec files (27 files, failure counts per spec)

154 fundcustodian · 78 sales_billing · 74 vendors · 68 upi_pay · 50 customers · 44 recce · 40 custodian · 32 recce_client · 32 sales · 28 safe_bottom · 26 stores · 18 counters · 18 yagya-portfolio · 14 contacts · 10 finance · 10 installation · 10 learn · 10 tour_planner · 8 hub · 8 oc_admin · 8 vrs · 6 admin · 6 smoke · 4 client · 2 debug_tour · 2 rentveh · **1 tour_pg (NEW)**

Still fully green: printing, activity, drive_consolidator, tour_pg_sharing, hr, expense, dispatch, production, vehicle, btl.

## Sample failing tests (first 20, unique)

1. tour_pg.spec.js › matrix + 2-opt path for 14 stops **(NEW — 502)**
2. admin.spec.js › client.accounts has zone and is_head columns
3. admin.spec.js › client.zones table exists and is accessible via PostgREST
4. admin.spec.js › sales.jobs has zones column (ADR-111: sales.jobs is canonical)
5. client.spec.js › manifest.json returns 200
6. client.spec.js › sw.js contains current 360client version
7. contacts.spec.js › Dexie offline DB used
8. contacts.spec.js › Top Management access control in place
9. contacts.spec.js › auth screen and app container present
10. contacts.spec.js › hub navigation button present
11. contacts.spec.js › manifest.json returns 200
12. contacts.spec.js › search and contact list elements present
13. contacts.spec.js › sw.js is versioned
14. counters.spec.js › Phase 4.0a — legacy public path blocked + signed proxy URL serves the same file
15. counters.spec.js › Phase 4.12 — admin_list_audit date range + prune RPCs gating + count
16. counters.spec.js › Phase 4.14 — admin_audit_stats: shape + supervisor gate + counts match seeded events
17. counters.spec.js › Phase 4.17 — comments modal + RPCs referenced
18. counters.spec.js › Phase 4.17 — recce comments: both directions + visibility gate + trigger fan-out
19. counters.spec.js › Phase 4.5 — admin RPCs gate non-supervisors + full create-invite-revoke chain
20. counters.spec.js › Phase 4.6 — official trigger fans out + dispatch_notify → mail_outbox + supervisor RPCs

## Note

The partial-recovery plateau (760 outage-family failures) holds for a 3rd straight night — the same subset of the stack (PostgREST/DB-backed routes + several PWA vhosts) is unreachable during the ~00:15–04:55 IST window. This still needs the human/ops uptime fix; automated retries won't change it. Not re-baselined.
