From f86195d1561d4b188b41c29286c8863e25f63f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ersin=20KO=C3=87?= Date: Fri, 5 Jun 2026 20:34:42 +0300 Subject: [PATCH] chore(release): 0.7.1 Patch release shipping the post-0.7.0 fix: Fixed - JobQueueService no longer leaks unhandled promise rejections when a DB error occurs while finalizing (repo.complete/fail) or claiming (repo.claimJob) a job. executeJob is now non-rejecting and the fire-and-forget poll callsites go through a safePoll wrapper. Version bumped across all workspace packages + docs/ARCHITECTURE.md + start scripts. release:verify green (17239 gateway tests on clean re-run, typecheck/lint/build/audit all pass). Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 2 ++ docs/architecture.md | 2 +- package.json | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/gateway/package.json | 2 +- packages/ui/package.json | 2 +- start.ps1 | 2 +- start.sh | 2 +- 9 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39446b0e..e7b44807 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.7.1] - 2026-06-05 + ### Fixed - **Job-queue worker no longer leaks unhandled promise rejections on DB errors.** `JobQueueService` runs `executeJob` and `pollWorker` fire-and-forget from three callsites; only `pollAll` isolated rejections (via `allSettled`). A transient DB failure while finalizing a job (`repo.complete`/`repo.fail`) or claiming one (`repo.claimJob`) therefore surfaced as an unhandled rejection — a misleading "Unhandled Promise Rejection" log with no job context. `executeJob` now swallows + logs its own persistence errors (never rejects), and the immediate-start and per-job re-poll go through a `safePoll` wrapper that catches `pollWorker` rejections. The worker still frees the slot and re-polls in every case. diff --git a/docs/architecture.md b/docs/architecture.md index 5fd62d5e..c164e31b 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -1,6 +1,6 @@ # OwnPilot Architecture -**Version:** 0.7.0 +**Version:** 0.7.1 --- diff --git a/package.json b/package.json index a3a98cc0..af17729b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ownpilot-monorepo", - "version": "0.7.0", + "version": "0.7.1", "private": true, "description": "OwnPilot - Privacy-first personal AI assistant platform", "type": "module", diff --git a/packages/cli/package.json b/packages/cli/package.json index ff624517..318517ee 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@ownpilot/cli", - "version": "0.7.0", + "version": "0.7.1", "description": "CLI for OwnPilot", "type": "module", "bin": { diff --git a/packages/core/package.json b/packages/core/package.json index 157c221d..cdbb1c08 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@ownpilot/core", - "version": "0.7.0", + "version": "0.7.1", "description": "OwnPilot Core - Secure AI agent engine and tool framework", "type": "module", "sideEffects": false, diff --git a/packages/gateway/package.json b/packages/gateway/package.json index 95d7c1f4..047fe5be 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -1,6 +1,6 @@ { "name": "@ownpilot/gateway", - "version": "0.7.0", + "version": "0.7.1", "description": "HTTP API gateway for OwnPilot", "type": "module", "main": "./dist/index.js", diff --git a/packages/ui/package.json b/packages/ui/package.json index deaddb1a..9c92c591 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@ownpilot/ui", - "version": "0.7.0", + "version": "0.7.1", "description": "Web UI for OwnPilot", "type": "module", "private": true, diff --git a/start.ps1 b/start.ps1 index 793e03ff..81adeb55 100644 --- a/start.ps1 +++ b/start.ps1 @@ -68,7 +68,7 @@ Write-Host @" | | | \ \ /\ / / '_ \| |_) | | |/ _ \| __| | |_| |\ V V /| | | | __/| | | (_) | |_ \___/ \_/\_/ |_| |_|_| |_|_|\___/ \__| - Gateway v0.7.0 + Gateway v0.7.1 "@ -ForegroundColor Magenta diff --git a/start.sh b/start.sh index fbda1856..0f097b93 100644 --- a/start.sh +++ b/start.sh @@ -43,7 +43,7 @@ banner() { | | | \ \ /\ / / '_ \| |_) | | |/ _ \| __| | |_| |\ V V /| | | | __/| | | (_) | |_ \___/ \_/\_/ |_| |_|_| |_|_|\___/ \__| - Gateway v0.7.0 + Gateway v0.7.1 EOF echo -e "${NC}"