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

Method GetChatDiffStatusByChatID

coderd/database/querier.go:368–368  ·  view source on GitHub ↗
(ctx context.Context, chatID uuid.UUID)

Source from the content-addressed store, hash-verified

366 GetChatDebugStepsByRunID(ctx context.Context, runID uuid.UUID) ([]ChatDebugStep, error)
367 GetChatDesktopEnabled(ctx context.Context) (bool, error)
368 GetChatDiffStatusByChatID(ctx context.Context, chatID uuid.UUID) (ChatDiffStatus, error)
369 // Returns aggregate PR counts across all agent chats for telemetry.
370 // Deduplicates by PR URL so forked chats referencing the same pull
371 // request are counted once (using the most recently refreshed state).

Callers 8

TestWatchChatsFunction · 0.65
getChatMethod · 0.65
TestChatsMethod · 0.65
TestWorkerFunction · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 3

TestWatchChatsFunction · 0.52
TestChatsMethod · 0.52
TestWorkerFunction · 0.52