Skip to content

Updated Renovate config to only update deps in the root of the project.#2277

Merged
AlexSkrypnyk merged 1 commit intomainfrom
feature/fix-renovate-root
Feb 16, 2026
Merged

Updated Renovate config to only update deps in the root of the project.#2277
AlexSkrypnyk merged 1 commit intomainfrom
feature/fix-renovate-root

Conversation

@AlexSkrypnyk
Copy link
Member

@AlexSkrypnyk AlexSkrypnyk commented Feb 16, 2026

Summary by CodeRabbit

  • Chores
    • Refined automated dependency management configuration to apply updates more precisely based on file types, improving targeting accuracy without changing enablement status.

@coderabbitai
Copy link

coderabbitai bot commented Feb 16, 2026

Walkthrough

Added matchFileNames constraints to Renovate package rules to scope automated dependency updates to specific files. Rules now target composer.json and .docker/** files, tightening the applicability of PHP and container image-related rule sets without changing enablement status.

Changes

Cohort / File(s) Summary
Renovate Configuration
renovate.json
Added matchFileNames constraints to multiple packageRules: composer.json rules now target composer.json, docker rules target .docker/** directory, and core/contrib minor/patch rules include file-specific scoping.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 Renovate's rules now wear their filters bright,
Matching files with care, left and right!
Composer here, Docker there so fine,
Each update knows precisely where to shine! ✨

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title describes adding matchFileNames constraints to limit Renovate rules to specific files, but frames it as 'only update deps in the root' which is partially accurate but doesn't capture the full scope of changes including container images and composer.json-specific rules.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/fix-renovate-root

Comment @coderabbitai help to get the list of available commands and usage tips.

@AlexSkrypnyk AlexSkrypnyk added this to the 1.36.0 milestone Feb 16, 2026
@AlexSkrypnyk AlexSkrypnyk moved this from BACKLOG to In progress in Vortex Feb 16, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@renovate.json`:
- Around line 94-98: The Container images group ("groupName": "Container
images") currently only matches ".docker/**" via the matchFileNames array, so
updates detected by the custom regex manager for the root docker-compose.yml are
excluded; update the matchFileNames array for the Container images rule to also
include "docker-compose.yml" (in addition to ".docker/**") so root
docker-compose file updates are grouped under "Container images" and inherit its
schedule and settings.

Comment on lines 94 to +98
"groupName": "Container images",
"groupSlug": "docker",
"matchFileNames": [
".docker/**"
],
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# First, let's check if renovate.json exists and read the relevant sections
cd "$(git rev-parse --show-toplevel)" 2>/dev/null || cd .
if [ -f renovate.json ]; then
  echo "=== renovate.json exists ==="
  wc -l renovate.json
  echo ""
  echo "=== Lines 90-105 (Container images rule) ==="
  sed -n '90,105p' renovate.json
  echo ""
  echo "=== Lines 120-130 (Custom regex manager) ==="
  sed -n '120,130p' renovate.json
else
  echo "renovate.json not found at root"
fi

Repository: drevops/vortex

Length of output: 1014


🏁 Script executed:

# Check for docker-compose files and Dockerfiles
fd -a -t f \( -name 'docker-compose.yml' -o -name 'docker-compose.yaml' -o -name 'Dockerfile*' \) | head -20

Repository: drevops/vortex

Length of output: 288


🏁 Script executed:

# Check for docker-compose files and Dockerfiles
find . -type f \( -name 'docker-compose.yml' -o -name 'docker-compose.yaml' -o -name 'Dockerfile' \) 2>/dev/null | grep -v '.git'

Repository: drevops/vortex

Length of output: 1453


🏁 Script executed:

# Let's also see the full Container images rule section to understand the complete logic
sed -n '94,110p' renovate.json

Repository: drevops/vortex

Length of output: 530


🏁 Script executed:

# Check what files are in the .docker directory
find ./.docker -type f 2>/dev/null | head -20

Repository: drevops/vortex

Length of output: 920


🏁 Script executed:

# Let's also view the complete custom manager section to understand the full picture
sed -n '119,132p' renovate.json

Repository: drevops/vortex

Length of output: 477


🏁 Script executed:

# Let's see if there are any images defined in the root docker-compose.yml that would be affected
head -50 ./docker-compose.yml

Repository: drevops/vortex

Length of output: 2565


🏁 Script executed:

# Let's also check if there are Dockerfiles in .docker that define container images
head -20 ./.docker/cli.dockerfile

Repository: drevops/vortex

Length of output: 657


Root docker-compose.yml updates won't be grouped under "Container images" due to matchFileNames filter.

The Container images rule (lines 94-110) restricts grouping to .docker/** files, but the custom regex manager at lines 119-132 targets the root docker-compose.yml. This mismatch means image updates from docker-compose.yml will bypass the "Container images" group and its "before 3am" schedule, despite the custom regex manager being explicitly designed to extract them.

Add docker-compose.yml to the matchFileNames array to ensure consistency:

✅ Suggested fix
         "matchFileNames": [
-            ".docker/**"
+            ".docker/**",
+            "docker-compose.yml"
         ],
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"groupName": "Container images",
"groupSlug": "docker",
"matchFileNames": [
".docker/**"
],
"groupName": "Container images",
"groupSlug": "docker",
"matchFileNames": [
".docker/**",
"docker-compose.yml"
],
🤖 Prompt for AI Agents
In `@renovate.json` around lines 94 - 98, The Container images group ("groupName":
"Container images") currently only matches ".docker/**" via the matchFileNames
array, so updates detected by the custom regex manager for the root
docker-compose.yml are excluded; update the matchFileNames array for the
Container images rule to also include "docker-compose.yml" (in addition to
".docker/**") so root docker-compose file updates are grouped under "Container
images" and inherit its schedule and settings.

@github-actions
Copy link

Code Coverage Report:
  2026-02-16 01:45:26

 Summary:
  Classes:  0.00% (0/1)
  Methods:  0.00% (0/2)
  Lines:   94.12% (176/187)

@AlexSkrypnyk
Copy link
Member Author

Code Coverage Report:
  2026-02-16 01:45:32

 Summary:
  Classes:  0.00% (0/1)
  Methods:  0.00% (0/2)
  Lines:   94.12% (176/187)

@AlexSkrypnyk
Copy link
Member Author

Code Coverage Report:
  2026-02-16 01:48:43

 Summary:
  Classes:  0.00% (0/1)
  Methods:  0.00% (0/2)
  Lines:   94.12% (176/187)

@AlexSkrypnyk
Copy link
Member Author

Code Coverage Report:
  2026-02-16 01:48:46

 Summary:
  Classes:  0.00% (0/1)
  Methods:  0.00% (0/2)
  Lines:   94.12% (176/187)

@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.44%. Comparing base (5a7c9de) to head (6dcb23d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2277      +/-   ##
==========================================
- Coverage   77.05%   76.44%   -0.61%     
==========================================
  Files         114      107       -7     
  Lines        5988     5829     -159     
  Branches       44        0      -44     
==========================================
- Hits         4614     4456     -158     
+ Misses       1374     1373       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AlexSkrypnyk AlexSkrypnyk merged commit ea8d3a0 into main Feb 16, 2026
39 of 42 checks passed
@AlexSkrypnyk AlexSkrypnyk deleted the feature/fix-renovate-root branch February 16, 2026 03:17
@github-project-automation github-project-automation bot moved this from In progress to Release queue in Vortex Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Release queue

Development

Successfully merging this pull request may close these issues.

1 participant