Skip to content

feat(presets): log the resolved configuration (without internal presets) - #39314

Merged
jamietanna merged 1 commit into
mainfrom
feat/resolved-repo-config-no-presets
May 11, 2026
Merged

jamietanna merged 1 commit into
mainfrom
feat/resolved-repo-config-no-presets

Conversation

@jamietanna

@jamietanna jamietanna commented Nov 14, 2025 •

Copy link
Copy Markdown
Member

Changes

As noted in #15827, it would be useful to log the "shallow"
configuration for a given repository - that is, the resolved
configuration, but without any Renovate internal presets being included.

This will be very useful for debugging, as it shows the final resulting
configuration, but without the - often very - verbose internal presets.

In the case that only this log line is shared, we can make sure to
reference the version of the Renovate CLI in the log line.

This requires building on top of changes in
6a4fa3f to be able to return a merged
and unmerged list of presets, and uses helpers from
c8f42e8, and
66b84dd to process the internal presets
accordingly.

Since we first worked on this, we've worked on improvements to caching
which should provide a require no additional performance overhead
performing this resolution twice.

This can also lead to being able to understand more clearly how Renovate
configuration is being used0, as we have the final resolved configuration.

Other notes:

  • I've not validated what happens with environment config
  • This will be super useful for "Request Help" questions

Context

Please select one of the below:

  • This closes an existing Issue: Closes Log shallow config resolution #15827
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository:

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log shallow config resolution

3 participants