Commit Graph

11 Commits

Author SHA1 Message Date
Adam Setch c387bc11e4 refactor(platform/utils/pr-body): treat truncation as an "Important" callout (#45645)
* refactor: pr body important note

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* refactor: pr body important note

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Merge branch 'main' into refactor/important-note

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-09-10 12:27:37 +00:00
Sebastian Poxhofer 9717259ffc refactor(oxlint): enable no-else-return and unicorn/no-lonely-if (#44553)
Enable no-else-return (with allowElseIf: false) and unicorn/no-lonely-if
as errors in .oxlintrc.json and fix all 131 pre-existing violations
(91 no-else-return, 40 unicorn/no-lonely-if) across 98 files.

The no-else-return violations were fixed with the oxlint autofix
(iterated to a fixpoint, plus two else-if chains that required
--fix-dangerously) followed by Prettier formatting. One comment dropped
by the autofix in lib/modules/manager/pub/artifacts.ts was restored
manually. The unicorn/no-lonely-if violations were merged by hand,
preserving comments and coverage-ignore hints.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 12:11:21 +00:00
Jamie Tanna b4d22867de chore(pr): make truncation notice more prominent (#42823)
When we truncate the PR body (due to platform limits) we should be
clearer as to where this was trimmed.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-04-27 12:33:08 +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
Adam Setch ec4c23e57d feat: emojify truncated notes (#40367)
* feat: emojify truncated notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify truncated notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify truncated notes

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify dashboard notices

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: emojify dashboard notices

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-01-11 09:34:14 +00:00
RahulGautamSingh 977db29d2f feat(platform/pr-body): add note if body is truncated (#39457)
* feat: add pr note if body truncated

* use debug log
2025-11-25 15:01:15 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Michael Kriese a9dc0625cf fix: better branch code coverage (#24270) 2023-09-06 11:26:22 +00:00
Michael Kriese 69e3f5117e fix: use re2 (#16044) 2022-06-20 12:52:22 +00:00
MaronHatoum f730ff5394 fix(platform/pr-body): refactor smartTruncate function (#14915)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-04 17:49:19 +02:00
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00