Borehole · Project · free tier
wandb/openui
Free reading: not for reliance
42d7ab4 · 209 commits · 224 files
Read 2026-11-07

wandb/openui: technical due diligence, read from its repository

What Borehole read in wandb/openui's code and history at 42d7ab4: 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 Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

frontend/src/lib/anysphere.ts is 2,029 lines, 27× this codebase's median file

adequate

The median source file here is 75 lines. 1 file exceed 1,000 lines, the largest being 2,029. 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
frontend/src/lib/anysphere.ts:1 — 2,029 lines (27× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

9 test files against 104 source files (8.7%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.

Evidence
9 test files / 104 source files
02.4

Nothing in the history is tagged as a release

adequate

Across 2.3 years of history there is not one tag. There may still be a deployment process, but this repository holds no record of what shipped when — which is the record a buyer needs to reconstruct an incident or a regression after the fact.

Evidence
0 tags across 209 commits and 835 days
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (frontend/playwright.config.ts). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.

Evidence
frontend/playwright.config.ts:20 — test retry

Product & Engineering Maturity

adequate
04.2

101 unresolved debt markers, 6.0 per thousand lines

adequate

The codebase carries 101 TODO, FIXME, HACK or XXX markers across 16,970 lines. These are the team's own notes about work they knew was unfinished. A high density is not automatically bad — it can mean an honest team — but every one of them is a decision deferred, and after an acquisition they are deferred onto someone who was not in the room.

Evidence
backend/openui/__main__.py:41 — # TODO: only render in interactive mode?
backend/openui/__main__.py:109 — # TODO: hot reload wasn't working with the server approach, and ctrl-C doesn't
backend/openui/eval/dataset.py:10 — # TODO: Maybe use this for finetuning
backend/openui/eval/evaluate_weave.py:105 — # TODO: share with scoring model
backend/openui/eval/evaluate_weave.py:167 — # TODO: lame
04.5

Effort is shifting from building to rewriting

adequate

Deleted lines per line added rose from 0.17 to 0.98 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.

Evidence
first half 0.17, second half 0.98 (split 2025-05-09)

Security & Reliability Posture

adequate
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
backend/Dockerfile — runs as root
05.25

1 environment file is committed

adequate

.env is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.

Evidence
.env — committed environment file
05.26

53 locked dependencies have published vulnerabilities, 25 high or critical in what ships

adequate

53 of 1,494 locked dependencies match 132 published advisories in OSV, 68 of them rated high or critical. 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.

Evidence
backend/uv.lock — gitpython 3.1.44: GHSA-284h-m62q-gf8w (critical), fixed in 3.1.59
backend/uv.lock — litellm 1.63.11: GHSA-4xpc-pv4p-pm3w (critical), fixed in 1.84.0; an optional extra
backend/uv.lock — pillow 11.2.1: GHSA-332p-7hrc-92wf (critical), fixed in 13.0.0; an optional extra

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 149 files for 10 structured logging libraries; 0 matched
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
06.18

1 of 2 deployed images carry no version, or `latest`

adequate

1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.

Evidence
docker-compose.yaml:4 — image without a version

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on wandb/openui: 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.