发布

  • build(deps): bump org.redisson:redisson from 3.52.0 to 4.3.1 in /apps/opik-backend (#6201)

    frostbyte_neo 发布于 2026-04-17 09:35:01 +00:00

    • build(deps): bump org.redisson:redisson in /apps/opik-backend

    Bumps org.redisson:redisson from 3.52.0 to 4.3.1.


    updated-dependencies:

    • dependency-name: org.redisson:redisson
      dependency-version: 4.3.1
      dependency-type: direct:production
      update-type: version-update:semver-major
      ...

    Signed-off-by: dependabot[bot] support@github.com

    • fix(backend): adapt to Redisson 4.x API changes

    Migrate imports and API calls for Redisson 4.3.1 compatibility:

    • StreamMessageId, AutoClaimResult, PendingEntry moved from
      org.redisson.api to org.redisson.api.stream
    • PendingEntry.getLastTimeDelivered() renamed to getDeliveryCount()
    • RedisHealthCheck: use RedissonClient.getRedisNodes(RedisNodes.SINGLE)
      instead of removed RedissonReactiveClient.getNodesGroup()
    • Document RedisNodes.SINGLE topology coupling in health check

    Add configurable timeout to Redis health check:

    • Mirrors the ClickHouse health check pattern: the timeout is configured in RedisConfig, provided via @Named in RedisModule, and injected into RedisHealthCheck. Defaults to 1s, overridable via REDIS_HEALTH_CHECK_TIMEOUT.
    • Validate Redis health check timeout and sync test config: add @NotNull, @MinDuration(500ms), @MaxDuration(30s) to prevent misconfiguration. Propagate config comments to config-test.yml.

    Signed-off-by: dependabot[bot] support@github.com
    Co-authored-by: Andres Cruz andresc@comet.com

    下载附件