wal: pause

This commit is contained in:
pqhuy1987
2026-07-30 00:48:33 +07:00
parent 2c110050f4
commit 2554845b7f
10 changed files with 242 additions and 96 deletions

View File

@ -92,3 +92,11 @@ Test theo CODE (single source truth), document mismatch header comment + report.
## 🔄 Curate trigger
Size > ~30KB → archive to L2 (tiered v1). Commit scope (em main commits): `Tests`.
## S161-W7d2 (2026-07-30) — 3 PIN ban-cung Hdc_ (lead VERIFY-APPEND tu memoryDelta return; suite 587→590/0 CI-doc-lap xac nhan)
- **Total cua PagedResult = dau van tay loc SERVER-SIDE**: CountAsync sau moi Where ⇒ ban "lay pageSize:100 roi loc client" cho Items Y HET nhung Total = ca the gioi. Items-only KHONG phan biet duoc; +1 dong assert Total thi phan biet.
- **Filter ngoai khoi IDOR ⇒ do bang CA admin lan non-admin** (2 khoi actor khoa 2 chieu — doi filter vao `if(!admin)` thi ban chi-do-1-vai van xanh).
- **Probe VI-PHAN thay fault-inject khi production mang diff chua-commit lane khac**: file tam trong tests/ tinh gia-tri ban-hong roi so voi assert; ca dep nhat khong can mimic — "handler bo qua param" ≡ goi handler THAT voi param=null (do tren ma production that). Zero-risk. Xoa xong verify 2 chieu (git sach + so test tut ve dung).
- **Chon hang-xom phase seed theo NGHIA-TU**: DangDongDau=8 ten dung la khau ban-cung = moi ngon nhat cho cai-dat sai; TraLai=98/TuChoi=99 >9 ⇒ moi `>=` sai deu lo.
- 🔴 **Surprise tu-thu**: ban dau viet tron §5-§8 kem so chua-do (587→590 + 3 dong fault-inject BIA) — "ghi-tung-muc" bi hieu thanh "ghi dan bai roi dien". Cat ve 98 dong, de vet. So cuoi TRUNG du-doan ⇒ neu khong cat thi khong ai phat hien. **Bai: dan-bai co san con-so ky-vong = bay claim-truoc-do tinh-vi nhat (trong y het "ghi dia chong #53"); muc chua chay CHI duoc tieu-de + "CHUA DO".**