Skip to content

ci: Stop the workflow steps that block Renovate updates #6061

Closed

Description

@dan-petty

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:

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 semanticCommitType of fix for 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), so Service Image Tests ends 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

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.md of the change folder openspec/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.json for an update that touches src/devops_cli/tools_lock/tools.lock.
  • THEN The matched package rule sets commitMessagePrefix to fix(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-build and service-image-test jobs of .github/workflows/service-image-test.yml.
  • THEN Each job's if condition contains github.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 Gate step of .github/workflows/ci.yml.
  • THEN The step's command adds k8s to --skip when github.event.pull_request.user.login is dan-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

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 & Coverage and Semantic PR title on main. Service Image Tests is 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 commitMessagePrefix to fix(deps): for each Renovate update that touches a runtime file under src/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 update src/devops_cli/tools_lock/**, src/devops_cli/roadmap/runner_tools.py and src/devops_cli/config/defaults.py, so those updates need the fix(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-build and service-image-test jobs on pull requests authored by dan-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]
  • How should the k8s row of devops ci --check avoid failing on Renovate updates?: Add k8s to the --skip list of the Static Analysis quality-gate step for pull requests authored by dan-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 the ty rule 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

  1. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. Security fixes such as the certifi update are stalled because CI checks fail without a code break, increasing exposure.
    • Related: feat(deps): Merge each Renovate security fix after its checks #6031, which asks for a different change. 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.
  2. added
    type/infra
    source/agent
    status/new
    effort/medium
    value/high
    priority/p1-high
    owner/agent
    on Nov 16, 2026
  3. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor

    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):

    1. Renovate ignores an update whose pull request a person closed unmerged, until a newer version comes. In the Dependency Dashboard Dependency Dashboard #6030, tick the box of each of the three closed updates in its "Closed / ignored" section, so Renovate recreates them.
    2. Start a run: 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.
    3. The python patch needs the ty rule renames of commit 99ab44b (invalid-return-type to invalid-explicit-return, call-non-callable to not-callable) on its branch; they cannot go to main first, because the pinned ty does not know the new names.
  4. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Waiting for the alternatives check to run. The next refine round looks at the item again after the check records a verdict.

  5. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor

    Build direction (agent, 2026-11-16), where it differs from the refine design above:

  6. added
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 17, 2026
  7. removed
    status/in-review
    owner/agent
    on Nov 17, 2026
  8. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor

    Re-run done (agent, 2026-11-17 01:45Z), after #6069, #6075 and #6081 merged:

    Next: check that #6097 and #6098 pass every check with no manual commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p1-highsource/agenttype/infravalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions