Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 0.8.7 — 2026-10-28

**Adopt the PostgreSQL lock-safety fix.** The SDK pins the official npm
`duroxide` 0.2.4 wrapper and all five native platform packages, adopting
[`duroxide-pg` 0.1.38](https://github.com/microsoft/duroxide-pg/pull/44).
This fixes deadlocks between renewal and fetch, acknowledge, or abandon;
prevents renewal from reviving an expired lease or shortening a live one;
and rejects acknowledge after another worker has taken over. The published
Linux binaries retain the GLIBC_2.34 floor. Native binary digest checks,
Azure Linux 3 coverage, Copilot pins, and orchestration versions are preserved.

**Database upgrade caution.** PostgreSQL connections apply migration `0026`,
which replaces the renewal and acknowledge procedures and adds a unique index
on `instance_locks(lock_token)`. The index is not built concurrently and blocks
writes to that table while it builds. Qualify database upgrade, mixed-version,
and rollback compatibility before deployment: an older native build can reject
an unknown migration, so an image rollback alone is not a proven database
rollback.

## 0.8.6 — 2026-10-26

**Restore Azure Linux 3 native compatibility.** The SDK pins the official npm
Expand Down
74 changes: 37 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pilotswarm",
"version": "0.8.6",
"version": "0.8.7",
"description": "PilotSwarm application package: terminal UI, browser portal + Web API server, and MCP server — one install, three bins.",
"type": "module",
"license": "MIT",
Expand Down Expand Up @@ -94,7 +94,7 @@
"jose": "^6.2.2",
"marked": "^16.4.2",
"mermaid": "^11.16.0",
"pilotswarm-sdk": "0.8.6",
"pilotswarm-sdk": "0.8.7",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"ws": "^8.18.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/horizon-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pilotswarm-horizon-store",
"version": "0.8.6",
"version": "0.8.7",
"type": "module",
"description": "HorizonDB-backed enhanced facts and graph providers for PilotSwarm.",
"main": "./dist/src/index.js",
Expand Down Expand Up @@ -34,14 +34,14 @@
"pg": "^8.13.1"
},
"peerDependencies": {
"pilotswarm-sdk": "0.8.6"
"pilotswarm-sdk": "0.8.7"
},
"devDependencies": {
"@github/copilot": "1.0.83",
"@github/copilot-sdk": "1.0.13",
"@types/node": "^24.0.0",
"@types/pg": "^8.11.10",
"pilotswarm-sdk": "0.8.6",
"pilotswarm-sdk": "0.8.7",
"typescript": "^5.6.0"
},
"engines": {
Expand Down
18 changes: 9 additions & 9 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pilotswarm-sdk",
"version": "0.8.6",
"version": "0.8.7",
"description": "A durable execution runtime for GitHub Copilot SDK agents. Crash recovery, durable timers, session dehydration, and multi-node scaling — powered by duroxide.",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -87,21 +87,21 @@
"@github/copilot": "1.0.83",
"@github/copilot-sdk": "1.0.13",
"@opentelemetry/api": "^1.9.0",
"duroxide": "0.2.3",
"duroxide": "0.2.4",
"eventsource-parser": "3.0.8",
"fflate": "^0.8.3",
"file-type": "^20.5.0",
"pg": "^8.18.0"
},
"optionalDependencies": {
"duroxide-darwin-arm64": "0.2.3",
"duroxide-darwin-x64": "0.2.3",
"duroxide-linux-arm64-gnu": "0.2.3",
"duroxide-linux-x64-gnu": "0.2.3",
"duroxide-windows-x64": "0.2.3"
"duroxide-darwin-arm64": "0.2.4",
"duroxide-darwin-x64": "0.2.4",
"duroxide-linux-arm64-gnu": "0.2.4",
"duroxide-linux-x64-gnu": "0.2.4",
"duroxide-windows-x64": "0.2.4"
},
"peerDependencies": {
"pilotswarm-horizon-store": "0.8.6"
"pilotswarm-horizon-store": "0.8.7"
},
"peerDependenciesMeta": {
"pilotswarm-horizon-store": {
Expand All @@ -111,7 +111,7 @@
"devDependencies": {
"@types/node": "^22.0.0",
"@types/pg": "^8.16.0",
"pilotswarm-horizon-store": "0.8.6",
"pilotswarm-horizon-store": "0.8.7",
"typescript": "^5.0.0",
"vitest": "^4.1.0"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/sdk/test/unit/duroxide-dependency.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
const manifest = JSON.parse(readFileSync(new URL("../../package.json", import.meta.url), "utf8"));
const lock = JSON.parse(readFileSync(new URL("../../../../package-lock.json", import.meta.url), "utf8"));
const version = "0.2.3";
const version = "0.2.4";
const assetUrl = name => `https://registry.npmjs.org/${name}/-/${name}-${version}.tgz`;
const platforms = {
"duroxide-darwin-arm64": { os: "darwin", cpu: "arm64" },
Expand All @@ -17,11 +17,11 @@ const platforms = {
"duroxide-windows-x64": { os: "win32", cpu: "x64" },
};
const nativeHashes = {
"duroxide-darwin-arm64": "d0037c0b7e5fe9280869720b17fd8c4e75aef3b2f4d42d21bf10e26b5bff23e1",
"duroxide-darwin-x64": "2ced3f00d4a737b2a7030ef9b8540f187d3273b6f80b1fd8232e434cd0814981",
"duroxide-linux-arm64-gnu": "3dfc2e4e093560ec715b466451fab06327de1619a72deffe821b4e328c221819",
"duroxide-linux-x64-gnu": "deb046bc6e7325a8ff37f4a117587d72a03886c3bb931a0bec2d96341c1652a0",
"duroxide-windows-x64": "79ee52bdd95b13c02aa33179f76d834820edbb0809ea30e443ba3743079a21be",
"duroxide-darwin-arm64": "e26fcc81d8da9bb82d6286a99251a002bffe0504ef50ec00b628848e76282b71",
"duroxide-darwin-x64": "278da3c6bea04cb414b7004276cfc078f6997dff8df761d296e4941e76dc531e",
"duroxide-linux-arm64-gnu": "b03b2b10a039a7a47a963fb3f4e311934d054741de3d63e6c12e9db36b3ab6e7",
"duroxide-linux-x64-gnu": "c6d78629d54870b89088a9b64c02449bbc0ba1fd3b0743f82d1631cc5aee95f0",
"duroxide-windows-x64": "e1c92554ec3df4dfb8cef10bbd768c032442dcd5a2a7eb9bf8cd30bb210c4368",
};

test("duroxide and every native platform pin the same official npm release", () => {
Expand Down
Loading