Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(relay): name a refused delta read [H5,H17]

Corey Olsond3f390598b54
diff --git a/test/relay-study-delta.study.js b/test/relay-study-delta.study.js
index 0d93a9b2..fd107780 100644
--- a/test/relay-study-delta.study.js
+++ b/test/relay-study-delta.study.js
@@ -49,7 +49,7 @@ test('relay study measures one sealed move against its checkpoint at 10k and 50k
moveMs, movePosts: rows.filter(isMove).length, moveRequestBytes: bytes(rows, isMove, 'request'),
checkpointRequests: rows.filter(isUpload).length, checkpointRequestBytes: bytes(rows, isUpload, 'request'),
allRequestBytes: bytes(rows, () => true, 'request'), allResponseBytes: bytes(rows, () => true, 'response'),
- deltaReadStatus: delta.status, deltaReadBytes: deltaBody.byteLength, deltaReadMs,
+ deltaReadStatus: delta.status, deltaReadError: delta.status === 200 ? null : JSON.parse(deltaBody.toString('utf8')).error ?? null, deltaReadBytes: deltaBody.byteLength, deltaReadMs,
fullReadRequests: full.requests, fullReadBytes: full.receivedBytes, fullReadMs: full.readMs,
scope: 'Private loopback relay, foreground checkpoint (PULLBOARD_RELAY_CHECKPOINT_BACKGROUND=0), one shout move.' }));
assert.equal(delta.status, 200, 'the relay serves the sealed moves after the reader cursor');