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.

fix(core): bind checkpoint retry to its function [H16,C7]

Corey Olsonc24dbecc0784
diff --git a/test/relay-client-fixture.js b/test/relay-client-fixture.js
index f76cf77f..f28eae8c 100644
--- a/test/relay-client-fixture.js
+++ b/test/relay-client-fixture.js
@@ -58,7 +58,9 @@ export function assertSnapshotCheckpoints(trace, expected) {
if (previous) {
assert.equal(write.ciphertext, previous.ciphertext, 'a retried sequence preserves its exact ciphertext');
assert.equal(previous.abort?.name, 'TimeoutError', 'only a timed-out PUT can add a transport attempt');
- assert.ok(write.callers.some(caller => caller.includes('async [email protected]:')), 'syncRelay retries the persisted checkpoint');
+ // Bind the exported retry function, independent of its source module or namespace.
+ assert.ok(write.callers.some(caller => caller.split('@', 1)[0].replace(/^async /u, '').split('.').at(-1) === 'retrySync'),
+ 'syncRelay retries the persisted checkpoint');
}
checkpoints.set(write.sequence, write);
}