Skip to content

feat(react): batch cost estimate, cancel refund, pause flag, resume guard #755

feat(react): batch cost estimate, cancel refund, pause flag, resume guard

feat(react): batch cost estimate, cancel refund, pause flag, resume guard #755

Triggered via pull request October 18, 2026 22:42
Status Failure
Total duration 2m 24s
Artifacts –

ci.yml

on: pull_request
Build
Build
Browser compatibility (E2E)
Browser compatibility (E2E)
@streamfi/react
@streamfi/react
Bundle size check
Bundle size check
Fit to window
Zoom out
Zoom in

Annotations

19 errors, 12 warnings, and 2 notices
Lint & typecheck
Process completed with exit code 1.
Lint & typecheck: src/streams.ts#L806
Unexpected any. Specify a different type
Lint & typecheck: src/signer.ts#L121
'tx' is defined but never used. Allowed unused args must match /^_/u
Lint & typecheck: src/indexer.ts#L780
Unexpected constant condition
Lint & typecheck: src/errors.ts#L1
'SorobanRpc' is defined but never used. Allowed unused vars must match /^_/u
Lint & typecheck: src/constants.ts#L1
'StrKey' is defined but never used. Allowed unused vars must match /^_/u
Lint & typecheck: src/builder.ts#L694
Unexpected any. Specify a different type
Lint & typecheck: src/adapters/walletconnect.ts#L18
Unexpected any. Specify a different type
Lint & typecheck: src/adapters/walletconnect.ts#L17
Unexpected any. Specify a different type
Test
Process completed with exit code 1.
src/tests/streams.test.ts > StreamsModule — create() param validation > throws when durationSeconds is below MIN_STREAM_DURATION_SECONDS: src/tests/streams.test.ts#L214
AssertionError: expected [Function] to throw error matching /durationSeconds.*at least.*3600/ but got 'Invalid token address: must be "nativ…' - Expected: /durationSeconds.*at least.*3600/ + Received: "Invalid token address: must be \"native\", \"USDC\", or a valid 56-character Stellar address" ❯ src/tests/streams.test.ts:214:8
src/tests/streams.test.ts > StreamsModule — create() param validation > throws when neither durationSeconds nor ratePerSecond is given: src/tests/streams.test.ts#L202
AssertionError: expected [Function] to throw error matching /durationSeconds|ratePerSecond/ but got 'Invalid token address: must be "nativ…' - Expected: /durationSeconds|ratePerSecond/ + Received: "Invalid token address: must be \"native\", \"USDC\", or a valid 56-character Stellar address" ❯ src/tests/streams.test.ts:202:8
src/tests/soroban-retry-after.test.ts > createRpcServer — 429 retry (#635) > falls back to the default backoff when no Retry-After header is present: src/tests/soroban-retry-after.test.ts#L79
AssertionError: expected "vi.fn()" to be called 1 times, but got 2 times ❯ src/tests/soroban-retry-after.test.ts:79:33
src/tests/soroban-retry-after.test.ts > createRpcServer — 429 retry (#635) > retries a rate-limited call and waits exactly the Retry-After delay: src/tests/soroban-retry-after.test.ts#L62
AssertionError: expected "vi.fn()" to be called 1 times, but got 2 times ❯ src/tests/soroban-retry-after.test.ts:62:33
src/tests/relayer-stress.test.ts > WebSocketRelayer — Heartbeat/Ping Support > respects custom heartbeat and timeout options: src/tests/relayer-stress.test.ts#L582
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/tests/relayer-stress.test.ts:582:3
src/tests/relayer-stress.test.ts > WebSocketRelayer — Heartbeat/Ping Support > stops heartbeat on disconnect: src/tests/relayer-stress.test.ts#L564
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/tests/relayer-stress.test.ts:564:3
src/tests/relayer-stress.test.ts > WebSocketRelayer — Heartbeat/Ping Support > closes connection when pong is not received within heartbeat timeout: src/tests/relayer-stress.test.ts#L541
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/tests/relayer-stress.test.ts:541:3
src/tests/relayer-stress.test.ts > WebSocketRelayer — Heartbeat/Ping Support > resets heartbeat timeout when pong is received: src/tests/relayer-stress.test.ts#L514
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/tests/relayer-stress.test.ts:514:3
src/tests/relayer-stress.test.ts > WebSocketRelayer — Heartbeat/Ping Support > sends ping at configurable heartbeat intervals: src/tests/relayer-stress.test.ts#L495
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/tests/relayer-stress.test.ts:495:3
Lint & typecheck
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/
Lint & typecheck: src/custom-fetch.ts#L16
'SorobanRpc' import from '@stellar/stellar-sdk' is restricted. SorobanRpc is deprecated in @stellar/stellar-sdk v12. Import rpc instead
Lint & typecheck: src/client.ts#L19
'SorobanRpc' import from '@stellar/stellar-sdk' is restricted. SorobanRpc is deprecated in @stellar/stellar-sdk v12. Import rpc instead
Lint & typecheck: src/builder.ts#L197
Ensure you are not calling Number() on stroop or amount values. These are u128 values that must use BigInt or string arithmetic to avoid precision loss (e.g., Number(stroopAmount), Number(depositAmount))
Lint & typecheck: src/builder.ts#L194
Ensure you are not calling Number() on stroop or amount values. These are u128 values that must use BigInt or string arithmetic to avoid precision loss (e.g., Number(stroopAmount), Number(depositAmount))
Lint & typecheck: src/builder.ts#L187
Ensure you are not calling Number() on stroop or amount values. These are u128 values that must use BigInt or string arithmetic to avoid precision loss (e.g., Number(stroopAmount), Number(depositAmount))
Lint & typecheck: src/builder.ts#L162
Ensure you are not calling Number() on stroop or amount values. These are u128 values that must use BigInt or string arithmetic to avoid precision loss (e.g., Number(stroopAmount), Number(depositAmount))
Lint & typecheck: src/builder.ts#L159
Ensure you are not calling Number() on stroop or amount values. These are u128 values that must use BigInt or string arithmetic to avoid precision loss (e.g., Number(stroopAmount), Number(depositAmount))
Lint & typecheck: src/builder.ts#L152
Ensure you are not calling Number() on stroop or amount values. These are u128 values that must use BigInt or string arithmetic to avoid precision loss (e.g., Number(stroopAmount), Number(depositAmount))
Lint & typecheck: src/builder.ts#L1
'SorobanRpc' import from '@stellar/stellar-sdk' is restricted. SorobanRpc is deprecated in @stellar/stellar-sdk v12. Import rpc instead
Lint & typecheck: src/batch-tx.ts#L34
'SorobanRpc' import from '@stellar/stellar-sdk' is restricted. SorobanRpc is deprecated in @stellar/stellar-sdk v12. Import rpc instead
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/
Lint & typecheck
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Test
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"