Merge pull request #858 from dannyy2000/feature/be-enhance-error-reco… #235
ci.yml
on: push
Frontend — Lint & Build
11s
Backend — Lint & Test
31s
Annotations
11 errors and 2 warnings
|
Frontend — Lint & Build
Process completed with exit code 1.
|
|
src/lib/transaction-signer-rate-limit.test.js > Transaction Signer Rate Limiting > createTransactionSignerRateLimit > creates rate limiter with default configuration:
backend/src/lib/transaction-signer-rate-limit.test.js#L146
AssertionError: expected undefined to be 60000 // Object.is equality
- Expected:
60000
+ Received:
undefined
❯ src/lib/transaction-signer-rate-limit.test.js:146:32
|
|
src/lib/horizon-poller.test.js > Ledger Monitor — error recovery (Issue #627) > merchant notification lookup > caches merchant notification config within one poll cycle:
backend/src/lib/horizon-poller.test.js#L729
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/lib/horizon-poller.test.js:729:31
|
|
src/lib/horizon-poller.test.js > Ledger Monitor — error recovery (Issue #627) > merchant notification lookup > continues confirmation when merchant notification config lookup fails:
backend/src/lib/horizon-poller.test.js#L669
AssertionError: expected "spy" to be called with arguments: [ { asset: 'XLM' } ]
Received:
Number of calls: 0
❯ src/lib/horizon-poller.test.js:669:47
|
|
src/lib/horizon-poller.test.js > Ledger Monitor — error recovery (Issue #627) > overpayment handling > confirms payment with overpayment flag:
backend/src/lib/horizon-poller.test.js#L509
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
Number of calls: 0
❯ src/lib/horizon-poller.test.js:509:26
|
|
src/lib/horizon-poller.test.js > Ledger Monitor — error recovery (Issue #627) > underpayment handling > marks payment as failed on underpayment:
backend/src/lib/horizon-poller.test.js#L464
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
Number of calls: 0
❯ src/lib/horizon-poller.test.js:464:26
|
|
src/lib/horizon-poller.test.js > Ledger Monitor — error recovery (Issue #627) > DB fetch failure and back-off > resets consecutiveFailures after a successful DB fetch:
backend/src/lib/horizon-poller.test.js#L422
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ src/lib/horizon-poller.test.js:422:53
|
|
src/lib/horizon-poller.test.js > Ledger Monitor — error recovery (Issue #627) > DB fetch failure and back-off > increments consecutiveFailures on DB error:
backend/src/lib/horizon-poller.test.js#L395
AssertionError: expected 0 to be greater than 0
❯ src/lib/horizon-poller.test.js:395:42
|
|
src/lib/horizon-poller.test.js > Ledger Monitor — error recovery (Issue #627) > successful payment confirmation > confirms a matching payment and emits events:
backend/src/lib/horizon-poller.js#L298
Error: [vitest] No "ledgerMonitorCycleDuration" export is defined on the "./metrics.js" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("./metrics.js"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ pollPendingPayments src/lib/horizon-poller.js:298:5
❯ src/lib/horizon-poller.test.js:255:7
|
|
src/lib/db-pooler-optimized.test.js > Database Pooler - Signature Verification (Issue #759) > hashQueryResult > generates different hashes for different results:
backend/src/lib/db-pooler-optimized.test.js#L212
AssertionError: expected 'be3af032c78b126cce1c1ba3e291b8e1d6ab8…' not to be 'be3af032c78b126cce1c1ba3e291b8e1d6ab8…' // Object.is equality
❯ src/lib/db-pooler-optimized.test.js:212:25
|
|
src/lib/db-enhanced.test.js:
backend/src/lib/db-enhanced.js#L25
Error: [vitest] No "default" export is defined on the "pg" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("pg"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/lib/db-enhanced.js:25:18
❯ src/lib/db-enhanced.test.js:29:25
|
|
Frontend — Lint & Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Backend — Lint & Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|