Repository navigation
pi-dispatch v5.5.1
Before you upgrade
5.5.1 is a patch number, but it brings a new triggers file version (15), a question record version (2) and new Valkey keys. 5.5.1 in the upgrading guide says which parts move together.
- Order. Upgrade in the normal order: the job image first, then every worker, then reinstall every receiver and the poller, then the console.
- Job image.
- Only this release's image offers a question's named choices (#1165) and keeps a resident's
/pagesand/inboxfolders out of what it reads as configuration (#1162, #1166). Build each resident's image again from it before you give its entrypages. - A subscription job with a role map needs an image of 5.4.3 or later: a worker of 5.5.1 refuses one on an older image before it spends (#1179).
- Only this release's image offers a question's named choices (#1165) and keeps a resident's
- Receiver. Reinstall every receiver after the workers: it reads the triggers file with the worker package's loader, so its range is
^5.5.1. - Version 15. A resident entry with
pages(#1162), or with more than four models (#1163), stamps the triggers file version 15. Add either only once every worker, receiver and console runs 5.5.1. - Console. Upgrade it with the worker for a resident's living page and questions, the calmer Residents pages and the model role edit preview's host checks (#1155). A console of 5.5.0 does not show a question with named choices or a resident's question.
- Questions last. Switch a resident's questions on (
"pages": {"questions": true}) only once its worker, the consoles and its image all run 5.5.1 (#1166). - Viewers. A viewer no longer reads a resident's purpose, in the console or in
/api/state(#1176).
What is new
- A resident's pages (#1162, #1164): a pages outlet, with HTML pages opened with scripts blocked, and a living page,
page.json, checked and published. See Residents. - A resident's questions (#1166): up to three on its living page, answered in the console into a read-only
/inbox. - Named choices (#1165): a question can offer choices, answered by a button or
/choose. - Six models on a resident (#1163): room for a decision pool.
- Calmer Residents pages (#1157, #1167, #1168): and one chip per resident on Overview.
Fixes
- The model role edit preview also names the jobs a host's job image or keys refuse (#1155).
- A durable run and a resident's segment settle or give back their dollar hold and its windows in one step (#1156).
- A resident's egress check says when it could not read the proxy (#1158).
- A usage read that lost a race with another write to its quota record no longer fails the job (#1172).
- A subscription job with a role map is refused on an older job image before it spends (#1179), and a subscription prepare that fails names its error's code in the worker log (#1180).
- In the console: an answer updates every question count at once (#1175), an agent refused a resident's page file is told what it asked for (#1177), and a page closes its live stream as it leaves (#1188).
- Doctor on a host where no worker runs yet says so, rather than telling it to upgrade older workers (#1184).
Changes
- chore(release): 5.5.1, a resident's pages, living page and questions, named choices, and six models
- docs(admin): every link on the admin README's npm page works (#1186)
- docs(readme): residents in the READMEs, and today's console pictures (#1183)
- fix(doctor): a host where no worker runs yet is told so, not to upgrade older workers (#1184)
- docs(design): SandboxGatewayStates draws "Shell no longer registered" (#1134)
- docs(console): Live updates names every live page and its read interval (#1178)
- fix(console): an agent refused a resident's page file is told what it asked for (#1177)
- fix(console): a resident's purpose is an operator's alone (#1176)
- fix(console): an answer drops the console's question reads, so every count agrees at once (#1175)
- fix(console): a page closes its live stream as it leaves, which the sandbox browser check met as 429
- refactor(budget): remove recordHold, so reserveHold is the one way a hold is recorded
- fix(subscription): a thrown prepare names its error's code in the retry message
- …and 15 more
Full changelog: v5.5.0...v5.5.1
Upgrading: https://github.com/edgehero/pi-dispatch/blob/v5.5.1/docs/upgrading.md