-
Notifications
You must be signed in to change notification settings - Fork 0
chore(renovate): onboard to shared Renovate preset #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
| "extends": ["local>EduIDE/.github:renovate-config"], | ||
| "postUpdateOptions": ["helmUpdateSubChartArchives"], | ||
| "packageRules": [ | ||
| { | ||
| "description": "chart/values.yaml leaves image.tag empty on purpose - the tag defaults to the chart version at release time, so there is nothing for Renovate to update.", | ||
| "matchManagers": ["helm-values"], | ||
| "matchPackageNames": ["ghcr.io/eduide/eduide-shared-cache/gradle-cache"], | ||
| "enabled": false | ||
| }, | ||
| { | ||
| "description": "Vendored subchart archives are regenerated by helm dependency update, not managed directly.", | ||
| "matchFileNames": ["chart/charts/**"], | ||
| "enabled": false | ||
| } | ||
| ] | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: EduIDE/EduIDE-shared-cache
Length of output: 1449
🌐 Web query:
Renovate local preset syntax local> platform local presets cannot be resolved visitedPresets.merged💡 Result:
The error involving
visitedPresets.mergedis a general internal tracking mechanism within Renovate's preset resolution engine [1], which is often exposed when Renovate encounters a critical failure while trying to resolve a configuration preset [2][3]. When combined with the message thatlocal>presets "cannot be resolved," it almost always indicates a context mismatch where Renovate is running in an environment that lacks access to the platform-specific API needed to fetch the preset [4][5][3]. Common Causes and Solutions: 1. Running with --platform=local If you are running Renovate locally (e.g., usingrenovate --platform=localor in a CI environment that defaults to local mode), Renovate cannot resolvelocal>presets because it does not have a "platform" context (such as GitHub, GitLab, or Bitbucket) to perform API calls [4][2]. - Solution: You must either provide the necessary environment variables (likePLATFORM,ENDPOINT, andTOKEN) so Renovate can identify the host platform [5], or if you only need to validate config, use a tool specifically designed to handle local preset resolution [2]. 2. Missing Platform Credentials If you are running in a CI environment that is intended to communicate with a remote repository, the runner may lack the required authentication to access the repository hosting thelocal>preset [6][3]. - Solution: Ensure the Renovate instance is configured with a valid platform token that has permissions to access the private repository containing the preset [6]. 3. Misconfigured Preset Path Verify that thelocal>preset string follows the required syntax [7]. The standard format islocal>owner/repositoryorlocal>owner/repository//path/to/preset. If you are using a tag, it should be appended with#(e.g.,local>owner/repo#tag) [7]. If the path is not correctly formatted, Renovate will fail to locate the file, triggering a resolution error [7][3]. If you are performing configuration validation (e.g.,renovate-config-validator) and hitting this error, it is a known limitation when the validator is run in an environment that cannot resolve the remote repository hosting the preset [3]. In this case, you may need to mock the environment or bypass the preset check during local validation [2].Citations:
🏁 Script executed:
Repository: EduIDE/EduIDE-shared-cache
Length of output: 510
🏁 Script executed:
Repository: EduIDE/EduIDE-shared-cache
Length of output: 933
🏁 Script executed:
Repository: EduIDE/EduIDE-shared-cache
Length of output: 12051
Merge
EduIDE/.github#4before this change.The target
mainbranch does not containrenovate-config.json, solocal>EduIDE/.github:renovate-configcan fail to resolve until pull request#4merges. Then run Renovate on the target platform and confirm the preset appears invisitedPresets.merged. Do not use--platform=local.🤖 Prompt for AI Agents
Source: MCP tools