feat(backend): harden Admin Dashboard Service — rate limiting, signature verification, SQL optimization, error recovery#1006
Merged
emdevelopa merged 1 commit intoJun 25, 2026
Annotations
10 errors and 1 warning
|
Run backend tests:
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
|
|
Run backend tests:
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
|
|
Run backend tests:
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
|
|
Run backend tests:
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
|
|
Run backend tests:
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
|
|
Run backend tests:
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
|
|
Run backend tests:
backend/src/lib/horizon-poller.test.js#L395
AssertionError: expected 0 to be greater than 0
❯ src/lib/horizon-poller.test.js:395:42
|
|
Run backend tests:
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
|
|
Run backend tests:
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
|
|
Run backend tests:
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
|
|
Complete job
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/
|
background
wait
wait-all
cancel
parallel
Loading