feat: update documentation for payments #1005
lint-and-test.yml
on: pull_request
Matrix: lint-and-test
Matrix: test
Annotations
5 errors and 6 warnings
Payments E2E › it can do end to end payments flow for a domain datastore:
datastore/core/db/DatastoreChannelHoldsDb.ts#L164
Could not finalize the payment. chan1mpl4nstgzsugukruk494v9qcamrtsq3ks4pyu9w2gkncyjkcjyrqrrxkx5 -> adjustment: 500000
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.e2e.test.ts:180:20)
|
Payments with Broker E2E › it can use a databroker for a domain datastore:
home/runner/work/platform/hero/commons/lib/TypeSerializer.ts#L253
Database(
Database(
SqliteError {
code: 5,
message: "database is locked",
},
),
)
------SERIALIZER----------------------------------
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 HttpTransportToCore.send (../../hero/net/lib/HttpTransportToCore.ts:60:40)
at async Promise.all (index 1)
at async ConnectionToCore.sendRequest (../../hero/net/lib/ConnectionToCore.ts:166:24)
at async BrokerChannelHoldSource.createChannelHold (../datastore/main/payments/BrokerChannelHoldSource.ts:70:25)
at async Object.cb (../datastore/main/payments/ArgonReserver.ts:183:27)
at async Queue.next (../../hero/commons/lib/Queue.ts:188:19)
------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 BrokerChannelHoldSource.createChannelHold (../datastore/main/payments/BrokerChannelHoldSource.ts:70:25)
at async Object.cb (../datastore/main/payments/ArgonReserver.ts:183:27)
at async Queue.next (../../hero/commons/lib/Queue.ts:188:19)
------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-broker.e2e.test.ts:129: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-broker.e2e.test.ts:129:20)
|
Test Node.js 20 on ubuntu-latest
Process completed with exit code 1.
|
Payments with Broker E2E › it can use a databroker for a domain datastore:
end-to-end/test/payments-broker.e2e.test.ts#L32
thrown: "Exceeded timeout of 60000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at ../end-to-end/test/payments-broker.e2e.test.ts:32:3
at Object.<anonymous> (../end-to-end/test/payments-broker.e2e.test.ts:31:20)
|
Test Node.js 18 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 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 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 windows-latest
Restore cache failed: Dependencies file is not found in D:\a\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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-dbs--18
Expired
|
564 KB |
|
test-dbs--20
Expired
|
599 KB |
|