ACC 0.10.2: Reused process ids stop blocking updates

ACC 0.10.2 stops a reused process id holding a store-contract update and replaces a stuck pending release; 0.10.0 and 0.10.1 need one pin reset.

Released

Two more problems kept the update from 0.9.x pending after ACC 0.10.1. A process id that another program now owns made an old binding look alive. A pending 0.10.1 that could not activate never gave way to a newer release. ACC 0.10.2 fixes both. This release belongs to the ACC 0.10 line and was released on 2026-10-07.

Who is affected#

Anyone whose acc update stays pending on 0.10.0 or 0.10.1.

What changed#

A reused process id is no client. A binding whose live process id belongs to a process that started more than a second after the binding was last written is no hold. ACC reads the process start time with ps -o lstart= under LC_ALL=C, or through WMI on Windows. An unreadable start time decides nothing. The pending generation's refresh removes such a binding.

A stuck pending release gives way. When the pending release reports processes_active, acc update stages a newer release in its place. So does the automatic update, once a check is due. With nothing newer, the result still reports processes_active.

What to do#

acc update

A machine that is already pending on 0.10.0 or 0.10.1 needs one extra step. The updater of those releases runs the decision and does not replace a pending release. Clear it once, then update:

acc update --pin none
acc update

--pin none keeps following stable releases and drops a pending release that is not pinned. From 0.10.2 on, the update does this by itself. Machines that are not pending update as usual and activate without waiting, because the store contract does not change between 0.10.x releases.

Checks before release#

Upgrades ran with an isolated home and a local registry:

  • From 0.9.1 with a live process. The update waited for 0.9.1's own MCP server. After it exited, the next acc status activated 0.10.2, and the store was on contract 7 within 0.8 seconds with event, journal, message and receipt bytes unchanged. The open question was answered on the migrated store. The 0.9.1 code refused that store with exit code 4.
  • Stale bindings. Two bindings without a process id for sessions with no record were removed, and the store moved to contract 7. A third binding for a session that still heartbeats stayed and kept the update pending.
  • A reused process id. A binding written two days earlier, whose process id now belonged to a sleep started during the run, was removed, and the update activated.
  • A stuck pending 0.10.1. acc update staged 0.10.1. Offered 0.10.2, the 0.10.1 updater only retried 0.10.1. acc update --pin none cleared it, acc update staged 0.10.2, and it activated once the server exited. Only its generation remained.
  • From 0.10.0 and 0.10.1. Each updated without waiting, and the 0.10.0, 0.10.1 and 0.10.2 code shared one store.

The test suite gave 3,201 tests with 0 failing and 8 skipped.

Limits#

Linux and Windows were exercised only through CI. The Windows start-time reading is covered by a unit test that reads the test process's own start time.

Later changes#

  • ACC 0.10.3 treats an exited process that its parent has not collected as gone, and a pending 0.10.2 then gives way to 0.10.3 with no pin reset. A pending 0.10.0 or 0.10.1 still needs acc update --pin none once.

Sources#