Borehole · Project · free tier
restatedev/restate
Free reading: not for reliance
4b2fb2c · 4,403 commits · 1,515 files
Read 2026-10-23

restatedev/restate: technical due diligence, read from its repository

What Borehole read in restatedev/restate's code and history at 4b2fb2c: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • LICENSE:1: The licence is BUSL-1.1: source available, not open source

Architecture & Codebase — including AI provenance

strong
01.6

crates/worker/src/partition/state_machine/mod.rs is 5,615 lines, 38× this codebase's median file

adequate

The median source file here is 145 lines. 28 files exceed 1,450 lines, the largest being 5,615. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Evidence
crates/worker/src/partition/state_machine/mod.rs:1 — 5,615 lines (38× median)
crates/storage-api/src/protobuf_types.rs:1 — 4,804 lines (33× median)
crates/types/src/schema/metadata/updater/tests.rs:1 — 3,458 lines (23× median)
crates/invoker-impl/src/lib.rs:1 — 2,883 lines (19× median)
crates/types/src/invocation/mod.rs:1 — 2,085 lines (14× median)

Engineering Process & SDLC Maturity

strong
02.6

Almost no process scaffolding exists in the repository

adequate

Of five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.

Evidence
1 of 5 markers present across 1,515 tracked files

Product & Engineering Maturity

adequate
04.19

5% of bug fixes add or change a test

adequate

Of 236 fixes in the last 24 months, 12 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.

Evidence
12 of 236

Security & Reliability Posture

adequate
05.2

None of the standard security guard rails are configured

adequate

There is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.

Evidence
checked 5 kinds of guard rail across 1,515 tracked files; 0 present
05.3

27 dependencies float, and no lockfile is committed

adequate

Dependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.

05.6

1 Dockerfile runs the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

Evidence
docker/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

29 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 2 steps pipe a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/ci.yml:27 — action pinned by tag
.github/workflows/ci.yml:29 — action pinned by tag
.github/workflows/release.yml:67 — download piped into a shell
05.26

6 locked dependencies have published vulnerabilities

adequate

6 of 979 locked dependencies match 6 published advisories in OSV. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
Cargo.lock — protobuf 2.28.0: GHSA-2gh3-rmm4-6rq5 (moderate), fixed in 3.7.2
Cargo.lock — ctutils 0.4.2: RUSTSEC-2026-0385 (unrated), fixed in 0.4.4
Cargo.lock — fxhash 0.2.1: RUSTSEC-2025-0057 (unrated)
05.66

The licence is BUSL-1.1: source available, not open source

adequate

LICENSE grants BUSL-1.1: source available, not open source; production use restricted until the change date. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.

Evidence
LICENSE:1 — 120 lines, BUSL-1.1

Observability & Operations

adequate
06.8

One request cannot be followed through the logs

adequate

Nothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.

Evidence
no request id, correlation id or tracing found
06.9

No error reporter is wired in

adequate

Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.

Evidence
no error reporter initialised

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on restatedev/restate: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.