Skip to content

feat: group linter renovate updates#209

Merged
zeitlinger merged 1 commit intomainfrom
codex/weekly-linter-renovate-rule
Apr 23, 2026
Merged

feat: group linter renovate updates#209
zeitlinger merged 1 commit intomainfrom
codex/weekly-linter-renovate-rule

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

Summary

Groups flint-managed linter dependencies in the shared Renovate preset so they update only once per week.

The rule intentionally excludes runtime/toolchain entries such as node, go, rust, and dotnet, deriving that distinction from the registry metadata. The repo-local Renovate config is kept in sync with the published preset.

Validation

  • cargo test -q default_renovate_preset_covers_all_linter_tools_weekly
  • mise run lint:fix

Note: mise run lint:fix emitted a non-fatal warning about ~/.local/share/mise/.fake-asdf permissions, but completed successfully.

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger changed the title [codex] chore: group linter renovate updates chore: group linter renovate updates Apr 23, 2026
@zeitlinger zeitlinger changed the title chore: group linter renovate updates feat: group linter renovate updates Apr 23, 2026
@zeitlinger zeitlinger marked this pull request as ready for review April 23, 2026 08:43
@zeitlinger zeitlinger requested a review from a team as a code owner April 23, 2026 08:43
Copilot AI review requested due to automatic review settings April 23, 2026 08:43
@zeitlinger zeitlinger enabled auto-merge (squash) April 23, 2026 08:44
@zeitlinger zeitlinger merged commit c90910e into main Apr 23, 2026
17 of 18 checks passed
@zeitlinger zeitlinger deleted the codex/weekly-linter-renovate-rule branch April 23, 2026 08:45
@github-actions github-actions Bot mentioned this pull request Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the shared Renovate preset to group flint-managed linter/tooling dependencies into a single weekly update window, and adds a registry-level test to keep that preset in sync with the linter registry. It also mirrors the same grouping in the repo’s own Renovate config.

Changes:

  • Add a Rust test ensuring default.json contains a weekly “linters” package rule matching all non-toolchain registry checks that use external binaries.
  • Replace the old single-package weekly Renovate rule in default.json with a grouped weekly “linters” rule covering all flint-managed linter/tool dependencies.
  • Sync .github/renovate.json5 package rules with the updated shared preset grouping.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/registry/tests.rs Adds a guardrail test asserting the shared Renovate preset’s weekly “linters” rule stays consistent with the registry (excluding toolchains).
default.json Defines the new grouped weekly “linters” Renovate rule (and schedule) for flint-managed linter/tool dependencies.
.github/renovate.json5 Updates the repo-local Renovate config to use the same weekly “linters” grouping as the shared preset.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

zeitlinger pushed a commit that referenced this pull request Apr 23, 2026
### Added

- group linter renovate updates
([#209](#209))

### Fixed

- expand baseline guards for config and flint changes
([#215](#215))
- remove stale exclude_paths init placeholder
([#211](#211))
- baseline lint coverage changes
([#214](#214))
- align biome init and formatter ownership
([#205](#205))

### Other

- *(deps)* update dependency npm:renovate to v43.133.0
([#216](#216))
- *(deps)* update dependency npm:renovate to v43.132.2
([#212](#212))
- *(deps)* update taiki-e/install-action digest to 5f57d6c
([#204](#204))
- clarify that flint init works with existing mise.toml
([#208](#208))
- guard against overlapping fixer ownership
([#206](#206))

> [!IMPORTANT]
> Close and reopen this PR to trigger CI checks.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants