All ticketsSettings & API
All tickets
SUP-151

Cancel action overwrites an already completed record

Description

MOCK SUPPORT HISTORY — invented scenario, not a confirmed customer incident. Any resolution, customer confirmation, engineering change, and validation below are simulated training examples; no fix was deployed or runtime verification performed in Callie. Repository: wispmd/Callie at 5c43bcfc972a6aa967114e7e15109645be06fbab. Reported scenario Invented customer report: Cancel action overwrites an already completed record. Reproduction / investigation setup Seed a completed record and invoke cancelCall on its ID. Observed static code evidence cancelCall checks only ID and assigns canceled with no terminal-state guard. Simulated solution Hypothetical engineering solution: guard cancellation against completed and failed states; restrict cancellation to policy-approved active states. Prevent recurrence with terminal-state regression cases. This is only a proposed local-record fix, not telephony cancellation. Simulated acceptance checks (not executed) Completed and failed records remain unchanged; scheduled records can become canceled; unknown IDs change nothing. Scope boundary Treat this as mock support data only. Reproduce and validate against the target environment before reusing a fix. Do not treat a proposed change as present in the linked commit.

References

Activity

  1. Ticket created by Mock customer · 10/12/2026, 7:24:23 AM
  2. Mock product teaminternal note10/25/2026, 7:24:24 AM
    MOCK investigation note — static review only; not a verified incident. Evidence: cancelCall checks only ID and assigns canceled with no terminal-state guard. Investigation setup: Seed a completed record and invoke cancelCall on its ID.
  3. Mock product team10/25/2026, 7:24:24 AM
    MOCK solution / closure record — simulated, not deployed or executed. Simulated solution: Hypothetical engineering solution: guard cancellation against completed and failed states; restrict cancellation to policy-approved active states. Prevent recurrence with terminal-state regression cases. This is only a proposed local-record fix, not telephony cancellation. Simulated validation plan: Completed and failed records remain unchanged; scheduled records can become canceled; unknown IDs change nothing.
  4. status changed from open to in_progress by Mock product team · 10/25/2026, 7:24:24 AM
  5. status changed from in_progress to resolved by Mock product team · 10/25/2026, 7:24:25 AM