feat: update documentation for payments #1004
Annotations
5 errors and 6 warnings
Payments E2E › it can do end to end payments with no domain:
home/runner/work/platform/hero/commons/lib/Queue.ts#L63
Database(
Database(
SqliteError {
code: 5,
message: "database is locked",
},
),
)
------CHANNELHOLD QUEUE---------------------------
at Queue.run (../../hero/commons/lib/Queue.ts:63:19)
at ArgonReserver.createChannelHold (../datastore/main/payments/ArgonReserver.ts:182:40)
at Object.cb (../datastore/main/payments/ArgonReserver.ts:143:34)
at Queue.next (../../hero/commons/lib/Queue.ts:188:44)
at Queue.run (../../hero/commons/lib/Queue.ts:72:10)
at ArgonReserver.reserve (../datastore/main/payments/ArgonReserver.ts:124:62)
at async DefaultPaymentService.reserve (../datastore/main/payments/DefaultPaymentService.ts:143:21)
at async DatastoreApiClient.query (../datastore/main/lib/DatastoreApiClient.ts:253:23)
at async ClientForRemote.query (../client/main/lib/Client.ts:134:25)
at async Object.<anonymous> (../end-to-end/test/payments.e2e.test.ts:267:20)
------RESERVE QUEUE-------------------------------
at Queue.run (../../hero/commons/lib/Queue.ts:63:19)
at ArgonReserver.reserve (../datastore/main/payments/ArgonReserver.ts:124:62)
at async DefaultPaymentService.reserve (../datastore/main/payments/DefaultPaymentService.ts:143:21)
at async DatastoreApiClient.query (../datastore/main/lib/DatastoreApiClient.ts:253:23)
at async ClientForRemote.query (../client/main/lib/Client.ts:134:25)
at async Object.<anonymous> (../end-to-end/test/payments.e2e.test.ts:267:20)
|
Payments with Broker E2E › it can use a databroker for a domain datastore:
datastore/core/db/DatastoreChannelHoldsDb.ts#L164
Could not finalize the payment. chan1nya65mftdw2893w6jugwt96w97mawtz3ewd4c7m72x30jn0e68tsrh4rhq -> adjustment: 50000
at DatastoreChannelHoldsDb.finalize (../datastore/core/db/DatastoreChannelHoldsDb.ts:164:13)
at ArgonPaymentProcessor.finalize (../datastore/core/lib/ArgonPaymentProcessor.ts:69:29)
at PaymentsProcessor.finalize (../datastore/core/lib/PaymentsProcessor.ts:96:50)
at QueryRunner.finalize (../datastore/core/lib/QueryRunner.ts:205:52)
at DatastoreApiHandler.handler (../datastore/core/endpoints/Datastore.query.ts:52:24)
at async DatastoreApiHandler.handler (../specification/utils/ValidatingApiHandler.ts:34:12)
at async ConnectionToClient.handleRequest (../../hero/net/lib/ConnectionToClient.ts:74:14)
------REMOTE CORE---------------------------------
at Function.reviver (../../hero/commons/lib/TypeSerializer.ts:253:26)
at JSON.parse (<anonymous>)
at Function.parse (../../hero/commons/lib/TypeSerializer.ts:31:17)
at WsTransportToCore.onMessage (../../hero/net/lib/WsTransportToCore.ts:111:36)
at Receiver.receiverOnMessage (../../hero/build/node_modules/ws/lib/websocket.js:1220:20)
at Receiver.dataMessage (../../hero/build/node_modules/ws/lib/receiver.js:596:14)
at ../../hero/build/node_modules/ws/lib/receiver.js:530:12
at ../../hero/build/node_modules/ws/lib/permessage-deflate.js:309:9
at ../../hero/build/node_modules/ws/lib/permessage-deflate.js:392:7
------CONNECTION----------------------------------
at new Resolvable (../../hero/commons/lib/Resolvable.ts:19:18)
at createPromise (../../hero/commons/lib/utils.ts:152:10)
at PendingMessages.create (../../hero/net/lib/PendingMessages.ts:47:44)
at ConnectionToCore.sendRequest (../../hero/net/lib/ConnectionToCore.ts:161:50)
at async DatastoreApiClient.runApi (../datastore/main/lib/DatastoreApiClient.ts:479:12)
at async DatastoreApiClient.query (../datastore/main/lib/DatastoreApiClient.ts:268:16)
at async ClientForRemote.query (../client/main/lib/Client.ts:134:25)
at async Object.<anonymous> (../end-to-end/test/payments-broker.e2e.test.ts:129:20)
|
Test Node.js 18 on ubuntu-latest
Process completed with exit code 1.
|
Payments with Broker E2E › it can use a databroker for a domain datastore:
datastore/core/db/DatastoreChannelHoldsDb.ts#L164
Could not finalize the payment. chan1cwnazw3t7cxex0ftv44dnhw0cea3nmgnzdksdeztzu6wqu7se5fsjpd3lf -> adjustment: 50000
at DatastoreChannelHoldsDb.finalize (../datastore/core/db/DatastoreChannelHoldsDb.ts:164:13)
at ArgonPaymentProcessor.finalize (../datastore/core/lib/ArgonPaymentProcessor.ts:69:29)
at PaymentsProcessor.finalize (../datastore/core/lib/PaymentsProcessor.ts:96:50)
at QueryRunner.finalize (../datastore/core/lib/QueryRunner.ts:205:52)
at DatastoreApiHandler.handler (../datastore/core/endpoints/Datastore.query.ts:52:24)
at async DatastoreApiHandler.handler (../specification/utils/ValidatingApiHandler.ts:34:12)
at async ConnectionToClient.handleRequest (../../hero/net/lib/ConnectionToClient.ts:74:14)
------REMOTE CORE---------------------------------
at Function.reviver (../../hero/commons/lib/TypeSerializer.ts:253:26)
at JSON.parse (<anonymous>)
at Function.parse (../../hero/commons/lib/TypeSerializer.ts:31:17)
at WsTransportToCore.onMessage (../../hero/net/lib/WsTransportToCore.ts:111:36)
at Receiver.receiverOnMessage (../../hero/build/node_modules/ws/lib/websocket.js:1220:20)
at Receiver.dataMessage (../../hero/build/node_modules/ws/lib/receiver.js:596:14)
at ../../hero/build/node_modules/ws/lib/receiver.js:530:12
at ../../hero/build/node_modules/ws/lib/permessage-deflate.js:309:9
at ../../hero/build/node_modules/ws/lib/permessage-deflate.js:392:7
------CONNECTION----------------------------------
at new Resolvable (../../hero/commons/lib/Resolvable.ts:19:18)
at createPromise (../../hero/commons/lib/utils.ts:152:10)
at PendingMessages.create (../../hero/net/lib/PendingMessages.ts:47:44)
at ConnectionToCore.sendRequest (../../hero/net/lib/ConnectionToCore.ts:161:50)
at async DatastoreApiClient.runApi (../datastore/main/lib/DatastoreApiClient.ts:479:12)
at async DatastoreApiClient.query (../datastore/main/lib/DatastoreApiClient.ts:268:16)
at async ClientForRemote.query (../client/main/lib/Client.ts:134:25)
at async Object.<anonymous> (../end-to-end/test/payments-broker.e2e.test.ts:129:20)
|
Test Node.js 20 on ubuntu-latest
Process completed with exit code 1.
|
Test Node.js 18 on macos-latest
Restore cache failed: Dependencies file is not found in /Users/runner/work/platform/platform. Supported file pattern: go.sum
|
Test Node.js 20 on macos-latest
Restore cache failed: Dependencies file is not found in /Users/runner/work/platform/platform. Supported file pattern: go.sum
|
Test Node.js 18 on ubuntu-latest
Restore cache failed: Dependencies file is not found in /home/runner/work/platform/platform. Supported file pattern: go.sum
|
Test Node.js 20 on ubuntu-latest
Restore cache failed: Dependencies file is not found in /home/runner/work/platform/platform. Supported file pattern: go.sum
|
Test Node.js 18 on windows-latest
Restore cache failed: Dependencies file is not found in D:\a\platform\platform. Supported file pattern: go.sum
|
Test Node.js 20 on windows-latest
Restore cache failed: Dependencies file is not found in D:\a\platform\platform. Supported file pattern: go.sum
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-dbs--18
Expired
|
608 KB |
|
test-dbs--20
Expired
|
605 KB |
|