Read 2026-10-22
grafana/k6: technical due diligence, read from its repository
What Borehole read in grafana/k6's code and history at bae5899: 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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | strong |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
stronginternal/js/modules/k6/browser/common/js/injected_script.js is 2,612 lines, 24× this codebase's median file
adequateThe median source file here is 106 lines. 12 files exceed 1,060 lines, the largest being 2,612. 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.
internal/js/modules/k6/browser/common/js/injected_script.js:1 — 2,612 lines (24× median) |
internal/js/modules/k6/browser/common/frame.go:1 — 2,462 lines (23× median) |
internal/js/modules/k6/browser/common/page.go:1 — 2,277 lines (21× median) |
internal/js/modules/k6/browser/common/element_handle.go:1 — 1,931 lines (18× median) |
internal/js/summary.js:1 — 1,470 lines (13× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strong95 files still carry code deprecated more than two years ago
adequate95 files were marked deprecated over two years ago and still are, the oldest since Jul 2019. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
vendor/github.com/klauspost/compress/snappy/encode.go — deprecated since Jul 2019 |
vendor/github.com/gorilla/websocket/json.go — deprecated since Jun 2020 |
vendor/github.com/gorilla/websocket/server.go — deprecated since Jun 2020 |
vendor/google.golang.org/grpc/dialoptions.go — deprecated since Oct 2020 |
vendor/google.golang.org/grpc/server.go — deprecated since Oct 2020 |
Security & Reliability Posture
strongNo finding.
Observability & Operations
strongNo error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on grafana/k6: 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.