[Backend] Add iss/aud claims to JWT payload type, issuance, and verification #1097 - #1161
Open
abimbolaalabi wants to merge 2 commits into
Open
[Backend] Add iss/aud claims to JWT payload type, issuance, and verification #1097#1161abimbolaalabi wants to merge 2 commits into
abimbolaalabi wants to merge 2 commits into
Annotations
10 errors and 1 warning
|
Run backend tests:
backend/tests/integration/pause-resume.regression.test.ts#L145
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
[
- ObjectContaining {
- "data": ObjectContaining {
+ {
+ "data": {
"isPaused": true,
+ "lastUpdateTime": 1785413291,
+ "pausedAt": 1785413291,
},
"where": {
- "streamId": 77,
+ "streamId": 77n,
},
},
]
Number of calls: 1
❯ tests/integration/pause-resume.regression.test.ts:145:38
|
|
Run backend tests:
backend/src/workers/soroban-event-worker.ts#L1122
TypeError: Cannot mix BigInt and other types, use explicit conversions
❯ src/workers/soroban-event-worker.ts:1122:27
|
|
Run backend tests:
backend/tests/integration/admin-metrics.test.ts#L231
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/admin-metrics.test.ts:231:24
|
|
Run backend tests:
backend/tests/integration/admin-metrics.test.ts#L180
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/admin-metrics.test.ts:180:26
|
|
Run backend tests:
backend/tests/integration/admin-metrics.test.ts#L172
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/admin-metrics.test.ts:172:24
|
|
Run backend tests:
backend/tests/integration/admin-metrics.test.ts#L150
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/admin-metrics.test.ts:150:24
|
|
Run backend tests:
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
|
|
Run backend tests:
backend/tests/soroban-event-worker.test.ts#L431
AssertionError: promise rejected "TypeError: Cannot mix BigInt and other ty…" instead of resolving
❯ tests/soroban-event-worker.test.ts:431:87
Caused by: Caused by: TypeError: Cannot mix BigInt and other types, use explicit conversions
❯ src/workers/soroban-event-worker.ts:1122:27
|
|
Run backend tests:
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
|
|
Run backend tests:
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": 1785413293n,
"transactionHash": "tx_race_123",
},
"update": {},
"where": {
"transactionHash_eventType": {
Number of calls: 1
❯ tests/eventRace.test.ts:72:39
|
|
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