not ok 38 test exited without ending: getUpdates works
---
operator: fail
at: process.<anonymous> (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/index.js:165:8)
stack: |-
Error: test exited without ending: getUpdates works
at Test.assert [as _assert] (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/lib/test.js:312:48)
at Test.bound [as _assert] (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/lib/test.js:95:17)
at Test.fail (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/lib/test.js:406:7)
at Test.bound [as fail] (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/lib/test.js:95:17)
at Test._exit (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/lib/test.js:269:8)
at Test.bound [as _exit] (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/lib/test.js:95:17)
at process.<anonymous> (/home/me/prj/ssb/ssb-keyring/node_modules/.pnpm/tape@5.6.3/node_modules/tape/index.js:165:8)
at process.emit (node:events:513:28)
apparently because getUpdates is live, so could be called a bug in collectAsPromise (not having a clearer error)
This got fixed by just adding a pull.take(1) in the middle. Guessing this also happens with collect since collectAsPromise is mostly a wrapper around that.
Or I think that's the problem anyway. I was just having this discussion with myself in a group chat: