Skip to content

fixes issue 944

fixes issue 944 #291

Triggered via pull request June 25, 2026 17:50
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
Frontend — Lint & Build
15s
Frontend — Lint & Build
Backend — Lint & Test
41s
Backend — Lint & Test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Frontend — Lint & Build
Process completed with exit code 1.
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) > successful payment confirmation > confirms a matching payment and emits events: backend/src/lib/horizon-poller.js#L304
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:304: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
src/lib/auth.test.js > createApiKeyAuth > enforces signature verification when signature headers are present: backend/src/lib/auth.test.js#L138
AssertionError: expected "spy" to be called with arguments: [ { secret: 'signed-api-key', …(5) } ] Received: 1st spy call: Array [ Object { "body": Object { "amount": 1, }, + "clientIp": "1.2.3.4", "method": "POST", "path": "/api/payments", "secret": "signed-api-key", "signatureHeader": "sha256=abcd", "timestampHeader": "1713916800", }, ] Number of calls: 1 ❯ src/lib/auth.test.js:138:36
Frontend — Lint & Build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v3. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/