Skip to content
CAI
Software that uses CAICheck a score

zio/zio-protoquill

62.0

Adequate · 7 November 2026

18.6k

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

Add Quill-Caliban integration for dynamic GraphQL filtering

This change introduces a new integration module that allows Quill SQL queries to be driven by GraphQL arguments. It provides a \CalibanIntegration\ object with custom \ArgBuilder\ and \Schema\ implementations that recursively flatten nested GraphQL input objects into a \Map\[String, String\]\ of key-value pairs. This map is passed to Quill's \filterByKeys\ method, enabling dynamic filtering based on the fields selected in the GraphQL query. The module includes test specifications for both flat and nested object schemas, as well as example applications demonstrating the setup with ZIO HTTP. Also in this area: 1 commit (0 fixes) modifying (repo-wide).

quill-caliban · medium confidence · unverified

Added scripts to simulate database latency for performance testing

New shell scripts have been added to the project to help developers better understand batch-query performance in realistic network conditions. The \increase\_postgres\_latency.sh\ script applies a 50ms network delay to the PostgreSQL container, while \start\_containers.sh\ provides a standard setup routine (with latency injection currently commented out). These tools allow users to test application behavior against simulated network hops typical of corporate environments.

scripts · high confidence

New build infrastructure for local database testing and CI

This change introduces a comprehensive set of build scripts and Dockerfiles to streamline local development and continuous integration. It adds Dockerfiles for Cassandra, MySQL, PostgreSQL, SQL Server, SBT, and a setup environment, alongside shell scripts to orchestrate database container lifecycles (setup, cleanup, and health checks) and manage SBT builds with memory monitoring. A specific addition for Apple M1 support includes ARM64-compatible Dockerfiles and a dedicated README with configuration instructions, enabling developers to run the full test suite against multiple database backends locally.

build · high confidence

Removals

Removed experimental Scala 3 prototype files

Deleted the experimental Scala 3 prototype files Main.scala, MiniQuill.scala, MiniQuillTest.scala, and MyWorksheet.sc from src/main. These files contained early-stage implementations of a mini Quill-like query DSL using Scala 3 macros, along with associated test and worksheet examples, which are no longer part of the codebase.

src/main · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 470 files: “make error types more precise for \transaction\ method (\#634)” (refs \#634).

quill-doobie, quill-zio · medium confidence · unverified

Test coverage

1 commit adding/updating tests in quill-sql-tests; Added Cassandra test infrastructure and schema; Added SQL schema definitions for database integration tests; Added test configuration for multiple database backends; Added test resource configurations and schemas for JDBC integration tests; Added test suite for the Cassandra ZIO context; Removed JUnit-based test file.

Dependencies

Major build system overhaul and dependency updates

The build configuration has been completely rewritten from a simple single-project setup to a multi-module structure (quill-sql, quill-jdbc, quill-zio, etc.) with comprehensive CI/CD integration via zio-sbt-ci. This includes updating core dependencies such as ZIO to 2.1.26, Quill engine/util to 4.8.5, and various test libraries like ScalaTest and Logback. The build now supports selective module compilation and integrates with GitHub Actions for automated builds across Scala 3.8.4.

(dependencies) · 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 64 → 62 (-1.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 60 → 60 (+0.1)
  • Architecture 93 → 91 (-1.3)
  • Maturity 63 → 63 (+0.0)
  • Readiness 62 → 62 (-0.3)
  • Security 70 → 58 (-12.0)
  • Performance 80 → 100 (+20.0)

Resolved (191)

  • Duplicated block (10–11 lines × 2) (quill-sql/src/main/scala/io/getquill/context/QueryMetaExtractor.scala)
  • Duplicated block (12 lines × 2) (quill-sql/src/main/scala/io/getquill/context/QueryExecution.scala)
  • Duplicated block (13 lines × 2) (quill-sql/src/main/scala/io/getquill/generic/ConstructType.scala)
  • Duplicated block (5 lines × 2) (quill-cassandra/src/main/scala/io/getquill/context/cassandra/encoding/UdtEncodingMacro.scala)
  • Duplicated block (5 lines × 2) (quill-cassandra/src/main/scala/io/getquill/context/cassandra/encoding/UdtEncodingMacro.scala)
  • Duplicated block (5 lines × 2) (quill-sql/src/main/scala/io/getquill/context/QueryExecutionBatch.scala)
  • Duplicated block (5 lines × 2) (quill-sql/src/main/scala/io/getquill/generic/GenericDecoder.scala)
  • Duplicated block (6 lines × 2) (quill-jdbc-zio/src/main/scala/io/getquill/context/ZioJdbc.scala)
  • Duplicated block (69 lines × 2) (quill-sql/src/main/scala/io/getquill/context/QueryExecution.scala)
  • Duplicated block (7 lines × 3) (quill-sql/src/main/scala/io/getquill/metaprog/Extractors.scala)
  • Duplicated block (8 lines × 2) (quill-sql/src/main/scala/io/getquill/parser/ParserHelpers.scala)
  • Duplicated block (9–13 lines × 2) (quill-sql/src/main/scala/io/getquill/context/InsertUpdateMacro.scala)
  • Dynamic.apply (cognitive 22) (quill-sql/src/main/scala/io/getquill/context/Particularize.scala)
  • Dynamic.apply (cyclomatic 21) (quill-sql/src/main/scala/io/getquill/context/Particularize.scala)
  • ElaborateStructure.base (cognitive 16) (quill-sql/src/main/scala/io/getquill/generic/ElaborateStructure.scala)
  • FileTooLong: parser/Parser.scala (quill-sql/src/main/scala/io/getquill/parser/Parser.scala)
  • FixmeComment (quill-sql/src/main/scala/io/getquill/metaprog/Extractors.scala)
  • FixmeComment (quill-sql/src/main/scala/io/getquill/metaprog/Extractors.scala)
  • GenericDecoder.decode (cognitive 20) (quill-sql/src/main/scala/io/getquill/generic/GenericDecoder.scala)
  • HackComment (quill-jdbc/src/test/scala/io/getquill/context/jdbc/sqlserver/OptionJdbcSpec.scala)
  • …and 171 more

New (190)

  • Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
  • Duplicated block (10–11 lines × 2) (quill-sql/src/main/scala/zio/quill/context/QueryMetaExtractor.scala)
  • Duplicated block (12 lines × 2) (quill-sql/src/main/scala/zio/quill/context/QueryExecution.scala)
  • Duplicated block (13 lines × 2) (quill-sql/src/main/scala/zio/quill/generic/ConstructType.scala)
  • Duplicated block (5 lines × 2) (quill-cassandra/src/main/scala/zio/quill/context/cassandra/encoding/UdtEncodingMacro.scala)
  • Duplicated block (5 lines × 2) (quill-cassandra/src/main/scala/zio/quill/context/cassandra/encoding/UdtEncodingMacro.scala)
  • Duplicated block (5 lines × 2) (quill-sql/src/main/scala/zio/quill/context/QueryExecutionBatch.scala)
  • Duplicated block (5 lines × 2) (quill-sql/src/main/scala/zio/quill/generic/GenericDecoder.scala)
  • Duplicated block (6 lines × 2) (quill-jdbc-zio/src/main/scala/zio/quill/context/ZioJdbc.scala)
  • Duplicated block (69 lines × 2) (quill-sql/src/main/scala/zio/quill/context/QueryExecution.scala)
  • Duplicated block (7 lines × 3) (quill-sql/src/main/scala/zio/quill/metaprog/Extractors.scala)
  • Duplicated block (8 lines × 2) (quill-sql/src/main/scala/zio/quill/parser/ParserHelpers.scala)
  • Duplicated block (9–13 lines × 2) (quill-sql/src/main/scala/zio/quill/context/InsertUpdateMacro.scala)
  • Dynamic.apply (cognitive 22) (quill-sql/src/main/scala/zio/quill/context/Particularize.scala)
  • Dynamic.apply (cyclomatic 21) (quill-sql/src/main/scala/zio/quill/context/Particularize.scala)
  • ElaborateStructure.base (cognitive 16) (quill-sql/src/main/scala/zio/quill/generic/ElaborateStructure.scala)
  • FileTooLong: metaprog/Extractors.scala (quill-sql/src/main/scala/zio/quill/metaprog/Extractors.scala)
  • FileTooLong: parser/Parser.scala (quill-sql/src/main/scala/zio/quill/parser/Parser.scala)
  • FixmeComment (quill-sql/src/main/scala/zio/quill/metaprog/Extractors.scala)
  • FixmeComment (quill-sql/src/main/scala/zio/quill/metaprog/Extractors.scala)
  • …and 170 more

Changes since last survey

  • 15 commits — 14 feature/other, 1 fixes

By area

  • (root) — 8 commits
  • quill-sql/src — 4 commits
  • .github/workflows — 1 commit
  • project/build.properties — 1 commit
  • quill-cassandra/src — 1 commit

Notable commits

  • fix: Build with Scala 3.9 and sbt 1.13, keep TranslateRunner = Unit, fix ReflectiveChainLookup regressions from #809 (#810)
  • change: Give each Cassandra result-type suite its own table (#817)
  • change: Prepare 4.9.0 release: README install version and release-drafter versioning (#814)
  • change: Publish quill-sql javadoc again (#815)
  • change: Reject nested lift at compile time and run nothing for empty batches (#818)
  • change: Update caliban-quick to 3.2.0 (#792)
  • change: Update logback-classic to 1.6.6 (#812)
  • change: Update quill-engine, quill-util to 4.8.6+29-a5227579-SNAPSHOT (#820)
  • change: Update quill-engine, quill-util to 4.8.6+33-491cf135-SNAPSHOT (#825)
  • change: Update sbt, sbt-dependency-tree, ... to 1.13.1 (#819)
  • change: Update sqlite-jdbc to 3.54.1.0 (#823)
  • change: Update zio, zio-streams to 2.1.27 (#803)
  • change: Update zio-sbt-ci to 0.8.7 (#822)
  • change: adapt to changes in Scala 3.9/3.10 (#809)
  • change: make error types more precise for transaction method (#634)

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

Survey your own repository

zio/zio-protoquill 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 e6f037208e009c537b793fd71a9a1265ce434995 — 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.