Commit Graph

19 Commits

Author SHA1 Message Date
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 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +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
renovate[bot] b4ed9e65d9 chore(deps): update dependency @vitest/eslint-plugin to v1.3.23 (main) (#38702)
* chore(deps): update dependency @vitest/eslint-plugin to v1.3.23

| datasource | package               | from   | to     |
| ---------- | --------------------- | ------ | ------ |
| npm        | @vitest/eslint-plugin | 1.3.16 | 1.3.23 |

* remove now unnecessary exceptions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-10-31 07:50:48 +00:00
renovate[bot] 1280fe4dc7 chore(deps): update dependency @vitest/eslint-plugin to v1.3.16 (main) (#38502)
* chore(deps): update dependency @vitest/eslint-plugin to v1.3.16

| datasource | package               | from   | to     |
| ---------- | --------------------- | ------ | ------ |
| npm        | @vitest/eslint-plugin | 1.3.13 | 1.3.16 |

* fix linting errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2025-10-13 09:24:15 +00:00
RahulGautamSingh c477fb09e1 feat(datasource/custom): add toml support (#36136)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-06-29 09:08:39 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
Rhys Arkins da4ee8b874 feat(jsonata): validation, caching, better logging (#31832) 2024-10-08 09:11:15 +00:00
RahulGautamSingh 1405689cf8 fix(datasource/custom): better logging for jsonata errors (#31520) 2024-09-25 19:24:54 +00:00
Leonismoe 48e6aa4f84 feat(datasource/custom): expose tags in result so that we can use followTag (#29806) 2024-06-24 06:55:39 +00:00
Sebastian Poxhofer c9f8acfd1a feat(datasource/custom): remove content limiter for plain (#29549) 2024-06-11 20:47:53 +00:00
Alex Cortelyou e3675f104d feat(datasource/custom): Support digest in custom datasource (#28760)
Co-authored-by: Fabian Stehle <fabian.stehle-extern@moia.io>
Co-authored-by: Fabian Stehle <fabi@fstehle.de>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-05-01 07:41:05 +00:00
Aleksandr Mezin a8c83970ac feat(datasource/custom): expose newDigest in result (#26007) 2023-11-28 09:28:09 +00:00
Aleksandr Mezin 7611162834 feat(datasource/custom): add html format (#24403)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-11-28 07:39:22 +00:00
nSimon (Nicolas) f7b74c3f8b feat(datasource/custom): add ability for local registry (file://) (#25734) 2023-11-24 06:05:46 +00:00
nSimon (Nicolas) 53401eb36f feat(datasource/custom): allow to fetch from YAML data endpoint (#25695) 2023-11-13 11:01:56 +00:00
Asifur Rahman Arnab 37862b6c08 feat: add plain format type for customDatasources (#23563)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-08-03 14:20:36 +00:00
Sebastian Poxhofer f26d21fcc3 feat(datasource): implement custom datasource (#23147) 2023-07-10 18:22:35 +00:00