Sebastian Poxhofer
05e1271376
test: use expect().resolves instead of awaiting inside expect ( #45672 )
...
Enables the vitest/prefer-expect-resolves oxlint rule and applies its
autofix across the spec suite.
2026-09-04 10:40:46 +00:00
RahulGautamSingh
3b699b3698
feat: configure limiting security updates ( #45574 )
...
* configure limiting security updates
* separate security limit from other limits
* rename type
* fix coverage
* add comments
* add test
2026-09-03 06:08:37 +00:00
Sebastian Poxhofer
1e03699cd6
test: add linter for as LongCommitSha in test files ( #44681 )
...
* test: add linter for `as LongCommitSha` in test files
Adds a custom oxlint rule `renovate/prefer-fake-sha-in-specs` that flags
`as LongCommitSha` casts in spec files and suggests the deterministic
`fakeSha()` helper from `test/util` instead. Enabled at error level for
`**/*.spec.ts` and `test/**`; all 131 pre-existing casts across 22 spec
files replaced.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
* Update lib/modules/platform/bitbucket-server/index.spec.ts
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-20 10:08:09 +00:00
Sebastian Poxhofer
171a591d84
feat(git): validate commit shas ( #43988 )
...
* feat(git): validate length commit shas
* test: adapt test mocks
* chore: update import paths
* feat(git): make the validation more strict and support repositories using sha256
* test: add fakeSha function for deterministic git commit shas in tests
2026-06-15 06:36:57 +00:00
Felipe Santos
7ebba26236
feat: add commitHourlyLimit ( #36226 )
...
* feat: add `commitHourlyLimit`
Signed-off-by: Felipe Santos <felipe.santos@ericsson.com >
* Update docs/usage/configuration-options.md
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
* Remove date optionality
* Fix lint comment
* Fix coverage
* Restore contents of commit.spec.ts
* Use ! somewhere else too
* Change optional parameter to nullish
* Refactor `!` to use proper check
* Fix set-branch-commit.spec.ts lint
* Fix test coverage
* Apply suggestions from code review
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
* Split commit-limit-reached into two
* Fix review comments
* Use toUTC() where applicable
* Simplify another test to utc()
---------
Signed-off-by: Felipe Santos <felipe.santos@ericsson.com >
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2026-02-19 18:00:32 +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
RahulGautamSingh
76f911041a
refactor: use named exports ( #39196 )
...
* use named exports
* fix test
* add missing imnport
* fix prettier
2025-11-10 12:00:35 +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
Rhys Arkins
6528275f93
fix: do not reuse branch if cache fingerprint doesn't match ( #36616 )
2025-07-16 17:58:46 +00:00
RahulGautamSingh
3691ff90b2
feat(config): baseBranchPatterns ( #35579 )
2025-07-14 19:05:27 +00:00
RahulGautamSingh
80b7cdf1e0
refactor(util): move user env to util folder ( #35103 )
2025-04-02 10:27:27 +00:00
Michael Kriese
19c115c813
test: cleanup ( #34785 )
2025-03-13 17:52:09 +00:00
Michael Kriese
4f60a8b7fe
test: mock git globally ( #34783 )
2025-03-13 15:48:02 +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
RahulGautamSingh
03f2229604
feat(config): allow multiple branch/pr limits ( #32556 )
2025-01-21 07:59:07 +00:00
Sebastian Poxhofer
3681b2a945
chore: eslint to enforce for typed imports ( #30844 )
2024-08-19 13:15:27 +00:00
RahulGautamSingh
2194142f78
feat(config): support user configured env ( #27028 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2024-02-22 05:05:05 +00:00
Tom Vervoort
c82b9afb36
refactor: strongly type commit SHAs ( #25207 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2023-11-22 06:30:19 +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
RahulGautamSingh
932012fa20
refactor(test): fix getConfig imports ( #22819 )
2023-06-16 17:57:34 +00:00
Sergei Zharinov
d306bfa7d8
refactor: Rename branchFingerprint to commitFingerprint ( #22454 )
2023-05-27 14:29:04 +00:00
RahulGautamSingh
352c9db904
test: add new wrapper for partial ( #20618 )
2023-02-25 06:46:32 +00:00
Markus Schulz
dd6c8e5147
feat: Move some Git commands behind a PlatformScm interface ( #19327 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-22 08:18:53 +00:00
RahulGautamSingh
7ff4b53439
test: replace as with partial ( #20252 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-07 11:38:59 +00:00
RahulGautamSingh
8e4b5231f8
refactor: convert enums to unions ( #18900 )
2022-11-20 07:34:23 +00:00
RahulGautamSingh
987421b8ad
feat: add pristine in branchCache ( #18478 )
2022-11-20 07:10:25 +00:00
RahulGautamSingh
af3b2038f8
refactor: replace enums with union/object ( #18903 )
2022-11-14 20:55:38 +02:00
Rhys Arkins
79317dd436
fix: set branch fingerprint whenever updates are verified ( #18599 )
2022-10-27 08:33:36 +00:00
RahulGautamSingh
2e4eebe933
fix: reduce config fields used in branch fingerprint ( #18378 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-10-26 10:27:58 +00:00
RahulGautamSingh
3c7ca03b38
refactor: change conflict cache logic ( #17898 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-10-26 08:11:51 +02:00
RahulGautamSingh
d6d9ee719d
fix: make baseBranch type non-optional in BranchConfig ( #17920 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-10-10 08:38:31 +02:00
Rhys Arkins
dbc4d0b669
fix: exclude unstable data from cache fingerprints ( #18148 )
2022-10-06 15:39:15 +02:00
RahulGautamSingh
72371cb778
feat: improve branch cache logic ( #17848 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-10-06 07:37:47 +03:00
RahulGautamSingh
266b5e4798
fix: create branch cache before processing branch ( #17801 )
2022-09-20 09:43:14 +00:00
RahulGautamSingh
bf378a4637
feat: add fingerprint to old branches ( #17393 )
2022-08-25 05:30:06 +00:00
RahulGautamSingh
1a25ac6fc3
feat: use cached configHash to prevent branch updates ( #16661 )
2022-08-22 09:01:48 +00:00
Gabriel-Ladzaretti
9f837f226d
feat(lib/logger): add base branch metadata for multi-base repositories ( #17027 )
2022-08-12 08:19:31 +00:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
MaronHatoum
3e312fd641
feat: refactor dry-run option ( #14849 )
...
* feat : added dryRun new behavior + added more migration
* feat : revert extra space
* feat : revert extra code
* feat : added unit tests
* feat : added unit tests
* feat : removed extra tests + removed unnecessary condition
* feat: changes after CR
* feat: added dry run migration cli and env + unit tests
* Update lib/workers/global/config/parse/cli.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* feat: migration changes + added logs + added unit test
* feat: removed log msgs + change unit test
* feat: update
* feat: update
* Update lib/workers/global/config/parse/cli.ts
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-04-11 20:29:02 +00:00
Michael Kriese
89d7fdf781
Revert "feat: extend dryRun options to extract lookup full ( #14555 )" ( #14836 )
...
This reverts commit 39471b57ad .
2022-03-29 02:47:54 +02:00
MaronHatoum
39471b57ad
feat: extend dryRun options to extract lookup full ( #14555 )
2022-03-28 13:55:26 +02:00
Rhys Arkins
a61821bde8
refactor: repository worker ( #14489 )
...
Refactors branch and pr worker to be under repository worker.
2022-03-04 09:04:02 +01:00
Michael Kriese
7afc2b75d5
test: fix lint ( #12551 )
2021-11-08 13:16:58 +01:00
Maksim
7801ae7c16
feat(config): migrate requiredStatusChecks to ignoreTests ( #11355 )
...
* feat(config): migrate requiredStatusChecks to ignoreTests
* fix(config): restore order of props
* feat(config): add applyMigrations function
* feat(platform): check ignoreTests param in worker
* feat(config): rename getBranchStatus to resolveBranchStatus
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-09-12 15:23:18 +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
d680ff1e7c
fix(limits): Use PR hourly limits to calculate remaining branch count ( #10053 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-05-19 15:50:37 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers ( #9707 )
2021-04-26 16:15:03 +02:00
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning ( #9600 )
2021-04-18 17:27:41 +02:00