From 723e664df1abc16600e804125b023d02e4afbad9 Mon Sep 17 00:00:00 2001 From: pqhuy1987 Date: Thu, 25 Jun 2026 11:22:38 +0700 Subject: [PATCH] =?UTF-8?q?[CLAUDE]=20Docs:=20S88=20addenda=20=E2=80=94=20?= =?UTF-8?q?white-screen=20incident=20(transient/cache,=20deploy-healthy)?= =?UTF-8?q?=20+=20Block=20B=20table-align=20+=20index.html=20no-cache=20fi?= =?UTF-8?q?nding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- .../sessions/2026-06-25-S88-pe-stability-audit-d1-d2.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/changelog/sessions/2026-06-25-S88-pe-stability-audit-d1-d2.md b/docs/changelog/sessions/2026-06-25-S88-pe-stability-audit-d1-d2.md index ff32ace..24c6ebf 100644 --- a/docs/changelog/sessions/2026-06-25-S88-pe-stability-audit-d1-d2.md +++ b/docs/changelog/sessions/2026-06-25-S88-pe-stability-audit-d1-d2.md @@ -56,3 +56,7 @@ em-main-led BE core (financial/coupled/design-heavy = create-contract multi + Bl - **Anh:** ⚠️ restart CLI (carry budget v3 + `/user-mark-*` + cadence). **UAT anh Kiệt Ctrl+F5:** ① ≥2-winner Block B số đúng · ② GẤP→Director chuông · ③ Link hồ sơ giữ khi sửa header · ④ ≥2-winner "Tạo HĐ" → N HĐ (xác nhận GiaTri per-winner = giá NCC chào). - **Em:** curate test-specialist L1 (GẤP) · monthly 2026-07-01 (STATUS/HANDOFF re-tier mega-line bloat — line không Read được · detector test-count regex anchor · vocab-fork alias-map · ef-core Mig→59). - **Pending product:** Section B cột Dự-án wire · Ngưỡng giá CEO Designer UAT · "C" chuyển phiếu→dự án. + +## Post-closeout addenda (cùng phiên S88) +- **🔥 White-screen incident (eoffice/fe-user) — KHÔNG phải code bug:** anh báo màn-hình-trắng-tinh sau D2 deploy. Diagnose: deploy KHỎE — fresh load eoffice boot OK (login render, 0 console error qua Chrome MCP), BE all 200, MỌI asset 200 (old+new, KHÔNG 404), changes PE-only + landing `/dashboard` (em không đụng). ⟹ **client-side transient/stale-cache** (tab mở trong lúc IIS app-pool recycle khi deploy). Fix: anh hard-refresh `Ctrl+Shift+R` → khỏi. KHÔNG revert (code lành). **🔴 Robustness finding (NEXT/ops):** IIS serve `index.html` KHÔNG `Cache-Control: no-cache` (chỉ ETag/Last-Modified) → tab cũ có thể kẹt index stale qua deploy. Repo KHÔNG có `web.config` (SPA routing + headers = server-side VPS). Đề-xuất: add `web.config` vào `fe-user/public` + `fe-admin/public` (`index.html`→no-cache + `assets/*`→immutable 1y) SAU khi inspect server config (đừng vỡ SPA rewrite) — iis-deploy-runbook task, cẩn-thận-prod. (Lesson: build+deploy PASS ≠ runtime-render OK; nhưng white-screen ≠ luôn-là-code — verify deploy-health TRƯỚC khi revert.) +- **PE Block B table-align (`3f9dc32`):** 2 bảng "TỔNG HỢP NGÂN SÁCH TRÌNH KÝ" (A NGÂN SÁCH / B THỰC HIỆN) lệch cột Dự án/PRO/CCM (A `w-40` vs B `w-44`, auto-layout). Fix: cả 2 `table-fixed` + đồng-nhất `w-20/w-44/w-44` → thẳng hàng 1 lưới. FE-only 2-app SHA `93a4e8a1`, build PASS.