From 2c9221ef45dcdeffa8a62fa926635eafad861824 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 6 Dec 2026 17:35:28 +0000 Subject: [PATCH] ci(lint): give renovate-config room for a cold image pull Raise the renovate-config timeout to 15 minutes: after a self-bump the runner pulls the large -full image first. The comment on the validator step now says the clone credential is kept out of it, not the job token, which the runner may still pass to every step. The workflow rules note that renovate-config is the Lint job outside the ci image. Refs: #188 Assisted-by: Claude Code --- .gitea/workflows/AGENTS.md | 2 +- .gitea/workflows/lint.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/AGENTS.md b/.gitea/workflows/AGENTS.md index e9f33aa..22c2070 100644 --- a/.gitea/workflows/AGENTS.md +++ b/.gitea/workflows/AGENTS.md @@ -56,7 +56,7 @@ issue. ## Lint and Build - **Lint and Build run in the pinned `ci` image and compare the pin files with the checksums - baked into it (`/opt/ci-pins.sha256`).** A pull request that changes `requirements-dev.txt`, + baked into it (`/opt/ci-pins.sha256`)**, except Lint's `renovate-config` job (below). A pull request that changes `requirements-dev.txt`, `requirements-dev.lock`, `requirements.yml` or `.pre-commit-config.yaml` takes the slow path, which installs the pinned tools and collections. *Why:* a pull request is tested on its own pins, and an unchanged one starts in seconds. diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 1558af5..2ac301b 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -153,7 +153,8 @@ jobs: # renovate.yml's pin (test_the_renovate_image_pins_are_the_same); the ci image has no Node. renovate-config: runs-on: kamino-docker - timeout-minutes: 5 + # Ceiling only: it includes a cold pull of the large -full image after a bump. + timeout-minutes: 15 container: image: renovate/renovate:44.161.0-full@sha256:ddbf02e44b542343c9df696b88fd953f04cc3ee5f771221805ff8efb26595416 steps: @@ -173,7 +174,8 @@ jobs: git checkout "$SHA" || { git fetch origin "$REF" && git checkout "$SHA"; } echo "Checked out $(git rev-parse HEAD)" - # A step of its own, so the job token is not in the environment that reads renovate.json. + # A step of its own, so the clone credential (http.extraheader) is not in the environment + # that reads renovate.json. # --no-global: renovate.json is a repository config, not the bot's global one. - name: Validate renovate.json run: |