BUGOLOGY 缺陷研究記錄
← 全部記錄

Optimistic mutation does not roll back on failure

BC-0001todo-app來源 ai_generated · claude-opus-5已驗證判斷改過 1 次

An item added optimistically stays on screen after the remote write returns HTTP 500. The list and the server disagree, and nothing tells the user.

同一個缺陷,每一個視角

判斷軌跡

  1. 條件 · 依賴any-async-transport2026-08-01 12:30 → 至今信心 0.71
  2. 何事 · 使用者stale-ui2026-08-01 12:02 → 至今信心 0.99
  3. 何處 · 架構transaction-boundary2026-08-01 12:24 → 至今信心 0.84
  4. 為何 · 執行期race-condition2026-08-01 12:05 → 2026-08-01 12:22信心 0.42已被取代
  5. 為何 · AI 生成omitted-failure-path2026-08-01 12:22 → 至今信心 0.92

觀察記錄

  1. 2026-08-01 12:00已捕捉

    HTTP 500 reproduced with the optimistic item still on screen.

  2. 2026-08-01 12:05調查中

    First reading: a race between two writes.

  3. 2026-08-01 12:20已重現

    Single-write reproduction refutes the race.

  4. 2026-08-01 12:22已定位

    The failure branch never restores state. Classification revised.

  5. 2026-08-01 12:28已修補

    First patch rejected; second attaches a rollback.

  6. 2026-08-01 12:33待驗證

    Regression test attached.

  7. 2026-08-01 12:35已驗證

    pre failed, post passed.

可執行見證

修正前,測試失敗
修正後,同一測試通過
驗證者ci
驗證於2026-08-01 12:35

Currently contested by BC-0005: the gate test fails after a framework upgrade.

BU-0001 · Optimistic rollback omission

假設

證據

修補

關聯