Skip to content
CAI
Software that uses CAICheck a score

svroonland/rezilience

56.3

Adequate · 7 November 2026

1.3k

lines of production code

Scala

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Configuration-driven resilience pattern construction

Users can now instantiate CircuitBreaker, Bulkhead, RateLimiter, Retry, and Timeout components directly from configuration data using the new \fromConfig\ extension methods on the respective companion objects. This change introduces a set of case classes (e.g., \CircuitBreakerConfig\, \RetryConfig\) and corresponding \zio.Config\ decoders that map structured configuration values to the runtime parameters of each resilience pattern, allowing for externalized and dynamic configuration without hardcoding parameters in application code.

rezilience-config/src/main · high confidence

Initial release of the Rezilience resilience library for ZIO

This change introduces the core resilience policies for ZIO applications, including Bulkhead (limiting concurrent calls), CircuitBreaker (protecting against overload with failure counting and rate strategies), RateLimiter (token bucket algorithm), Retry (with exponential backoff and jitter), and Timeout. These components are unified under a composable Policy abstraction, allowing users to chain protections such as retry, rate limiting, circuit breaking, and bulkheading. A SwitchablePolicy is also provided to allow runtime replacement of policies with controlled transition modes.

rezilience/shared/src/main/scala/nl · high confidence

Removals

Removal of sample ZIO application

The sample ZIO application (HelloWorld.scala) has been removed from the shared source directory. This file previously demonstrated a basic interactive console application using ZIO's App trait, including user input and output. Its removal indicates that this example code is no longer part of the product's shared codebase.

rezilience/shared/src/main/scala/rezilience · high confidence

Test coverage

Added comprehensive test suites for resilience policies; Added example code for Circuit Breaker and ZLayer integration; Added tests for config-driven circuit breaker and config documentation generator; Removed HelloWorldSpec test file.

Dependencies

Upgrade to SBT 2.0 and modernize build plugins

The build system has been upgraded to SBT 2.0.10 (from 1.3.7), requiring a significant update to the build infrastructure. The custom \project/BuildHelper.scala\ file has been removed, simplifying the build configuration. Several SBT plugins have been updated to newer versions (e.g., sbt-scalajs to 1.22.0, sbt-assembly to 2.5.0, sbt-scalafmt to 2.6.2) and others replaced or added (e.g., sbt-tpolecat, sbt-protobuf, sbt-site-paradox, sbt-ghpages). The release process now uses \sbt-ci-release-early\ instead of \sbt-ci-release\ for early access versions. A new library dependency scheme for \scala-xml\ has been added to handle versioning more flexibly.

project · high confidence

Upgrade to ZIO 2.1 and Scala 3.9 with simplified build configuration

The build system has been significantly refactored to upgrade the core ZIO dependencies to version 2.1.26 and the primary Scala version to 3.9.0 (while maintaining support for Scala 3.3.8 LTS). This change replaces the previous ZIO 1.x stack and introduces \zio-config\ integration for the new \config\ module. The build structure is simplified by removing custom helper plugins in favor of standard Typelevel settings, enabling \scalafmtOnCompile\, and updating the documentation site to use Paradox and ScalaUnidoc instead of Docusaurus. Additionally, the project organization has changed from \dev.zio\ to \nl.vroste\, and publishing is now directed to Sonatype Central.

(dependencies) · high confidence

Housekeeping

Initial project setup and tooling configuration

The repository is initialized with the Rezilience library, a ZIO-native resilience policy collection. This change establishes the project's foundational configuration, including the Apache 2.0 license, GitHub funding link, and a \.gitignore\ that excludes \.bsp\ and \sbt\ artifacts. It also configures the build tooling by setting Scalafmt to version 3.11.5 with Scala 2.13 source compatibility, defining Mergify rules for automated merging of Scala Steward PRs and approved pull requests, and configuring Scala Steward to ignore \tasty-core\ updates.

(repo-wide) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 53 → 56 (+3.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 73 → 72 (-0.4)
  • Architecture 69 → 69 (+0.0)
  • Maturity 37 → 55 (+18.1)
  • Readiness 62 → 60 (-1.5)
  • Security 70 → 50 (-20.0)
  • Performance 100 → 100 (+0.0)

Resolved (3)

  • CircuitBreakerImpl.apply (cognitive 31) (rezilience/shared/src/main/scala/nl/vroste/rezilience/CircuitBreaker.scala)
  • Documentation: no installation or build instructions (README.md)
  • Off-boarding risk: anonymized user #1

New (3)

  • CircuitBreakerImpl.callInCurrentState (cognitive 26) (rezilience/shared/src/main/scala/nl/vroste/rezilience/CircuitBreaker.scala)
  • Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 5 commits — 4 feature/other, 1 fixes

By area

  • (root) — 3 commits
  • project/build.properties — 1 commit
  • rezilience/shared — 1 commit

Notable commits

  • fix: Fix release (#625)
  • change: CicuitBreaker - Better support for interruptions in HalfOpen state (#622)
  • change: Pin zio-config to 4.0.8 for compat with scala 3.3 (#626)
  • change: Update sbt to 2.0.12 (#624)
  • change: Update scala3-library, ... to 3.3.9 (#623)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

svroonland/rezilience was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ea7e9ac671116f1da91adb68f093d0b46570634e — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-5f8314471808.