From d16e22cc58e451212964f593aa700727332dc6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Mon, 16 Nov 2026 19:29:51 +0100 Subject: [PATCH 1/2] docs: clarify shared execution locks --- packages/daemon/src/server/request-execution-scope.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/daemon/src/server/request-execution-scope.ts b/packages/daemon/src/server/request-execution-scope.ts index 87d0c98a44..3ac91886c7 100644 --- a/packages/daemon/src/server/request-execution-scope.ts +++ b/packages/daemon/src/server/request-execution-scope.ts @@ -840,12 +840,7 @@ function contextFromRequestFlags( }; } -/** - * The per-`LeaseRegistry` execution-lock map a request's session and device locks are taken from. - * Exported because the #2833 session-idle reaper expires sessions through this same map: an expiry - * that did not wait on the session's execution lock could tear down a session mid-command, and a - * second map would make that race invisible rather than impossible. - */ +/** The idle reaper shares these locks so expiry cannot tear down an active request. */ export function getLeaseRegistryExecutionLocks( leaseRegistry: LeaseRegistry, ): Map> { From 7fbdc88730924f7cabeff9b984876c8495aea068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Mon, 16 Nov 2026 19:30:30 +0100 Subject: [PATCH 2/2] test: provide artifact adapter working directory --- .../runtime/pre-dispatch-admission-hittability.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/command-runtime/src/commands/interaction/runtime/pre-dispatch-admission-hittability.test.ts b/packages/command-runtime/src/commands/interaction/runtime/pre-dispatch-admission-hittability.test.ts index 2348674d51..23db9c6260 100644 --- a/packages/command-runtime/src/commands/interaction/runtime/pre-dispatch-admission-hittability.test.ts +++ b/packages/command-runtime/src/commands/interaction/runtime/pre-dispatch-admission-hittability.test.ts @@ -46,7 +46,7 @@ function createPressDevice(verdict: TargetHittability | (() => Promise