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
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
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
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
RahulGautamSingh
987421b8ad
feat: add pristine in branchCache ( #18478 )
2022-11-20 07:10:25 +00:00
Rhys Arkins
c229652e9f
fix: Revert "refactor: move branch cache files to util/cache" ( #18667 )
2022-10-31 07:50:33 +02:00
RahulGautamSingh
f04a7c75ff
refactor: move branch cache files to util/cache ( #18646 )
2022-10-29 07:29:51 +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
72371cb778
feat: improve branch cache logic ( #17848 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-10-06 07:37:47 +03:00