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
Dave
83d64647b7
feat: add configValidationError option to log config validation errors as errors instead of warnings ( #39177 )
...
* feat: add configValidationError option to log config validation errors as errors instead of warnings
* Moved `configValidationError` docs to correct file.
2025-11-10 17:09:20 +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
Sebastian Poxhofer
3681b2a945
chore: eslint to enforce for typed imports ( #30844 )
2024-08-19 13:15:27 +00:00
Rhys Arkins
3bdd530ae5
feat: forkCreation ( #27686 )
2024-03-02 10:42:43 +00:00
Rhys Arkins
2caf0b304b
fix(github): skip forked repos when in fork mode ( #27684 )
2024-03-02 07:16:07 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Michael Kriese
84a97a62fa
test(perf): improve test speed ( #24323 )
2023-09-08 11:40:04 +00:00
Rhys Arkins
43fa615e05
fix: Revert "feat(github): forkOrgs, forkCreate ( #18770 )"
...
This reverts commit 2f77695ba5 .
2023-06-19 15:10:21 +02:00
Rhys Arkins
2f77695ba5
feat(github): forkOrgs, forkCreate ( #18770 )
...
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2023-06-19 03:29:32 +00:00
RahulGautamSingh
18c2850f20
refactor(test): use minimal config objects ( #22769 )
2023-06-15 04:33:56 +00:00
Gabriel-Ladzaretti
d88d63b4f9
feat(config-error): raise a warning issue for misconfigured matchConfidence ( #22296 )
...
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2023-05-18 17:02:13 +00:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule ( #11285 )
2021-08-18 05:46:56 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers ( #9707 )
2021-04-26 16:15:03 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage ( #9525 )
2021-04-13 10:25:51 +00:00
Rhys Arkins
fa9031f5e9
feat(internal): expand disabled error messages
...
Splits REPOSITORY_DISABLED into multiple
2021-02-11 13:32:29 +01:00
Rhys Arkins
7de273aa6b
fix(git): gracefully handle not a git repository failure
2020-10-12 10:36:49 +02:00
Rhys Arkins
926a553a76
fix: sanitize commitMessage, prTitle, branchName
...
In preparation for secrets PR
2020-07-03 16:52:16 +02:00
Rhys Arkins
031ad87b62
refactor: move ExternalHostError
2020-06-23 11:44:52 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError ( #6563 )
2020-06-22 21:28:02 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
Rhys Arkins
f97b194515
fix: gracefully catch and handle out of memory
2020-04-16 18:08:53 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 ( #5952 )
...
* chore(deps): update dependency prettier to v2
* Run prettier-fix
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Jamie Magee <jamie.magee@gmail.com >
2020-04-12 18:09:36 +02:00
Rhys Arkins
364163e7a0
fix: move tests into lib ( #5635 )
2020-03-05 21:57:24 +01:00