Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Finish
Method
Finish
internal/gh/ghtelemetry/telemetry.go:42–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
InvocationRecorder
41
Disabler
42
Finish()
43
}
44
45
const
SAMPLE_ALL = 100
Callers
15
TestNewCmdCommentRecordsRejectedAttachmentCount
Function · 0.95
TestNewCmdApiTelemetry
Function · 0.95
Main
Function · 0.95
TestServiceCopiesRecordedEvents
Function · 0.95
TestServicePromotesAllEventsBeforeCompletion
Function · 0.95
TestServiceDisablingOverridesPromotedPendingEvents
Function · 0.95
TestServiceFinishDeliversOnce
Function · 0.95
TestServiceRecordingDoesNotWaitForDelivery
Function · 0.95
TestServiceCollectsConcurrentFacts
Function · 0.95
TestNewServiceLogModeFlushesToWriter
Function · 0.95
TestNewServiceLogModeWithColorLogsToWriter
Function · 0.95
TestServiceDeviceIDFallback
Function · 0.95
Implementers
2
service
internal/telemetry/telemetry.go
NoOpService
internal/telemetry/telemetry.go
Calls
no outgoing calls
Tested by
15
TestNewCmdCommentRecordsRejectedAttachmentCount
Function · 0.76
TestNewCmdApiTelemetry
Function · 0.76
TestServiceCopiesRecordedEvents
Function · 0.76
TestServicePromotesAllEventsBeforeCompletion
Function · 0.76
TestServiceDisablingOverridesPromotedPendingEvents
Function · 0.76
TestServiceFinishDeliversOnce
Function · 0.76
TestServiceRecordingDoesNotWaitForDelivery
Function · 0.76
TestServiceCollectsConcurrentFacts
Function · 0.76
TestNewServiceLogModeFlushesToWriter
Function · 0.76
TestNewServiceLogModeWithColorLogsToWriter
Function · 0.76
TestServiceDeviceIDFallback
Function · 0.76
TestServiceFinish
Function · 0.76