MCPcopy
hub / github.com/CopilotKit/CopilotKit / jobView

Function jobView

showcase/harness/src/fleet/queue-client.test.ts:98–108  ·  view source on GitHub ↗
(overrides: Partial<JobView> = {})

Source from the content-addressed store, hash-verified

96}
97
98function jobView(overrides: Partial<JobView> = {}): JobView {
99 return {
100 id: "j1",
101 probe_key: "d6:langgraph-python",
102 status: "pending",
103 claimed_by: "",
104 lease_expires_at: null,
105 version: 0,
106 ...overrides,
107 };
108}
109
110/** A typed in-memory row the fake PB returns from list/getOne. */
111interface JobRow extends JobView {

Callers 11

badFunction · 0.70
listFunction · 0.70
claimJobFunction · 0.70
starvedStoreFunction · 0.70
mkFunction · 0.70
pendingRowFunction · 0.70
runningRowFunction · 0.70
seededRowFunction · 0.70
mkExpiredFunction · 0.70
prunableRowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…