gigafibre-fsm/apps
louispaulb 93588975ad feat(ops): sync fiber ONU from F on swap (reconcile-on-load + daily)
Fiber twin of the wireless-MAC issue: when an ONT is replaced, F's `fibre` table
holds the current serial + OLT coords, but OPS keeps the old serial → dostuff
queries a serial no longer on the OLT → shows "offline" for an online customer
(C-LPB4: OPS had TPLGC4160688/ontid 0; F fibre id 13890 = TPLG55684520/ontid 2).

- hub: fibreById() reads F `fibre` by the SE's legacy_fibre_id (hub reaches
  gestionclient); reconcileFibreOnu() aligns serial_number/gpon_serial/olt_ip/
  slot/port/ontid; fibreLive({equipment}) reconciles THEN dostuffs with the current
  serial. GET /collab/fibre-live, POST /collab/fibre-sync, and syncFibreOnus()
  (park-wide, batched) folded into the daily 03h tick alongside wireless.
- ops: the fiber hero + "Do Stuff en direct" now call /collab/fibre-live (auto
  reconcile on load), reflect the corrected serial locally, and show "ONU
  synchronisée depuis F (remplacement)".

Verified: fibreLive(EQP-0000011366) auto-corrected TPLGC4160688 → TPLG55684520
(logged), and dostuff on the current serial = online (Rx -14.39 / Tx -13.78, bon,
uptime 1h17). Build clean, leak 0; deployed index.d652a898.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 14:36:33 -04:00
..
client security: harden payments/hub auth + remove leaked ERPNext token from source 2026-06-16 06:17:17 -04:00
field-tech feat(field-tech): app Capacitor native (geofence Transistorsoft + scan MLKit) + CI 2026-06-08 19:47:27 -04:00
ops feat(ops): sync fiber ONU from F on swap (reconcile-on-load + daily) 2026-07-21 14:36:33 -04:00
portal fix(portal): deploy Vue SPA to portal.gigafibre.ca, retire client.gigafibre.ca 2026-04-22 15:02:31 -04:00
website Site: texte Actualités révisé + template courriel gift natif (FR) 2026-06-03 16:42:52 -04:00
website-vue portal(vue): fix stray space in prices ($39 .95 -> $39.95) 2026-07-07 06:48:18 -04:00