Commit Graph

9 Commits

Author SHA1 Message Date
Tiago Novo 7f71c26283 fix(datasource): use release-level registryUrl in postprocessRelease (#45096)
When a datasource uses the 'merge' registryStrategy (e.g. maven),
mergeRegistries() tags each release with the registryUrl of the repo
that actually reported it. postprocessRelease() ignored this and used
the first configured/default registryUrl instead, causing the Maven
datasource to probe the wrong repository for release verification.
If the artifact didn't exist in that first repo, the release was
wrongly rejected and no update was proposed, even though a valid
release existed in another configured repository.
2026-09-04 11:23:50 +00:00
Sebastian Poxhofer c41b46bac3 feat(logging): do not use dynamic fields in log messages with severity WARN or higher (#44560)
* ci(linter): add renovate/logger-static-message rule

Adds a custom oxlint rule that enforces a static msg component for
logger.warn/error/fatal calls (including logger.once variants) so the
messages can be grouped in metrics and error catching services, per
docs/development/best-practices.md. It also flags metadata properties
named 'error' that hold error-ish values, because the bunyan serializer
only handles the 'err' key.

The rule is enabled as an error for lib/ production code and disabled
for spec files. All 33 pre-existing violations are fixed by moving
interpolated values into the metadata object, making messages static,
and renaming 'error' metadata keys to 'err'. Affected log-message
assertions in co-located specs are updated accordingly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* ci: ignore validator output

* fixup new merged in log messages

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 06:53:37 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Sergei Zharinov 9fe58e3645 feat: Fetch currentVersionTimestamp via datasource postprocess (#35082) 2025-03-31 13:28:28 +00:00
Sergei Zharinov cb7c10bb9d fix: Handle extractVersion with release post-processing (#32540) 2024-11-16 10:32:33 +00:00
Sergei Zharinov b8835e4d0c fix: Avoid rejecting releases when extractVersion is used (#32376) 2024-11-07 20:09:19 +00:00
Sergei Zharinov a4bdc8b066 refactor: Restrict postprocessRelease method types (#31626) 2024-09-26 04:56:14 +00:00
Sergei Zharinov 5ce54a33d8 refactor: Create PostprocessReleaseResult type for postprocessRelease (#31622) 2024-09-25 20:28:20 +00:00
Sergei Zharinov fb2d53015e feat(datasource): Add postprocessRelease optional method (#31232) 2024-09-19 05:13:26 +00:00