Skip to main content
Blitz
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Coverage

How much of Blitz’s code its Go tests run: every line in apps/ and pkg/, measured with bazel coverage on Linux (where the sandbox and gVisor tests also run) on each push to main. Tools, generated code and dependencies aren’t counted. The desktop page’s TypeScript is measured separately, lines and branches, by bazel test //apps/desktop/web:coverage (Vitest’s V8 coverage, over src/ without the generated client and the development stand-ins), which fails below the thresholds in apps/desktop/web/vite.config.ts; its report is among that test’s outputs.

CI fails if the total drops below the floor in tools/coverage/floor.txt. When coverage rises, raise the floor with it, so the floor only goes up. A Go library no test links has no lines in the report, so it isn’t in the total: it’s listed under the table as not counted. Packages are listed least covered first: the top of the table is where tests are most needed.

94.1% of 94,293 lines covered (88,790 run by the tests), in 94 packages. The floor is 94.0%. Measured at commit 9d35c23b on 2026-12-06.

PackageCoverageLines
pkg/wininstall
2 files
registry_other.go25.0%1 / 4
wininstall.go73.3%80 / 109
71.6% 81 / 113
apps/electron/winsetup
2 files
main.go68.6%105 / 153
system_other.go100.0%17 / 17
71.7% 122 / 170
pkg/engine/jsonl
1 file
jsonl.go73.0%19 / 26
73.0% 19 / 26
pkg/ostrash
2 files
device_unix.go75.0%6 / 8
ostrash.go74.0%100 / 135
74.1% 106 / 143
pkg/service/servicetest
1 file
servicetest.go78.5%11 / 14
78.5% 11 / 14
pkg/loginitem
3 files
loginitem.go77.3%202 / 261
repair.go87.0%54 / 62
run_other.go80.0%4 / 5
79.2% 260 / 328
pkg/fileview
1 file
fileview.go80.0%68 / 85
80.0% 68 / 85
pkg/atomicfile
1 file
atomicfile.go80.4%33 / 41
80.4% 33 / 41
pkg/engine/lsp/lsptest
1 file
lsptest.go81.3%70 / 86
81.3% 70 / 86
apps/electron/winsetup/pack
1 file
main.go83.8%26 / 31
83.8% 26 / 31
pkg/sandboxsetup
2 files
owner_unix.go60.0%3 / 5
sandboxsetup.go86.5%103 / 119
85.4% 106 / 124
pkg/secretscan
3 files
history.go76.7%56 / 73
hook.go87.8%58 / 66
scan.go100.0%51 / 51
86.8% 165 / 190
pkg/socket
1 file
socket.go87.2%48 / 55
87.2% 48 / 55
pkg/shellpath
1 file
shellpath.go87.7%43 / 49
87.7% 43 / 49
apps/electron/winexe
1 file
main.go87.8%65 / 74
87.8% 65 / 74
pkg/terminal
2 files
signal_unix.go37.5%3 / 8
terminal.go90.5%231 / 255
88.9% 234 / 263
pkg/packages
1 file
packages.go89.1%319 / 358
89.1% 319 / 358
pkg/pdftext
1 file
pdftext.go90.0%127 / 141
90.0% 127 / 141
pkg/selfupdate
3 files
desktop.go86.8%172 / 198
selfupdate.go93.6%220 / 235
verify.go83.7%31 / 37
90.0% 423 / 470
pkg/secrets
3 files
secrets.go91.3%158 / 173
vault.go89.0%81 / 91
wincred_other.go0.0%0 / 1
90.1% 239 / 265
pkg/engine/search
5 files
enrich.go87.2%150 / 172
index.go92.3%72 / 78
query.go97.6%167 / 171
scan.go90.5%230 / 254
vectors.go87.1%142 / 163
90.8% 761 / 838
pkg/pagehost
8 files
cli.go85.0%148 / 174
cli_other.go100.0%4 / 4
cli_winpath.go100.0%89 / 89
host.go87.7%143 / 163
prefs.go100.0%111 / 111
sandbox.go16.6%1 / 6
update.go93.7%149 / 159
update_other.go100.0%1 / 1
91.3% 646 / 707
pkg/orgsync
1 file
orgsync.go91.5%237 / 259
91.5% 237 / 259
pkg/skillreg
1 file
skillreg.go91.5%357 / 390
91.5% 357 / 390
pkg/images
6 files
clipboard.go64.4%29 / 45
images.go89.4%119 / 133
media.go98.9%96 / 97
mentions.go100.0%18 / 18
models.go99.0%99 / 100
store.go91.4%289 / 316
91.6% 650 / 709
pkg/service
3 files
network.go100.0%38 / 38
runjob.go90.5%316 / 349
service.go93.7%119 / 127
92.0% 473 / 514
apps/cli
46 files
activity.go100.0%10 / 10
agents.go90.2%129 / 143
auth.go95.6%89 / 93
configcmd.go90.3%56 / 62
configkeys.go97.1%173 / 178
configperms.go96.3%158 / 164
configset.go86.4%192 / 222
data.go98.0%196 / 200
do.go93.1%109 / 117
docs.go92.0%23 / 25
doctor.go93.3%42 / 45
enterprise.go93.2%319 / 342
enterprisejobs.go95.9%657 / 685
enterprisesync.go96.5%56 / 58
eval.go91.2%83 / 91
exitcode.go100.0%13 / 13
headless.go100.0%157 / 157
helpgroups.go98.0%50 / 51
hook.go91.7%89 / 97
license.go100.0%15 / 15
main.go87.1%581 / 667
mcp.go90.5%278 / 307
memory.go92.2%95 / 103
models.go93.8%91 / 97
oneshot.go95.2%140 / 147
picture.go93.5%259 / 277
pkg.go97.0%263 / 271
plugin.go96.0%243 / 253
providers.go72.5%143 / 197
removes.go100.0%30 / 30
runs.go100.0%23 / 23
search.go100.0%82 / 82
security.go90.0%81 / 90
service.go92.5%137 / 148
servicelogs.go94.5%87 / 92
services.go91.0%174 / 191
services_unix.go100.0%1 / 1
sessions.go90.4%113 / 125
setup.go96.7%119 / 123
shellcomplete.go76.3%113 / 148
skills.go94.9%150 / 158
specs.go92.0%253 / 275
trust.go73.5%39 / 53
update.go95.8%115 / 120
workers.go94.3%267 / 283
worktrees.go100.0%71 / 71
92.4% 6564 / 7100
pkg/engine/frontmatter
1 file
frontmatter.go92.5%100 / 108
92.5% 100 / 108
pkg/engine
91 files
added.go100.0%44 / 44
addeddata.go93.6%132 / 141
agentbrowser.go92.6%139 / 150
agentfiles.go81.0%77 / 95
assets.go100.0%11 / 11
backend.go92.7%64 / 69
blitzcommands.go87.7%674 / 768
blitzconfigure.go92.9%211 / 227
blitzremove.go80.5%91 / 113
changes.go93.6%163 / 174
commands.go100.0%114 / 114
commit.go91.3%95 / 104
compose.go82.6%95 / 115
connectors.go94.8%148 / 156
context.go93.4%157 / 168
conversationmodel.go80.8%38 / 47
dataquery.go93.3%42 / 45
draft.go100.0%53 / 53
evaldraft.go89.2%83 / 93
evals.go95.7%205 / 214
event.go100.0%36 / 36
export.go90.9%20 / 22
extensions.go95.6%176 / 184
files.go96.5%478 / 495
filewatch.go77.3%92 / 119
flowcalls.go92.4%268 / 290
flowdata.go92.5%100 / 108
flowgraph.go96.5%553 / 573
flowreceipt.go97.7%266 / 272
flowrun.go92.8%222 / 239
flowtasks.go87.0%242 / 278
fork.go86.9%113 / 130
gitbranches.go93.7%119 / 127
gitfiles.go87.5%225 / 257
githooks.go92.4%172 / 186
gitremote.go93.3%279 / 299
gitrevisions.go89.3%209 / 234
globalconnectors.go96.2%52 / 54
goals.go97.5%80 / 82
guardrails.go94.7%378 / 399
harness.go92.8%247 / 266
health.go86.6%247 / 285
language.go95.2%121 / 127
localmode.go100.0%16 / 16
lock.go87.2%48 / 55
lock_unix.go100.0%9 / 9
media.go88.8%32 / 36
mentions.go92.3%97 / 105
models.go95.1%296 / 311
network.go100.0%4 / 4
notices.go100.0%17 / 17
observability.go100.0%2 / 2
optimizer.go96.5%28 / 29
orgassets.go100.0%33 / 33
orgconnectors.go95.3%264 / 277
permissions.go96.6%87 / 90
personalities.go96.0%221 / 230
pictures.go93.0%427 / 459
project.go87.5%119 / 136
querybuilder.go99.5%207 / 208
reasoning.go95.0%228 / 240
rewind.go91.9%91 / 99
rules.go95.0%77 / 81
search.go96.6%373 / 386
servicemove.go91.9%57 / 62
sessions.go97.4%150 / 154
sessiontools.go97.8%46 / 47
settingswatch.go94.6%88 / 93
skillfiles.go89.3%118 / 132
skillmentions.go100.0%26 / 26
skillscenarios.go88.3%159 / 180
spec_impact.go90.3%289 / 320
spec_review.go99.2%132 / 133
spec_trace.go91.2%312 / 342
styles.go95.3%62 / 65
subagents.go100.0%17 / 17
suggestions.go90.5%163 / 180
summaries.go91.9%160 / 174
tables.go93.3%56 / 60
tasks.go100.0%22 / 22
terminals.go91.3%42 / 46
tiers.go98.9%96 / 97
trash.go92.2%107 / 116
turn.go95.7%426 / 445
upload.go95.8%69 / 72
voice.go95.9%550 / 573
voicecloud.go90.6%253 / 279
workerrewrite.go100.0%55 / 55
workers.go89.3%413 / 462
workspace.go88.8%215 / 242
workspace_setup.go86.7%177 / 204
92.7% 14267 / 15384
pkg/engine/agents
3 files
files.go85.0%85 / 100
frontmatter.go98.2%111 / 113
manager.go94.2%147 / 156
92.9% 343 / 369
pkg/enterprise
15 files
apis.go94.1%32 / 34
branding.go92.8%129 / 139
catalog.go91.0%204 / 224
connectors.go100.0%44 / 44
enterprise.go97.3%217 / 223
jobs.go96.3%105 / 109
models.go92.5%75 / 81
personal.go93.2%166 / 178
policy.go81.1%138 / 170
reach.go100.0%29 / 29
registry.go100.0%51 / 51
run.go96.3%53 / 55
signin.go94.9%132 / 139
usage.go100.0%12 / 12
workspaces.go93.7%60 / 64
93.2% 1447 / 1552
pkg/service/server
51 files
agents.go89.8%124 / 138
background.go93.6%178 / 190
broker.go100.0%51 / 51
browserprofiles.go93.3%70 / 75
compose.go92.1%35 / 38
config.go94.3%250 / 265
connectors.go95.2%324 / 340
convert.go99.0%209 / 211
enterprise.go92.5%335 / 362
evalruns.go93.2%111 / 119
evals.go93.7%151 / 161
files.go95.0%228 / 240
globalconnectors.go97.3%74 / 76
guardrails.go97.1%69 / 71
health.go88.6%171 / 193
idle.go92.1%35 / 38
language.go94.8%146 / 154
listen.go88.0%22 / 25
liveturn.go93.7%135 / 144
mcp.go92.9%119 / 128
models.go94.2%98 / 104
orgfolders.go97.4%77 / 79
orgitems.go93.7%149 / 159
orgjobs.go90.5%413 / 456
orgshare.go79.5%117 / 147
orgsync.go94.0%191 / 203
orgworkspaces.go90.5%124 / 137
personality.go100.0%66 / 66
pictures.go98.4%127 / 129
rules.go93.8%61 / 65
scheduler.go97.0%232 / 239
secrets.go77.1%27 / 35
server.go95.6%266 / 278
session.go96.2%386 / 401
signin.go95.0%76 / 80
skills.go90.6%136 / 150
skills_edit.go93.3%84 / 90
skillscenarios.go90.7%49 / 54
studio.go95.7%134 / 140
tasks.go91.5%87 / 95
terminal.go86.2%94 / 109
use.go100.0%19 / 19
voice.go87.6%171 / 195
worker.go93.1%353 / 379
workflowruns.go96.0%120 / 125
workflows.go96.3%157 / 163
workspace.go94.5%86 / 91
workspace_git.go98.3%181 / 184
workspace_models.go98.9%184 / 186
workspace_procs.go92.0%232 / 252
workspace_tools.go89.6%207 / 231
93.5% 7541 / 8060
pkg/activity
1 file
activity.go93.6%193 / 206
93.6% 193 / 206
pkg/engine/runtime
67 files
agentrun.go77.7%21 / 27
anthropic.go98.3%540 / 549
antigravity.go96.1%427 / 444
apimodels.go89.6%69 / 77
apipictures.go92.8%129 / 139
apiprovider.go94.8%384 / 405
apiresponse.go87.7%179 / 204
apitoken.go100.0%61 / 61
aside.go81.2%52 / 64
cachekey.go85.9%49 / 57
claude_acp.go100.0%21 / 21
cloud.go92.5%99 / 107
cloudvoice.go92.0%254 / 276
compact.go90.9%252 / 277
contextparts.go91.1%72 / 79
edgecompress.go92.7%103 / 111
effort.go98.5%68 / 69
embed.go95.3%82 / 86
engine.go94.5%380 / 402
engine_callbacks.go90.8%306 / 337
engine_options.go100.0%38 / 38
engine_tree.go83.8%203 / 242
engine_usage.go96.6%145 / 150
enterprisemodel.go92.5%50 / 54
escalation.go90.5%162 / 179
fallback.go100.0%94 / 94
geminifiles.go92.3%72 / 78
guard.go94.5%69 / 73
httpclient.go98.6%150 / 152
images.go91.8%102 / 111
keycommand.go100.0%43 / 43
learn.go91.4%161 / 176
listmodels.go88.4%298 / 337
media.go100.0%53 / 53
mediaplace.go100.0%40 / 40
model_factory.go96.1%524 / 545
modelinfo.go100.0%218 / 218
ollama.go91.6%66 / 72
ollamashow.go90.0%36 / 40
openai_images.go94.1%81 / 86
openai_pictures.go95.9%71 / 74
optimize.go100.0%27 / 27
origin.go95.1%370 / 389
outputcap.go88.8%56 / 63
painter.go88.4%169 / 191
pictures.go93.1%136 / 146
plan.go100.0%55 / 55
providertools.go98.1%380 / 387
providertools_anthropic.go100.0%59 / 59
providertools_openai.go92.4%123 / 133
quota.go100.0%42 / 42
replies.go91.9%218 / 237
resample.go100.0%50 / 50
review.go98.8%253 / 256
rules.go95.8%70 / 73
scriptrun.go88.2%45 / 51
search.go100.0%28 / 28
settings.go93.8%228 / 243
signatures.go97.3%37 / 38
speech.go95.2%202 / 212
steer.go92.1%59 / 64
switchfacts.go100.0%19 / 19
tasks.go95.2%359 / 377
tiers.go87.2%232 / 266
unavailable.go100.0%6 / 6
usage.go98.6%147 / 149
voice.go91.9%217 / 236
93.9% 9811 / 10444
pkg/plugins
5 files
apply.go100.0%93 / 93
importer.go95.7%317 / 331
marketplace.go93.8%138 / 147
plugins.go95.3%124 / 130
store.go89.2%267 / 299
93.9% 939 / 1000
pkg/engine/mdpdf
1 file
mdpdf.go94.1%577 / 613
94.1% 577 / 613
pkg/client
13 files
background.go90.9%80 / 88
branding.go60.0%6 / 10
client.go93.2%723 / 775
convert.go97.0%200 / 206
data.go95.0%38 / 40
enterprise.go95.0%77 / 81
jobs.go98.7%159 / 161
orgsync.go100.0%15 / 15
pictures.go100.0%29 / 29
processes.go92.4%159 / 172
project.go94.9%169 / 178
settings.go91.8%68 / 74
workers.go95.2%100 / 105
94.2% 1823 / 1934
pkg/userdocs
1 file
userdocs.go94.7%162 / 171
94.7% 162 / 171
pkg/engine/databases
4 files
connection.go98.4%258 / 262
databases.go96.2%127 / 132
paths.go93.1%68 / 73
session.go90.5%212 / 234
94.8% 665 / 701
pkg/redact
2 files
pii.go91.6%44 / 48
redact.go97.0%66 / 68
94.8% 110 / 116
pkg/acp
4 files
client.go95.7%315 / 329
mcp_server.go94.0%220 / 234
protocol.go100.0%40 / 40
transport.go92.4%86 / 93
94.9% 661 / 696
pkg/engine/workers
6 files
permission.go100.0%69 / 69
policy.go100.0%42 / 42
runs.go94.0%79 / 84
schedule.go100.0%1 / 1
state.go100.0%96 / 96
worker.go90.8%219 / 241
94.9% 506 / 533
pkg/engine/tools
75 files
agent_tools.go100.0%80 / 80
approval_store.go100.0%79 / 79
ask_user.go100.0%85 / 85
audio.go94.5%138 / 146
background.go94.8%257 / 271
blitz.go100.0%147 / 147
blockedscan.go94.3%101 / 107
blockedscan_unix.go100.0%4 / 4
browser.go95.7%455 / 475
bwrap.go96.1%50 / 52
capped_buffer.go98.0%50 / 51
checkpoint.go98.7%465 / 471
cmdpolicy.go98.7%387 / 392
diff.go100.0%19 / 19
documents.go92.8%78 / 84
draw.go93.0%187 / 201
exec.go94.5%139 / 147
export_pdf.go92.1%118 / 128
file_edit.go100.0%90 / 90
file_ops.go96.6%351 / 363
flowcalls.go86.8%33 / 38
gitprotect.go95.2%40 / 42
glob.go97.6%164 / 168
grep.go92.0%207 / 225
harness_evidence.go100.0%39 / 39
harness_propose.go100.0%52 / 52
hookif.go97.8%90 / 92
hooks.go99.2%269 / 271
images.go93.8%91 / 97
jobs.go100.0%88 / 88
lsp.go86.2%88 / 102
mcp.go95.6%533 / 557
mcpextra.go97.7%340 / 348
mode.go100.0%35 / 35
nodeenv.go95.2%121 / 127
notebook.go99.1%240 / 242
openfile.go95.1%39 / 41
openpage.go91.5%184 / 201
ossandbox.go94.2%130 / 138
ossandbox_linux.go88.2%30 / 34
patch.go100.0%438 / 438
pathlock.go98.0%49 / 50
pathpolicy.go91.7%89 / 97
permrules.go96.8%312 / 322
plan.go100.0%96 / 96
processhealth.go96.8%156 / 161
procgroup_unix.go76.4%13 / 17
procusage.go100.0%43 / 43
procusage_unix.go71.4%5 / 7
pyenv.go97.7%172 / 176
pyversion.go97.6%167 / 171
readlog.go94.9%75 / 79
recall.go100.0%21 / 21
registry.go88.7%401 / 452
remember.go100.0%24 / 24
scriptbox.go93.3%84 / 90
scriptbox_gvisor_linux.go87.0%135 / 155
scripthooks.go97.7%392 / 401
search.go93.1%27 / 29
secrethook.go90.9%20 / 22
servicesocket.go96.2%26 / 27
shell.go96.0%147 / 153
skillremote.go86.4%51 / 59
skills_tools.go96.9%126 / 130
skillscript.go93.9%265 / 282
skillwrites.go84.4%136 / 161
tasks.go89.6%52 / 58
todo.go100.0%47 / 47
universal_constructor.go95.1%175 / 184
userfs.go82.2%255 / 310
usersearch.go100.0%29 / 29
usershell.go90.9%10 / 11
web.go95.1%235 / 247
websearch.go95.0%267 / 281
workspace.go89.7%448 / 499
95.0% 11081 / 11658
pkg/engine/health
3 files
facts.go96.2%206 / 214
judge.go91.5%76 / 83
verdict.go96.1%100 / 104
95.2% 382 / 401
pkg/engine/session
7 files
adkstore.go89.7%245 / 273
ledger.go85.7%36 / 42
search.go96.6%57 / 59
session.go97.4%544 / 558
snapshot.go97.5%162 / 166
subagents.go100.0%10 / 10
summarised.go97.3%73 / 75
95.2% 1127 / 1183
pkg/enterprise/enterprisetest
1 file
enterprisetest.go95.2%1066 / 1119
95.2% 1066 / 1119
pkg/pageserver
3 files
cert.go78.5%22 / 28
proxy.go100.0%68 / 68
server.go96.3%132 / 137
95.2% 222 / 233
pkg/signin
2 files
signin.go100.0%105 / 105
status.go90.3%94 / 104
95.2% 199 / 209
pkg/mcpauth
1 file
mcpauth.go95.4%126 / 132
95.4% 126 / 132
pkg/markdown
2 files
markdown.go96.5%84 / 87
math.go95.4%83 / 87
95.9% 167 / 174
apps/service/internal/doctor
2 files
doctor.go95.8%434 / 453
enterprise.go100.0%24 / 24
96.0% 458 / 477
pkg/engine/flows
3 files
expr.go90.9%151 / 166
flows.go98.6%355 / 360
schedule.go95.6%44 / 46
96.1% 550 / 572
pkg/engine/connectors
6 files
backend.go100.0%35 / 35
connectors.go100.0%42 / 42
descriptors.go100.0%188 / 188
orgrules.go100.0%52 / 52
serve.go98.1%160 / 163
store.go91.7%310 / 338
96.2% 787 / 818
pkg/worktree
1 file
worktree.go96.2%178 / 185
96.2% 178 / 185
apps/cli/internal/tui
44 files
attach.go100.0%70 / 70
banner.go94.4%186 / 197
cd.go100.0%63 / 63
commands.go96.1%354 / 368
commands_extra.go98.9%578 / 584
commandtree.go92.3%84 / 91
complete.go96.4%216 / 224
data.go95.9%47 / 49
docs.go96.0%146 / 152
envs.go100.0%51 / 51
exit.go98.8%89 / 90
follow.go100.0%23 / 23
input.go94.4%186 / 197
keybindings.go96.8%61 / 63
keys.go91.7%190 / 207
keywatch.go87.3%76 / 87
keywatch_linux.go100.0%1 / 1
keywatch_unix.go89.4%34 / 38
license.go92.3%24 / 26
loops.go98.7%82 / 83
markdown.go94.9%56 / 59
mode.go97.2%71 / 73
modelsettings.go97.0%65 / 67
optimize.go100.0%56 / 56
passthrough.go88.0%44 / 50
permissions.go96.7%60 / 62
picker.go97.7%304 / 311
pickers.go91.6%132 / 144
processes.go100.0%121 / 121
project.go98.7%82 / 83
reasoning.go94.7%127 / 134
render.go100.0%53 / 53
repl.go97.2%452 / 465
rewind.go100.0%116 / 116
search.go100.0%41 / 41
searchws.go100.0%92 / 92
skills.go100.0%64 / 64
spinner.go100.0%40 / 40
status.go97.7%264 / 270
statusline.go96.5%56 / 58
tasks.go100.0%87 / 87
terminal.go83.0%166 / 200
theme.go100.0%33 / 33
tiers.go100.0%90 / 90
96.3% 5233 / 5433
pkg/engine/browser
3 files
browser.go97.3%553 / 568
cdp.go100.0%88 / 88
proxy.go90.8%149 / 164
96.3% 790 / 820
pkg/engine/gates
3 files
checks.go98.1%105 / 107
gates.go97.9%191 / 195
guardrails.go95.3%493 / 517
96.3% 789 / 819
pkg/engine/skills
7 files
definition.go99.1%121 / 122
folder.go98.1%107 / 109
policy.go100.0%150 / 150
provider.go95.4%253 / 265
save.go100.0%136 / 136
scenarios.go85.9%104 / 121
skill.go95.8%209 / 218
96.3% 1080 / 1121
pkg/engine/table
2 files
query.go96.4%137 / 142
table.go96.3%105 / 109
96.4% 242 / 251
pkg/config
25 files
agentmodels.go91.4%43 / 47
apiprovider.go100.0%236 / 236
background.go80.6%25 / 31
browserprofiles.go98.0%98 / 100
check.go96.7%179 / 185
config.go97.1%338 / 348
connectorfiles.go100.0%38 / 38
connectorscope.go100.0%80 / 80
features.go99.0%210 / 212
filelock_unix.go100.0%2 / 2
hashtrust.go96.8%61 / 63
home.go89.4%17 / 19
locale.go95.1%79 / 83
managed.go88.8%32 / 36
mcpedit.go88.7%229 / 258
modelsettings.go98.4%123 / 125
org.go97.3%148 / 152
permissions.go94.0%95 / 101
project.go96.6%344 / 356
providers.go97.6%534 / 547
reference.go99.1%115 / 116
secretfields.go100.0%39 / 39
settingsstamp.go93.1%41 / 44
tiers.go100.0%15 / 15
trust.go96.1%50 / 52
96.5% 3171 / 3285
pkg/engine/lsp
6 files
bazel.go97.3%73 / 75
client.go99.2%127 / 128
documents.go94.3%497 / 527
manager.go97.4%454 / 466
root.go98.3%59 / 60
snippet.go100.0%67 / 67
96.5% 1277 / 1323
apps/tray/internal/tray
15 files
actions.go89.1%90 / 101
apply.go96.3%53 / 55
approvals.go100.0%23 / 23
connectors.go100.0%27 / 27
detach_unix.go100.0%1 / 1
exited_unix.go100.0%7 / 7
extras.go98.2%56 / 57
ico.go100.0%18 / 18
locale.go94.8%55 / 58
menus.go96.7%176 / 182
processes.go100.0%58 / 58
serve.go100.0%87 / 87
tasks.go97.8%91 / 93
tray.go97.2%71 / 73
watch.go90.9%10 / 11
96.7% 823 / 851
pkg/catalog
2 files
catalog.go97.5%159 / 163
place.go95.2%81 / 85
96.7% 240 / 248
pkg/observability
7 files
logfile.go94.9%151 / 159
loggers.go100.0%45 / 45
logread.go100.0%126 / 126
metrics.go100.0%93 / 93
span.go100.0%22 / 22
start.go90.4%38 / 42
telemetry.go94.3%151 / 160
96.7% 626 / 647
pkg/docx
4 files
docx.go96.5%336 / 348
math.go98.1%325 / 331
parts.go93.2%83 / 89
read.go96.9%126 / 130
96.8% 870 / 898
pkg/runmerge
1 file
runmerge.go97.0%33 / 34
97.0% 33 / 34
pkg/engine/evals
2 files
evals.go98.8%268 / 271
runs.go87.7%43 / 49
97.1% 311 / 320
pkg/engine/audit
1 file
audit.go97.2%107 / 110
97.2% 107 / 110
pkg/engine/memory
3 files
memory.go96.7%294 / 304
notes.go97.0%130 / 134
summaries.go100.0%80 / 80
97.2% 504 / 518
pkg/engine/runtime/wirefake
5 files
anthropic.go99.0%213 / 215
gemini.go99.2%135 / 136
live.go93.3%196 / 210
openai.go99.1%121 / 122
wirefake.go96.7%118 / 122
97.2% 783 / 805
pkg/engine/browser/browsertest
1 file
browsertest.go97.4%114 / 117
97.4% 114 / 117
pkg/engine/specs
5 files
declaration.go100.0%53 / 53
evidence.go95.1%39 / 41
ledger.go98.6%141 / 143
progress.go100.0%64 / 64
specs.go95.2%161 / 169
97.4% 458 / 470
pkg/netutil
1 file
netutil.go97.4%75 / 77
97.4% 75 / 77
pkg/modelfacts
1 file
modelfacts.go97.6%84 / 86
97.6% 84 / 86
pkg/guardrails
2 files
guardrails.go97.0%98 / 101
output.go100.0%84 / 84
98.3% 182 / 185
apps/service
1 file
main.go98.4%130 / 132
98.4% 130 / 132
pkg/engine/harness
2 files
corrections.go100.0%30 / 30
evidence.go98.5%349 / 354
98.6% 379 / 384
pkg/i18n
1 file
i18n.go98.7%305 / 309
98.7% 305 / 309
pkg/api
13 files
blitzcommands.go94.8%37 / 39
context.go100.0%5 / 5
data.go100.0%12 / 12
evals.go100.0%5 / 5
extensions.go100.0%5 / 5
ledger.go100.0%42 / 42
models.go100.0%5 / 5
permissions.go100.0%28 / 28
sessions.go100.0%3 / 3
suggestions.go100.0%4 / 4
tasks.go100.0%7 / 7
turn.go100.0%17 / 17
version.go100.0%4 / 4
98.8% 174 / 176
pkg/engine/compose
1 file
compose.go98.8%174 / 176
98.8% 174 / 176
pkg/jobspec
2 files
jobspec.go100.0%66 / 66
schedule.go98.2%111 / 113
98.8% 177 / 179
pkg/agentpkg
6 files
dep.go100.0%26 / 26
digest.go100.0%13 / 13
files.go98.4%123 / 125
lock.go93.1%27 / 29
uri.go100.0%102 / 102
version.go100.0%73 / 73
98.9% 364 / 368
pkg/engine/optimizer
6 files
apply.go95.4%63 / 66
config.go100.0%18 / 18
filler.go100.0%16 / 16
prompt.go100.0%104 / 104
segment.go100.0%81 / 81
tool.go100.0%60 / 60
99.1% 342 / 345
pkg/textutil
4 files
glob.go97.5%78 / 80
html.go100.0%63 / 63
shrink.go100.0%39 / 39
textutil.go100.0%52 / 52
99.1% 232 / 234
pkg/engine/datatable
1 file
datatable.go99.5%215 / 216
99.5% 215 / 216
pkg/a2ui
1 file
a2ui.go100.0%356 / 356
100.0% 356 / 356
pkg/config/configtest
1 file
configtest.go100.0%3 / 3
100.0% 3 / 3
pkg/engine/breaker
1 file
breaker.go100.0%37 / 37
100.0% 37 / 37
pkg/engine/commands
1 file
commands.go100.0%131 / 131
100.0% 131 / 131
pkg/engine/tiers
1 file
config.go100.0%63 / 63
100.0% 63 / 63
pkg/gitcred
1 file
gitcred.go100.0%35 / 35
100.0% 35 / 35
pkg/legal
1 file
legal.go100.0%9 / 9
100.0% 9 / 9
pkg/signedin
1 file
signedin.go100.0%55 / 55
100.0% 55 / 55
pkg/urn
1 file
urn.go100.0%76 / 76
100.0% 76 / 76

Not counted, since no test links them (so they're in no line above): apps/tray.

Measuring it yourself

tools/coverage.sh                       # every test, instrumented; fails below the floor
bazel run //docs:serve                  # this page, with your numbers

The line-by-line report is Bazel’s LCOV file, bazel-out/_coverage/_coverage_report.dat; genhtml (from lcov) or an editor’s coverage view can show it against the source.