From 38cce095d4f51833163c7cb39a2af7c385aa302e Mon Sep 17 00:00:00 2001 From: Derek Mackley Date: Wed, 4 Nov 2026 18:57:49 -0600 Subject: [PATCH 1/4] ci(renovate): run on the in-cluster ARC runner in an isolated job container runs-on dapper-cluster-runner with container: ghcr.io/renovatebot/renovate (digest-pinned). In ARC kubernetes mode a job container runs as its own pod, so Renovate never shares the runner pod's Talos os:admin mount; the job pod gets the namespace default ServiceAccount (no RBAC). - drop renovatebot/github-action (needs docker, which kube-mode runners don't have) and the unused checkout; run the renovate binary directly - pin the image by digest instead of renovate-version: latest - RENOVATE_BASE_DIR=/tmp/renovate (job workdir is owned by the runner uid) --- .github/workflows/renovate.yaml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index e1282680e5..bfb5350ab2 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -23,10 +23,6 @@ on: description: Log Level default: debug required: false - version: - description: Renovate version - default: latest - required: false concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.ref }} @@ -38,7 +34,14 @@ permissions: jobs: main: name: Renovate - runs-on: ubuntu-latest + # In-cluster ARC runner. The `container:` below matters: in ARC kubernetes + # mode it makes the runner launch a SEPARATE job pod for these steps, so + # Renovate never runs inside the runner pod (which mounts the Talos + # os:admin secret for pre-pull-images). The job pod uses the namespace's + # default ServiceAccount, which has no RBAC. + runs-on: dapper-cluster-runner + container: + image: ghcr.io/renovatebot/renovate:44.216.1@sha256:5b22aef2bf23e861a9eea10db05392122f49aa43ec298d3a5ea207cf374d08ec permissions: contents: read packages: read @@ -57,22 +60,17 @@ jobs: permission-statuses: write permission-workflows: write - - name: Checkout - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - token: "${{ steps.app-token.outputs.token }}" - + # No checkout: Renovate clones the repo itself. The image is pinned by + # digest (Renovate bumps it) instead of the old `renovate-version: latest`. - name: Run Renovate - uses: renovatebot/github-action@1c0cf989c02653fba0efe7ca5772338860ca71dc # v46.3.12 env: LOG_LEVEL: "${{ inputs.logLevel || 'debug' }}" RENOVATE_AUTODISCOVER: true RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}" + RENOVATE_BASE_DIR: /tmp/renovate RENOVATE_DRY_RUN: "${{ inputs.dryRun }}" RENOVATE_INTERNAL_CHECKS_FILTER: strict RENOVATE_PLATFORM: github RENOVATE_PLATFORM_COMMIT: true - with: - token: "${{ steps.app-token.outputs.token }}" - renovate-version: "${{ inputs.version || 'latest' }}" + RENOVATE_TOKEN: "${{ steps.app-token.outputs.token }}" + run: renovate From 21824da525a7cc30cd0e75974c15a71ba42d5c13 Mon Sep 17 00:00:00 2001 From: Derek Mackley Date: Wed, 4 Nov 2026 19:08:33 -0600 Subject: [PATCH 2/4] ci(renovate): target the unprivileged runner set --- .github/workflows/renovate.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index bfb5350ab2..0f4bb8652d 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -34,12 +34,12 @@ permissions: jobs: main: name: Renovate - # In-cluster ARC runner. The `container:` below matters: in ARC kubernetes - # mode it makes the runner launch a SEPARATE job pod for these steps, so - # Renovate never runs inside the runner pod (which mounts the Talos - # os:admin secret for pre-pull-images). The job pod uses the namespace's - # default ServiceAccount, which has no RBAC. - runs-on: dapper-cluster-runner + # In-cluster, UNPRIVILEGED ARC runner set (no Talos mount, namespaced RBAC + # only). `container:` makes kube-mode run the steps in a separate job pod; + # the runner set's hook template runs it as the runner uid with no + # ServiceAccount token. See + # kubernetes/apps/actions-runner-system/actions-runner-controller/runners/dapper-cluster-unprivileged/ + runs-on: dapper-cluster-unprivileged container: image: ghcr.io/renovatebot/renovate:44.216.1@sha256:5b22aef2bf23e861a9eea10db05392122f49aa43ec298d3a5ea207cf374d08ec permissions: From ddabe74794fd3bb505bc60c75144a0e90a33b301 Mon Sep 17 00:00:00 2001 From: Derek Mackley Date: Wed, 4 Nov 2026 19:16:58 -0600 Subject: [PATCH 3/4] fix(renovate): never automerge EMQX /emqx/ was in the standard-apps automerge list, so once Renovate ran reliably it was about to merge #4072 (emqx 6.2.3) - the same patch bump that wedged the broker for 8 days in August (#4070). The operator can't roll even patch bumps; EMQX carries all Zigbee/HA control traffic. Move EMQX (broker + operator) to the deny block. --- .renovate/autoMerge.json5 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.renovate/autoMerge.json5 b/.renovate/autoMerge.json5 index 853bc47599..269d97c9f9 100644 --- a/.renovate/autoMerge.json5 +++ b/.renovate/autoMerge.json5 @@ -109,7 +109,6 @@ // Database "/cloudnative-pg/", "/dragonfly/", - "/emqx/", ], minimumReleaseAge: "12 hours", ignoreTests: false, @@ -251,6 +250,14 @@ matchPackageNames: ["/dapperdivers/"], automerge: false, }, + { + description: "Disable automerge for EMQX (broker + operator)", + // The emqx-operator can't roll even patch bumps: 6.2.3 wedged the broker + // for 8 days (rolled back in #4070; #4072 closed). EMQX carries all + // Zigbee/HA control traffic, so every bump is a watched, manual merge. + matchPackageNames: ["/emqx/"], + automerge: false, + }, { description: "Disable automerge for the CNPG Postgres image", // A bump rolls every instance of the shared database cluster (switchover From 1a8c5b4a8c15b67be75b3b7a3b1183759a429aab Mon Sep 17 00:00:00 2001 From: Derek Mackley Date: Wed, 4 Nov 2026 19:21:13 -0600 Subject: [PATCH 4/4] ci(renovate): persist clone + caches on the runner set's /cache volume --- .github/workflows/renovate.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index 0f4bb8652d..789b4f5865 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -67,7 +67,12 @@ jobs: LOG_LEVEL: "${{ inputs.logLevel || 'debug' }}" RENOVATE_AUTODISCOVER: true RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}" - RENOVATE_BASE_DIR: /tmp/renovate + # Persistent /cache volume (runner-set hook template): keep the clone, + # repository cache, package cache and downloaded tools between runs so + # only deltas cross the WAN. Cold runs were ~2.5x slower than GitHub. + RENOVATE_BASE_DIR: /cache/renovate + RENOVATE_PERSIST_REPO_DATA: true + RENOVATE_REPOSITORY_CACHE: enabled RENOVATE_DRY_RUN: "${{ inputs.dryRun }}" RENOVATE_INTERNAL_CHECKS_FILTER: strict RENOVATE_PLATFORM: github