Skip to content

v1.6.2 — deeper implementation review

Latest

Choose a tag to compare

@BaiGang BaiGang released this 27 Nov 06:46

A deeper pass over the implementation, not just the diff.

  • settle used to accept any transition, so a background waiter firing after a cancellation could overwrite that decision with done. Terminal states no longer move; only an explicit reopen leaves failed.
  • reopen and cancel checked a status in one read and wrote it in another, so a dispatch could claim the record in between. Both check inside the mutation.
  • Restarting or firing a bot now cancels its in-flight assignment with a reason instead of leaving it sent until the next Host start.
  • One conversation can belong to one bot; binding clears any other holder, so persona lookup cannot resolve the wrong teammate.
  • Batch dispatchAll/dismissAll refuse to fire while a batch is already in flight.
  • The proposal source names who actually asked instead of always chief.

60 headless checks.