Sergei Zharinov
000c2f936b
feat(github): Make PR cache sync max pages configurable ( #41493 )
2026-02-26 15:29:14 +00:00
Johannes Feichtner
3eb6f5a31b
feat(vulnerabilities): add support for github-actions vulnerability alerts ( #40175 )
...
* feat(vulnerabilities): add support for github-actions vulnerability alerts
* fix failed merge from main
* now for real
* review comments
* remove no longer needed assertion
2026-02-26 08:11:14 +00:00
Jamie Tanna
7a75ea87d2
chore(github): instrument the getPrCache method ( #41490 )
...
As part of efforts to improve the performance of the `getPrCache`
function, we can add additional instrumentation to understand the time
taken.
This adds additional insight through our instrumentation functions, for
those using OpenTelemetry, as well as a `durationMs` for our logs.
2026-02-25 22:09:35 +00:00
Sergei Zharinov
2fb68b9a20
fix(github): prevent PR cache sync from exhausting all pages ( #41462 )
...
* fix(github): prevent PR cache sync from exhausting all pages
* refactor(github): derive cutoff from cached items, simplify reconcile
- When lastModified is missing but items exist (via updateItem()),
derive cutoff from max(item.updated_at) instead of falling back
to reconcile's return value. Eliminates the fallback branch.
- reconcile() now called purely for side effects; return value ignored.
- MAX_SYNC_PAGES guard checks needNextPageSync (not needNextPageFetch)
to avoid spurious warning when cutoff already stopped the loop.
- Add test for mixed pages (Renovate + non-Renovate PRs interleaved).
- Update derived-cutoff test for caches without lastModified.
* fix(github): advance PR cache watermark from unfiltered page
* fix(github): add comment clarifying MAX_SYNC_PAGES is a safety net
2026-02-25 10:16:52 +00:00
Jamie Tanna
2eb1e1e706
chore(platforms): correct typo in "up-to-date" ( #41460 )
2026-02-24 16:13:17 +00:00
renovate[bot]
e752a3db29
build(deps): update dependency got to v14 (main) ( #41302 )
...
* build(deps): update dependency got to v14
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| npm | got | 12.6.1 | 14.6.6 |
* test: fix tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2026-02-19 17:50:48 +00:00
Michael Kriese
912c623d60
test: full coverage for platforms ( #41318 )
...
chore: full coverage for platforms
2026-02-19 11:05:15 +00:00
renovate[bot]
4a2578d18d
build(deps): update dependency zod to v4 (main) ( #41225 )
...
* build(deps): update dependency zod to v4
| datasource | package | from | to |
| ---------- | ------- | ------- | ----- |
| npm | zod | 3.25.76 | 4.3.6 |
* fix: zod migration
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2026-02-18 07:37:50 +00:00
Jamie Tanna
bad0211f30
chore(github): warn when using default Git author on GitHub.com ( #41055 )
...
As part of #39309 we enabled "Vigilant Mode" for the `@renovate-bot`
author.
To give an indication to folks who are self-hosting (on GitHub.com) and
using this Git commit author, we can provide a log message to let them
know.
This does not at all stop usage of this default committer email address,
but does provide a "nudge" to folks that they may see `Unverified`
commits pop up.
2026-02-12 11:42:08 +00:00
Sergei Zharinov
9d857c1f68
refactor(lint): Organize imports with biome ( #40966 )
2026-02-06 13:40:01 +00:00
RahulGautamSingh
e958373dbf
chore: replace URL.parse ( #40703 )
...
* replace URL.parse
* fix test
* fix import extensions
* coverage
* add tests
---------
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io >
2026-01-27 16:19:02 +00:00
Sergei Zharinov
c5b0a74f82
refactor: Remove constructor parameter properties ( #40712 )
2026-01-27 11:16:26 +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]
acacad57c6
chore(deps): update linters (main) ( #40277 )
...
* chore(deps): update linters
| datasource | package | from | to |
| ---------- | -------------------- | ------ | ------ |
| npm | eslint-plugin-oxlint | 1.36.0 | 1.38.0 |
| npm | typescript-eslint | 8.50.1 | 8.52.0 |
* chore: enable oxlint gha format
* chore: fix lint
* chore: fix lint
* chore: fix lint
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2026-01-14 15:32:48 +00:00
Adam Setch
330d175341
feat: caution attestation notice ( #40368 )
...
Signed-off-by: Adam Setch <adam.setch@outlook.com >
2026-01-11 08:03:51 +00:00
Shashi Kanth M
2809af341b
fix(github/vulnerabilityAlerts): don't error on unknown ecosystems ( #39417 )
...
fix(github-alerts): safely skip unsupported vulnerability ecosystems without parse failure
2025-12-16 10:10:08 +00:00
Michael Kriese
ad710ec6ea
fix(platform): endpoint is a global only option ( #39579 )
2025-11-27 10:12:16 +00:00
Michael Kriese
0af770947b
fix: ignorePrAuthor is a global repo config ( #39578 )
2025-11-27 09:05:15 +00:00
Michael Kriese
050ac8d23b
chore: better code coverage ( #39518 )
2025-11-25 15:01:54 +00:00
Jamie Tanna
b12f999d98
chore(github): "GraphQL" is one word ( #39239 )
2025-11-13 17:58:52 +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]
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
RahulGautamSingh
95ea2c9078
fix(branchPrefix): include base branch name iff multiple bases expected ( #35423 )
...
* use branchPrefix if multiple base branches expected
* fix test
* fix coverage
* apply suggestions
* apply suggestions
* use utility fn
* refactor tests
* fix test
* major overhaul: use baseBranches field internally
suggested by @secustor
* refactor: cleanup
* test: use better descriptions
* add tests
* fix logic
* fix test
* exclude unlisted versions when finding latestStable
---------
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-10-20 06:27:56 +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
Sergei Zharinov
d877999ea2
fix: Reopen autoclosed PRs with new title ( #38347 )
...
* refactor: Pass new title when reopening autoclosed PR
* Add title parameter to `tryReuseAutoclosedPr`
2025-10-02 19:55:45 +00:00
Sergei Zharinov
3ec515a7fb
fix(github): Force push fresh branch when reopening PR ( #38344 )
...
* fix: Use SHA of fresh branches when reopening PR
* Revert
* Add force push for differing local and PR commit SHAs
* Update GitHub PR reopening with local SHA
* Update GitHub platform PR reopening logic
* Fix
* Remove title-related changes, keep only force-push logic
2025-10-02 15:45:49 +00:00
vivodi
5f286f2a88
fix(github): skip non-fast-forward ruleset detection when rebaseWhen=auto ( #38306 )
...
According to the [GitHub Docs](https://docs.github.com/en/rest/repos/rules?apiVersion=2022-11-28#get-rules-for-a-branch ), the definition of the non_fast_forward ruleset is: “Prevent users with push access from force pushing to refs.”
Even if this ruleset is applied, a head branch that lags behind the base branch can still be merged normally. In other words, this ruleset has nothing to do with whether a rebase is required.
2025-10-01 15:17:05 +00:00
Sebastian Poxhofer
f6d2a86707
feat(github): consider rulesets strict checks for rebaseWhen=auto ( #38072 )
2025-09-21 06:22:21 +00:00
Sebastian Poxhofer
fcfdbd8405
refactor(github): improve branch protection handling and add tests fo… ( #37922 )
...
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
2025-09-13 05:41:15 +00:00
Michael Kriese
7ac5c93070
fix(platform): open or update issue correctly ( #37831 )
2025-09-04 10:29:04 +00:00
Michael Kriese
798b7c7ab5
fix: use shared email type ( #37512 )
2025-08-14 13:34:03 +00:00
Michael Kriese
3211d56e21
refactor(zod): rename schema to match our best practices guide ( #37499 )
2025-08-14 10:35:03 +00:00
Jarek Porzucek
6196ae10db
fix(github): Enable pagination when fetching Dependabot alerts ( #37395 )
2025-08-12 13:26:25 +00:00
Rhys Arkins
427f78248a
fix(platform/github): reduce max body length to 58k ( #37236 )
2025-07-31 11:08:02 +00:00
Michael Kriese
7a23c50612
fix(github): reduce max body length ( #37228 )
2025-07-30 15:57:22 +00:00
Sergei Zharinov
0c25305f34
refactor(github): Refactor PR username parameter handling ( #37003 )
2025-07-16 10:19:09 +00:00
Sergei Zharinov
f9ab9d0c04
fix(github): Lower PR cache log level from debug to trace ( #36898 )
2025-07-08 15:13:50 +00:00
renovate[bot]
3c75ce63fa
chore(deps): update vitest monorepo to v3.2.4 (main) ( #36539 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-07-01 14:24:04 +00:00
Sergei Zharinov
70c181b2f9
feat(github): Add more debug logging for PR/issue cache ( #36545 )
2025-06-17 11:44:45 +00:00
Sergei Zharinov
22a8be3f96
fix(github): Make user GraphQL parameter optional ( #36547 )
2025-06-17 08:41:57 +00:00
Sergei Zharinov
847df6efdd
fix(github): Apply ignorePrAuthor during repo init issue prefetch ( #36542 )
2025-06-16 14:39:05 +00:00
renovate[bot]
98bd07d65f
build(deps): update remark (main) (major) ( #36455 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-06-15 07:10:47 +00:00
renovate[bot]
e47603cd0a
chore(deps): update vitest monorepo to v3.2.0 (main) ( #36396 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-06-10 11:28:39 +00:00
Sergei Zharinov
1aa2972bac
feat: Display abandoned packages ( #35868 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2025-05-25 14:32:04 +00:00
RahulGautamSingh
99411970a1
feat(git): Support baseBranches in fork mode ( #36054 )
...
Signed-off-by: Jan Høydahl <janhoy@users.noreply.github.com >
Signed-off-by: Jan Høydahl <jan.git@cominvent.com >
Co-authored-by: Jan Høydahl <janhoy@users.noreply.github.com >
Co-authored-by: Jan Høydahl <jan.git@cominvent.com >
Co-authored-by: Jan Høydahl <jh@cominvent.com >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-05-24 07:06:07 +00:00
Rhys Arkins
68b5193213
fix(git): Revert "feat(git): use git fetching for forkMode" ( #36045 )
2025-05-20 11:03:36 +00:00
RahulGautamSingh
4e12e52b49
feat(git): use git fetching for forkMode ( #36024 )
2025-05-19 15:05:48 +00:00
RahulGautamSingh
49fa1be464
feat(util): getEnv ( #35161 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-05-06 18:37:28 +00:00
Sergei Zharinov
db8dda2378
fix: Explicitly disable memCache when caching is switched on/off ( #35060 )
...
Co-authored-by: Felipe Santos <felipecassiors@gmail.com >
2025-03-30 08:02:36 +00:00
Sergei Zharinov
f977700649
feat(http): Switch to memory cache provider ( #33901 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-03-24 08:02:47 +00:00