Skip to content

build: 3. migrate dependency update and vulnerability task to Kotlin convention plugin - #897

Closed
altro3 wants to merge 3 commits into
kora-projects:masterfrom
altro3:buld-scripts3
Closed

altro3 wants to merge 3 commits into
kora-projects:masterfrom
altro3:buld-scripts3

Conversation

@altro3

@altro3 altro3 commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

!!! MERGE ONLY AFTER THESE:

#894
#895

[EN]

  • Replaced the legacy pluggable Groovy script with a modern Kotlin DSL convention plugin.
  • Parallelized network interactions via Java HttpClient sendAsync, resulting in a 10x performance boost (reduced execution time from ~50s down to ~3s).
  • Refactored and decomposed the monolith logic into dedicated classes (OsvVulnerabilityReportBuilder, VersionComparator, DependencyVersionFetcher), drastically improving readability and maintainability.
  • Enhanced debug visibility by adding descriptive logger.info messages for version filtering processes.
  • Retained 100% parity with the original core business logic for report generation and version boundary checking.

[RU]

build: миграция таски проверки зависимостей и уязвимостей на Kotlin плагин конвенций

  • Заменили старый подключаемый Groovy-скрипт на современный плагин конвенций на Kotlin DSL.
  • Перевели сетевое взаимодействие на асинхронные запросы (HttpClient sendAsync), что дало прирост производительности в 10 раз (время сборки упало с ~50 до ~3 секунд).
  • Декомпозировали монолитную логику на отдельные классы (билдер отчетов, компаратор версий, фетчер), значительно упростив читаемость и поддержку кода.
  • Добавили подробное логирование этапов фильтрации версий для удобства отладки.
  • Полностью сохранили оригинальную бизнес-логику построения отчетов и валидации диапазонов уязвимостей.

@github-actions

Copy link
Copy Markdown

Dependency Update Report

Update level: patch

Found 1 dependency updates.

gradle/libs.versions.toml

  • s3client-aws (software.amazon.awssdk:s3, inline:254): 2.55.5 -> 2.55.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant