MCPcopy Index your code
hub / github.com/coder/coder / CleanupStepCounter

Function CleanupStepCounter

coderd/x/chatd/chatdebug/recorder.go:157–160  ·  view source on GitHub ↗

CleanupStepCounter removes per-run step counter and reference count state. This is used by tests and later stacked branches that have a real run lifecycle.

(runID uuid.UUID)

Source from the content-addressed store, hash-verified

155// state. This is used by tests and later stacked branches that have a
156// real run lifecycle.
157func CleanupStepCounter(runID uuid.UUID) {
158 stepCounters.Delete(runID)
159 runRefCounts.Delete(runID)
160}
161
162const stepFinalizeTimeout = 5 * time.Second
163

Calls 1

DeleteMethod · 0.65