Borehole · Project · free tier
gridstack/gridstack.js
Free reading: not for reliance
b05b79d · 3,631 commits · 284 files
Read 2026-10-23

gridstack/gridstack.js: technical due diligence, read from its repository

What Borehole read in gridstack/gridstack.js's code and history at b05b79d: 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 Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

src/gridstack.ts is 3,242 lines, 40× this codebase's median file

adequate

The median source file here is 81 lines. 2 files exceed 1,000 lines, the largest being 3,242. 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
src/gridstack.ts:1 — 3,242 lines (40× median)
src/gridstack-engine.ts:1 — 1,374 lines (16× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (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
playwright.config.ts:13 — test retry

Product & Engineering Maturity

strong
04.5

Effort is shifting from building to rewriting

adequate

Deleted lines per line added rose from 0.43 to 0.79 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.43, second half 0.79 (split 2020-10-31)

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 284 tracked files; 0 present
05.26

85 locked dependencies have published vulnerabilities, 119 high or critical

adequate

85 of 1,751 locked dependencies match 209 published advisories in OSV, 119 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. None of the high or critical ones is in what the product ships: 1 apply only under a condition the advisory states, which a lockfile cannot settle. 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
yarn.lock — form-data 2.3.3: GHSA-fjxv-7rqg-78g4 (critical), fixed in 2.5.4
angular/yarn.lock — piscina 3.2.0: GHSA-67c8-pqhq-4rmx (critical), fixed in 5.3.2
angular/yarn.lock — tar 6.2.1: GHSA-23hp-3jrh-7fpw (critical), fixed in 7.5.19
05.49

The production build publishes source maps

adequate

The build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.

Evidence
angular/angular.json:86 — source maps in a production build

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on gridstack/gridstack.js: 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.