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

Function container

__tests__/telemetry-services.test.ts:1432–1433  ·  view source on GitHub ↗
(machine: string)

Source from the content-addressed store, hash-verified

1430 it('stores that a machine reported from a container, for the day', async () => {
1431 at('2026-10-03T12:00:00Z');
1432 const container = (machine: string): unknown =>
1433 one(`SELECT container FROM machine_days WHERE machine_id = ? AND day = '2026-10-03'`, machine)?.container;
1434 expect(await post(M1, [index('2026-10-03T11:00:00Z')], { container: true, schema_version: 3 })).toBe(204);
1435 expect(await post(M2, [index('2026-10-03T11:00:00Z')], { container: false, schema_version: 3 })).toBe(204);
1436 // An engine from before the field says nothing, which is not a container.

Callers 1

Calls 1

oneFunction · 0.70

Tested by

no test coverage detected