Repository navigation
Chronos DB 0.9.1
The last items of the 2026-11-30 review. Tokens given on the command line leave the process list, the
database key is wiped from memory once the database is open, and a process holding a key or a token writes no core
dumps (and on Linux can't be read by a debugger of the same user). current_user in a rule names the writer,
as in Postgres, and an operation id used for a merge before 0.9.0 is answered with its result on a retry. Nothing
changes in how rows are stored: 0.9.1 opens and writes data format 8 as 0.9.0 does. Built and signed on the
maintainer's Mac as 0.9.0 was.
Release checks: the supply-chain step (no advisory, every licence on the list; SBOM attached as
chronos-0.9.1.cdx.json); the release gate (crash points, kill -9 under concurrent merges, simulated interleavings,
fuzz tests at 100,000 rounds; the cargo-fuzz targets were not run, as for 0.9.0, for want of a nightly toolchain); a
10-minute soak; the whole suite on the Mac (2,881 tests, 2,873 passed, 8 known failures, none outside
tests/known_failures.txt); the Linux gate passed on Ubuntu 24.04, x86_64, against Postgres 16.16 (commit
6f43f7c: 2,902 tests, 2,890 passed, 12 known failures, 17 skipped; S3 against moto, doctests, the installer test and
the latency budgets passed; summary attached as linux-gate-summary.md). Drivers and ORMs: psycopg, SQLAlchemy,
Django, Alembic, LangGraph, a pytest fixture, node-postgres, Knex, Prisma, TypeORM, Sequelize, JDBC, Flyway and
Hibernate passed; pgx and GORM were not run (no Go toolchain on the Mac).
- Tokens on the command line leave the process list.
chronos serve --token T --admin-token Astarts itself
again at once (the same pid) with them asCHRONOS_TOKEN/CHRONOS_ADMIN_TOKENinstead, sopsshows them only
for that moment; it says so as it starts. The environment variables remain the way to pass them. - Keys stay in memory only where needed. With a key or a token, the engine turns off core dumps and, on Linux,
is not dumpable (no debugger or/proc/<pid>/memfrom the same user;CHRONOS_CORE_DUMPS=1keeps core dumps).
The database key is wiped once the database is open, and the keys derived from it when it closes. current_userin a rule names the writer. A rule's actions and condition still run with the table owner's
privileges, butcurrent_userandcurrent_rolein them now give the role that wrote the table, as in Postgres
(they gave the owner). A security-definer function called from a rule still sees its definer.- A retried merge from before world ids still finds its result. An operation id used for a merge before the
request digest named the world's id is answered with its recorded result again, instead of 23505 ("already used
for another merge"). Rows written since keep the world's id, so a remade world is still refused.
Every change in detail: https://github.com/2090-labs/Chronos-DB/blob/main/CHANGELOG.md