1bb2ba7f2b317d2d28cbea536935b333d4facdc3
Fix round 1 review findings on the patch run service: - advanceRun no longer runs every server's dispatch claim and failed-send reset on the caller's shared short context; each gets its own fresh patchCtx(), and a failed reset write is logged instead of discarded. - The dispatch claim (queued/waiting_offline -> patching) now also requires the run to still be status running with no cancelled_at, closing a race where a tick that loaded the run just before CancelPatchRun wrote cancelled_at could still dispatch. - RecordPatchResult's write is now guarded on command_id too, so a late result for a superseded command cannot land on a re-dispatched attempt.
Description
No description provided
9.7 MiB
Languages
JavaScript
63.9%
Go
19.3%
TypeScript
16.6%