MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / d1

Function d1

telemetry-dashboard/scripts/render-check.mjs:518–519  ·  view source on GitHub ↗
(sql)

Source from the content-addressed store, hash-verified

516 // runs, and a day not counted yet draws as an empty one: the page has to say so.
517 console.log('\nA run that left work for the next is called out');
518 const d1 = (sql) =>
519 execFileSync('npx', ['wrangler', 'd1', 'execute', 'codegraph-telemetry', '--local', '--command', sql], { cwd: root, stdio: 'ignore' });
520 d1(
521 `INSERT INTO rollup_state (key, value, updated_at) VALUES
522 ('last_run', '{"deferred":3,"short_left":23,"days_left":23,"failed":0,"windows_left":0,"cohorts_complete":true}', '2026-07-11T00:41:00.000Z'),

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected