Borehole · Project · free tier
grafana/k6
Free reading: not for reliance
bae5899 · 11,138 commits · 4,120 files
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.

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

Architecture & Codebase — including AI provenance

strong
01.6

internal/js/modules/k6/browser/common/js/injected_script.js is 2,612 lines, 24× this codebase's median file

adequate

The 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.

Evidence
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

strong

No finding.

Product & Engineering Maturity

strong
04.38

95 files still carry code deprecated more than two years ago

adequate

95 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.

Evidence
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

strong

No finding.

Observability & Operations

strong
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 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.