Repository navigation
Description
Problem
CI workflow steps fail Renovate pull requests when the update breaks no project code, so updates stall and security fixes cannot merge themselves (#6031). Seen on 2026-11-16:
Semantic PR titlerefuses achore(deps)title when the update touches files that the title check counts as runtime code (fix(deps): update helm charts (patch) #6046 needed a manual retitle tofix(deps); fix(deps): give a Helm chart update the fix prefix #6057 sets the prefix for Helm updates only).Service Image Testshangs intests/telemetry/test_sigterm_export.py(600 s timeout, fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048) and held the certifi security fix fix(deps): update certifi to v2026.10.23 #6028; Renovate merges only when every check passes.- The
k8srow ofdevops ci --check(Static Analysis) fails on gate checks that compare an image with a constant (chore(deps): update container images (patch) #6029).
Owner, 2026-11-16: "remove any tests or workflows that will block renovate updates". The owner rule of the same day for failing Renovate pull requests: fix with a Renovate configuration change where it removes the failure mode, else by hand.
Expected behavior
- Audit the check runs of each Renovate pull request since 2026-11-16 20:00Z (author
dan-petty-renovate[bot]) and list each failing workflow step with its cause. - For each step that fails with no break of project code: change the Renovate config where it removes the failure (for example a
semanticCommitTypeoffixfor each update that touches runtime files, so the title check and the release both stay correct), else remove the step or narrow its trigger so it does not run on such an update (the owner rule of 2026-10-20: a check that does not apply is not run there). - Fix or remove the hanging
test_sigterm_export(fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048), soService Image Testsends in normal time. - The tests and gate checks are test(k8s): Drop the tests that repeat third-party version pins #6060; this item covers the workflow files, the CI rows and the Renovate config.
- After the merge, a Renovate patch update of an image, a chart and a Python package each pass every check with no manual commit.
Related
- test(k8s): Drop the tests that repeat third-party version pins #6060, fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048, feat(deps): Merge each Renovate security fix after its checks #6031, chore(deps): update container images (patch) #6029, fix(deps): update helm charts (patch) #6046, chore(deps): update Helm release grafana to v14.4.2 #6055, fix(deps): give a Helm chart update the fix prefix #6057, feat(deps): track regular version updates with Renovate #4893.
Proposed design
Problem statement
Renovate pull requests stall because workflow steps fail on updates that break no project code: the title check rejects chore(deps) when an update touches a runtime file, Service Image Tests hangs, and the k8s row of devops ci --check fails on gate checks that compare an image with a constant. The change sets the Renovate fix(deps) prefix for runtime-file updates and skips the two non-applicable checks on the Renovate App's pull requests, so a Renovate patch update passes every check without a manual commit.
Acceptance criteria
Requirement: Renovate failure audit
The change SHALL record each failing workflow step and its cause for Renovate pull requests since 2026-11-16 20:00Z.
Scenario: Audit report is complete
- WHEN A test reads the
proposal.mdof the change folderopenspec/changes/6061-*. - THEN It lists each failing step, its pull request number, and its cause.
Requirement: Runtime updates use fix(deps)
The Renovate configuration SHALL set commitMessagePrefix to fix(deps): for each update that touches a runtime file under src/devops_cli/ that does not end in .md.
Scenario: Runtime package rule
- WHEN A test evaluates the package rules of
.github/renovate.jsonfor an update that touchessrc/devops_cli/tools_lock/tools.lock. - THEN The matched package rule sets
commitMessagePrefixtofix(deps):.
Requirement: Service Image Tests skip Renovate
The service-image-build and service-image-test jobs SHALL NOT run for a pull request authored by dan-petty-renovate[bot].
Scenario: Renovate pull request condition
- WHEN A test reads the
service-image-buildandservice-image-testjobs of.github/workflows/service-image-test.yml. - THEN Each job's
ifcondition containsgithub.event.pull_request.user.login != 'dan-petty-renovate[bot]'.
Requirement: k8s row skips Renovate
The Static Analysis quality-gate step SHALL add k8s to its --skip list for a pull request authored by dan-petty-renovate[bot].
Scenario: Row selection for Renovate
- WHEN A test reads the
Static Analysis Quality Gatestep of.github/workflows/ci.yml. - THEN The step's command adds
k8sto--skipwhengithub.event.pull_request.user.loginisdan-petty-renovate[bot].
Requirement: SDLC records the Renovate rules
The Automated Dependency Updates section of docs/SDLC.md SHALL name the fix(deps) prefix for runtime-file updates and the two checks that skip the Renovate App's pull requests.
Scenario: SDLC text matches the config
- WHEN A test reads the Automated Dependency Updates section of
docs/SDLC.md. - THEN It names the
fix(deps)prefix for a runtime file and the Service Image Tests and k8s row skips.
Requirement: Renovate re-run steps documented
The change SHALL document the post-merge steps to recreate the three closed Renovate pull requests.
Scenario: Re-run notes
- WHEN A test reads the
tasks.mdof the change folderopenspec/changes/6061-*. - THEN It names chore(deps): update container images (patch) #6029, chore(deps): update Helm release grafana to v14.4.2 #6055, chore(deps): update python dependencies (patch) #6047, the Dependency Dashboard tick, and the
kubectl -n devops create job --from=cronjob/renovatecommand.
Existing Tool Considered
Renovate, run as the self-hosted CronJob (docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:26, docs/CLUSTER.md:261), is the open-source, maintained tool that covers dependency updates and the commit prefix. It sets commitMessagePrefix per package rule, and .github/renovate.json:221 already uses fix(deps): for the Dockerfile. It does not cover the hanging telemetry test (tests/telemetry/test_sigterm_export.py:140) or the k8s gate checks that compare an image with a constant (tests/gate/k8s_checks/devops_runtime.py:73, tests/gate/k8s_checks/devops_runtime.py:84); those stay with #6048 and #6060. Its AGPL-3.0-only license is the narrow exception that CONTRIBUTING.md:24 and ADR 0027 accept. No alternatives check has run.
Key questions
- What should happen to a workflow step that fails on a Renovate update with no project-code break?: Change the Renovate configuration when that removes the failure. Otherwise remove the step or narrow its trigger so it does not run on that update. Do not add an escape or an exemption to make a check pass. (best practice) [sources: docs/SDLC.md:223, .github/workflows/fail-to-pass.yml:43]
- Chosen: Change the Renovate configuration first. The owner rule of 2026-11-16 puts the config change before the step change, and it keeps the check for every other pull request.
- Rejected: Remove or narrow the step first. The owner rule uses the step change only when the config change cannot remove the failure.
- Which checks are required on main?: ADR 0004, as amended by ADR 0014, requires
Static Analysis,Tests & CoverageandSemantic PR titleonmain.Service Image Testsis not a required check. [sources: docs/adr/0004-ci-is-the-authoritative-gate.md:29, tests/invariants/test_workflow_contracts.py:1765] - How should the title check accept Renovate updates that touch runtime files?: Set
commitMessagePrefixtofix(deps):for each Renovate update that touches a runtime file undersrc/devops_cli/that does not end in.md. Keep the title check unchanged. (best practice) [sources: .github/renovate.json:221, docs/adr/0012-releases-are-derived-by-release-please-from-trunk-and-milestones-are-planning-buckets.md:118, src/devops_cli/github/release_title.py:58, tests/core/test_renovate_config.py:258]- Chosen: Set commitMessagePrefix to fix(deps) for runtime-file updates. The repository records this prefix in ADR 0012:118 and tests it in tests/core/test_renovate_config.py:258, and the Dockerfile rule already uses it at .github/renovate.json:221.
- Rejected: Set semanticCommitType to fix. The issue names it as an example, but the config sets commitMessagePrefix globally at .github/renovate/base.json:15, and the project's recorded decision and tests use commitMessagePrefix. A second mechanism is untested here.
- Rejected: Change the title check to accept chore(deps). It weakens the required check for all pull requests and lets a hidden type ship runtime code.
- Rejected: Retitle each Renovate pull request by hand. It does not remove the failure mode.
- Which Renovate updates touch a runtime file?: A path under
src/devops_cli/that does not end in.md. Renovate's custom managers updatesrc/devops_cli/tools_lock/**,src/devops_cli/roadmap/runner_tools.pyandsrc/devops_cli/config/defaults.py, so those updates need thefix(deps)prefix. [sources: src/devops_cli/github/release_title.py:23, src/devops_cli/github/release_title.py:58, .github/renovate.json:22, .github/renovate.json:45, .github/renovate.json:80] - How should Service Image Tests stop blocking Renovate updates?: Skip the
service-image-buildandservice-image-testjobs on pull requests authored bydan-petty-renovate[bot], as the Fail-to-Pass Check already skips them. Leave the test hang to fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048 and the test change to test(k8s): Drop the tests that repeat third-party version pins #6060. (best practice) [sources: .github/workflows/fail-to-pass.yml:43, docs/SDLC.md:261, docs/adr/0004-ci-is-the-authoritative-gate.md:29]- Chosen: Skip the jobs on Renovate pull requests. The workflow is not a required check, the Fail-to-Pass Check already uses the same author skip, and the test fix belongs to fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048 and test(k8s): Drop the tests that repeat third-party version pins #6060.
- Rejected: Fix the hanging test in this item. The issue puts the tests and gate checks in test(k8s): Drop the tests that repeat third-party version pins #6060, and the hang is fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048.
- Rejected: Remove the test for all pull requests. It removes telemetry coverage for every pull request.
- How should the k8s row of devops ci --check avoid failing on Renovate updates?: Add
k8sto the--skiplist of the Static Analysis quality-gate step for pull requests authored bydan-petty-renovate[bot]. Leave the gate-check fix to test(k8s): Drop the tests that repeat third-party version pins #6060. (best practice) [sources: .github/workflows/ci.yml:92, docs/SDLC.md:223, docs/CLUSTER.md:220, docs/CLUSTER.md:247]- Chosen: Skip the k8s row on Renovate pull requests. The row fails on a documented image/constant comparison that a bot cannot complete, and the owner rule removes a step that does not apply to such an update; Static Analysis stays required.
- Rejected: Fix the gate check in this item. The tests and gate checks belong to test(k8s): Drop the tests that repeat third-party version pins #6060.
- Rejected: Remove the k8s row for all pull requests. It removes the row's manifest checks for every pull request.
- What is the post-merge Renovate re-run plan?: After fix(deps): give SearXNG its own Renovate branch behind approval #6052, fix(deps): give a Helm chart update the fix prefix #6057, test(k8s): Drop the tests that repeat third-party version pins #6060 and this item merge, tick chore(deps): update container images (patch) #6029, chore(deps): update Helm release grafana to v14.4.2 #6055 and chore(deps): update python dependencies (patch) #6047 in the Dependency Dashboard's Closed / ignored section, start
kubectl -n devops create job --from=cronjob/renovate renovate-manual-<HHMM>, and check that each recreated pull request passes every check with no manual commit. The Python patch needs thetyrule renames of commit 99ab44b on its branch. (best practice) [sources: docs/CLUSTER.md:265]- Chosen: Document the re-run plan in the change. The reply gives the exact steps and docs/CLUSTER.md:265 gives the job command.
- Rejected: Run the re-run inside this item. The re-run waits on a Renovate run after the merge.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 16, 2026
Security fixes such as the certifi update are stalled because CI checks fail without a code break, increasing exposure.Both target Renovate security fixes reaching main, but #6031 adds the auto-merge mechanism while this item removes the CI steps that block the merge.dan-petty commentedon Nov 16, 2026
Owner, 2026-11-16 ~23:00Z: closed the failing Renovate pull requests #6029 (container images patch), #6055 (grafana 14.4.2) and #6047 (python dependencies patch), and asks to re-run Renovate once the fixes are merged.
Re-run plan (an agent does it after these merge: the PR of owner decisions 1 and 2 (SearXNG gate, token-table versions), #6052, #6057, #6060 and this item):
kubectl -n devops create job --from=cronjob/renovate renovate-manual-<HHMM>, and check that each recreated pull request passes every check with no manual commit.tyrule renames of commit 99ab44b (invalid-return-typetoinvalid-explicit-return,call-non-callabletonot-callable) on its branch; they cannot go to main first, because the pinnedtydoes not know the new names.devops-cli-service commentedon Nov 16, 2026
Waiting for the alternatives check to run. The next refine round looks at the item again after the check records a verdict.
dan-petty commentedon Nov 16, 2026
Build direction (agent, 2026-11-16), where it differs from the refine design above:
test_sigterm_export; fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048 fixes it first, in its own pull request.k8srow stays on for Renovate. Its image and version comparisons go with fix(k8s): drop the pin checks of SearXNG and the chart tables #6069 and test(k8s): Drop the tests that repeat third-party version pins #6060. If the audit finds another failure that only a version bump causes, it goes to test(k8s): Drop the tests that repeat third-party version pins #6060.commitMessagePrefix: "fix(deps):"for each update that changes a runtime file, as in the refine design.actionlint) and gives the output in its body.dan-petty commentedon Nov 17, 2026
Re-run done (agent, 2026-11-17 01:45Z), after #6069, #6075 and #6081 merged:
fix(deps)title from ci(deps): Give each Renovate update of runtime code the fix prefix #6081 at the next Renovate run. Merged 01:18Z.patch-helm-charts(rate-limited, not ignored) andpatch-container-images. Manual runrenovate-manual-0142opened fix(deps): update Helm release grafana to v14.4.2 #6098 (grafana 14.4.2,fix(deps)) and chore(deps): update ghcr.io/renovatebot/renovate Docker tag to v44.239.2 #6097 (Renovate image v44.239.2). SearXNG updates now wait for approval on the dashboard (fix(deps): give SearXNG its own Renovate branch behind approval #6052): a person runsdevops k8s searxng-checkfirst.Next: check that #6097 and #6098 pass every check with no manual commit.