From 996ac343ee155a4b47d89a6bf1854feb1c04fdb2 Mon Sep 17 00:00:00 2001 From: limiting-factor Date: Fri, 3 Oct 2025 16:15:43 +0000 Subject: [PATCH] chore(cleanup): lxc-helpers does not need a global lock (#1047) - https://code.forgejo.org/forgejo/lxc-helpers/src/tag/v1.1.1 has locking and atomicity - this lock was only good for when two release templates are populated simultaneously and not when it was interrupted Refs forgejo/lxc-helpers#8 - other - [PR](https://code.forgejo.org/forgejo/runner/pulls/1047): WIP: chore(cleanup): lxc-helpers does not need a global lock Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/1047 Reviewed-by: earl-warren Co-authored-by: limiting-factor Co-committed-by: limiting-factor --- act/runner/run_context.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index 59fcf6f8..ff551322 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -193,8 +193,6 @@ var lxcHelpers string var startTemplate = template.Must(template.New("start").Parse(`#!/bin/bash -e -exec 5<>/tmp/forgejo-runner-lxc.lock ; flock --timeout 21600 5 - LXC_CONTAINER_CONFIG="{{.Config}}" LXC_CONTAINER_RELEASE="{{.Release}}"