Skip to content

@edgehero/pi-dispatch v1.10.1

Choose a tag to compare

@github-actions github-actions released this 02 Sep 18:08
· 59 commits to main since this release

A patch so the resume fix reaches an installed deployment. 1.10.0 shipped with REQ-RESUMABLE-SESSION inert, and the fix landed after that release was cut.

makeProcessor's prepareWorkspace wrapper replaced runJob's third argument instead of extending it, so piVersion never arrived and readCanonical's first gate fired on every job:

if (piVersion === null) return COLD("pi-version-changed");

Every run.resume cold-started while reporting success. The failure had no visible symptom: the version stamp written alongside each transcript was correct the whole time, so the sidecar on disk always held the right value and the run record showed a completed job. Only the comparison never happened.

The defect predates 1.10.0. If you use run.resume, upgrade; if you do not, nothing here affects you.

It survived because a test pinned it, asserting the replaced argument shape as correct. That assertion now checks each key it cares about, and a new test drives the wrapper directly and fails on the old one.

@edgehero/pi-dispatch-admin stays at 1.10.0 and the receiver at 1.5.0. Neither changed.