Skip to content

chore(deps): extend the shared Renovate preset of infra #13

Closed

Description

@dan-petty

Problem

Checked on 2026-11-22.

Proposed remedy

  • Change the entry of extends to github>dan-petty/infra//renovate/base.

Acceptance criteria

  • .github/renovate.json extends github>dan-petty/infra//renovate/base and no preset of dan-petty/devops-cli.
  • npx --yes --package renovate -- renovate-config-validator --strict --no-global .github/renovate.json exits 0.

Person steps

None.

Dependencies

None.

Proposed design

Problem statement

The shared Renovate preset moved from dan-petty/devops-cli to dan-petty/infra. .github/renovate.json still extends the devops-cli forward, and dan-petty/devops-cli#6677 deletes that forward. The change points the extends entry to the infra preset, keeps the rule for the dev container image, and corrects the guide text that names the old preset.

Acceptance criteria

Requirement: Infra preset replaces the devops-cli forward

The extends list of .github/renovate.json SHALL hold github>dan-petty/infra//renovate/base and SHALL hold no preset of dan-petty/devops-cli.

Scenario: Extends list names only the infra preset

  • WHEN the maintainer runs jq -e '(.extends | index("github>dan-petty/infra//renovate/base")) != null and ([.extends[] | select(contains("dan-petty/devops-cli"))] | length) == 0' .github/renovate.json
  • THEN the command exits 0 and prints true.

Requirement: Strict Renovate validation passes

The changed .github/renovate.json MUST pass the strict Renovate config validator.

Scenario: Strict validation exits 0

  • WHEN the maintainer runs npx --yes --package renovate -- renovate-config-validator --strict --no-global .github/renovate.json
  • THEN the command exits 0 and prints no error line about a preset or a schema rule.

Requirement: Contributor guide names the infra preset

CONTRIBUTING.md SHALL name dan-petty/infra as the source of the shared Renovate preset.

Scenario: Guide no longer points to the devops-cli preset

  • WHEN the maintainer runs grep -n 'renovate' CONTRIBUTING.md
  • THEN the output shows .github/renovate.json extending the shared preset of dan-petty/infra.

Existing Tool Considered

No alternatives check has run. This change writes no code: it edits one entry of an existing config file, so the cost to build, keep and fix code is zero tokens and zero time. The open, maintained tool that covers the need is Renovate itself, through renovate-config-validator in the npm package renovate. The validator resolves the extends chain and reports a missing or invalid preset. The validator lacks a check of the exact preset string, so the proposal adds a jq -e live check of the extends list.

Key questions

  • Which Renovate preset does .github/renovate.json extend at the commit under refine?: github>dan-petty/devops-cli//.github/renovate/base. That devops-cli file is now a forward to renovate/base.json of dan-petty/infra. [sources: .github/renovate.json:3, .github/renovate.json:4, CONTRIBUTING.md:90]
  • Which preset path replaces the devops-cli forward?: Use github>dan-petty/infra//renovate/base. The issue records the move of the preset in dan-petty/devops-cli#6676 (PR dan-petty/devops-cli#6738, merged). (best practice) [sources: .github/renovate.json:4, CONTRIBUTING.md:90]
    • Chosen: github>dan-petty/infra//renovate/base. The shared preset moved there, and dan-petty/devops-cli#6677 deletes the devops-cli forward.
    • Rejected: Keep github>dan-petty/devops-cli//.github/renovate/base. The forward is temporary. Its deletion breaks the config.
    • Rejected: Copy the preset rules into .github/renovate.json. It duplicates the shared preset and loses central updates.
  • Does the packageRules entry for ghcr.io/dan-petty/devops-cli/devcontainer stay?: Yes. The dev container image stays in the devops-cli registry and publishes several tags a day, so the Monday schedule stays. Only the preset source moves. (best practice) [sources: .github/renovate.json:9, .github/renovate.json:10, CONTRIBUTING.md:90]
    • Chosen: Keep the Monday schedule for the devops-cli image. The image still publishes several tags a day, so Renovate waits for Monday, also for a patch.
    • Rejected: Remove the packageRules entry. The image still publishes several tags a day, and Renovate would open a pull request for each tag.
  • Does the guide text need the same change?: Yes. CONTRIBUTING.md states that .github/renovate.json extends the shared preset of devops-cli. That sentence becomes false after the change, so it names dan-petty/infra instead. (best practice) [sources: CONTRIBUTING.md:90]
    • Chosen: Update the sentence in CONTRIBUTING.md. The sentence names the old preset source and would be stale.
    • Rejected: Leave CONTRIBUTING.md unchanged. The guide would point readers to a deleted forward.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/chore
    source/agent
    status/new
    value/low
    effort/low
    on Nov 22, 2026
  2. dan-petty commented on Nov 22, 2026

    @dan-petty
    OwnerAuthor
    • Scope: none. The title has the scope deps, and .github/labels.yml declares no scope/deps label. Add the label to the file to give the scope to this item.
    • Priority: P3-Low. This is a small configuration update with no blocker, deadline, or user-facing impact.
  3. added
    priority/p3-low
    on Nov 22, 2026
  4. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

  5. added
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 22, 2026
  6. removed
    status/in-review
    on Nov 22, 2026
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/lowpriority/p3-lowsource/agenttype/chorevalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions