build(deps): bump the minor-and-patch group across 1 directory with 8 updates #838
pr-test-gate.yml
on: pull_request
Contracts cargo test
1m 3s
Backend npm test
1m 21s
Annotations
10 errors and 2 warnings
|
tests/soroban-event-worker.test.ts > SorobanEventWorker > Event processing idempotency > should not double-apply depositedAmount/endTime when a stream_topped_up event is re-processed:
backend/tests/soroban-event-worker.test.ts#L578
AssertionError: expected 1700000120n to be 1700000120 // Object.is equality
- Expected:
1700000120
+ Received:
1700000120n
❯ tests/soroban-event-worker.test.ts:578:31
|
|
tests/indexer-state.test.ts:
backend/src/lib/indexer-state.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/lib/indexer-state.ts:1:1
Caused by: Caused by: ReferenceError: Cannot access 'mockFindUnique' before initialization
❯ tests/indexer-state.test.ts:9:19
❯ src/lib/indexer-state.ts:1:1
|
|
tests/health.test.ts > GET /health > returns 503 when indexer is enabled and event-processing failures spike (#844):
backend/tests/health.test.ts#L135
AssertionError: expected 500 to be 503 // Object.is equality
- Expected
+ Received
- 503
+ 500
❯ tests/health.test.ts:135:24
|
|
tests/health.test.ts > GET /health > returns 200 with indexerLag in body for observability:
backend/tests/health.test.ts#L119
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/health.test.ts:119:24
|
|
tests/health.test.ts > GET /health > returns 503 when DB is down regardless of indexer state:
backend/tests/health.test.ts#L109
AssertionError: expected 500 to be 503 // Object.is equality
- Expected
+ Received
- 503
+ 500
❯ tests/health.test.ts:109:24
|
|
tests/health.test.ts > GET /health > returns 503 when DB is up, indexer enabled, and lag exceeds 60 s:
backend/tests/health.test.ts#L99
AssertionError: expected 500 to be 503 // Object.is equality
- Expected
+ Received
- 503
+ 500
❯ tests/health.test.ts:99:24
|
|
tests/health.test.ts > GET /health > returns 200 when DB is up, indexer enabled, and lag is within threshold:
backend/tests/health.test.ts#L88
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/health.test.ts:88:24
|
|
tests/health.test.ts > GET /health > returns 200 when DB is up and indexer is enabled but has no state row yet (cold start):
backend/tests/health.test.ts#L77
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/health.test.ts:77:24
|
|
tests/health.test.ts > GET /health > returns 200 when DB is up and indexer is disabled (no STREAM_CONTRACT_ID):
backend/tests/health.test.ts#L61
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/health.test.ts:61:24
|
|
tests/eventRace.test.ts > Action Controller vs Worker Event Write Race Guard (Issue #831) > withdrawHandler uses upsert on transactionHash_eventType preventing P2002 duplicate crashes when worker processes event first:
backend/tests/eventRace.test.ts#L72
AssertionError: expected "spy" to be called with arguments: [ { where: { …(1) }, …(2) } ]
Received:
1st spy call:
@@ -1,10 +1,14 @@
[
{
- "create": ObjectContaining {
+ "create": {
+ "amount": "500",
"eventType": "WITHDRAWN",
- "streamId": 100,
+ "ledgerSequence": 0,
+ "metadata": "{\"withdrawnBy\":\"GRECIPIENT\"}",
+ "streamId": 100n,
+ "timestamp": 1785424271n,
"transactionHash": "tx_race_123",
},
"update": {},
"where": {
"transactionHash_eventType": {
Number of calls: 1
❯ tests/eventRace.test.ts:72:39
|
|
Contracts cargo 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. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Backend npm 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/
|