Skip to content

feat: cache latest fuels version #15180

feat: cache latest fuels version

feat: cache latest fuels version #15180

Triggered via pull request September 20, 2024 07:17
Status Failure
Total duration 10m 36s
Artifacts 1

test.yaml

on: pull_request
Matrix: environments
integration
0s
integration
Fit to window
Zoom out
Zoom in

Annotations

15 errors
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts > checkForAndDisplayUpdates > should fail gracefully if the fetch fails: packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L41
AssertionError: expected "log" to be called with arguments: [ Array(1) ] Received: 1st log call: Array [ " - Unable to fetch latest fuels version. Skipping... + ✅ Your fuels version is up to date: 0.94.6 ", ] Number of calls: 1 ❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:41:17
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts > checkForAndDisplayUpdates > should handle fetch timing out: packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L67
AssertionError: expected "log" to be called with arguments: [ Array(1) ] Received: 1st log call: Array [ " - Unable to fetch latest fuels version. Skipping... + ✅ Your fuels version is up to date: 0.94.6 ", ] Number of calls: 1 ❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:67:17
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts > getLatestFuelsVersion > should fail if fetch fails: packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L12
AssertionError: promise resolved "'0.94.6'" instead of rejecting - Expected: [Error: rejected promise] + Received: "0.94.6" ❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:12:41
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts > getLatestFuelsVersion > should throw if fetch times out: packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L22
AssertionError: promise resolved "'0.94.6'" instead of rejecting - Expected: [Error: rejected promise] + Received: "0.94.6" ❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:22:41
node@22
Process completed with exit code 1.
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts > checkForAndDisplayUpdates > should fail gracefully if the fetch fails: packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L41
AssertionError: expected "log" to be called with arguments: [ Array(1) ] Received: 1st log call: Array [ " - Unable to fetch latest fuels version. Skipping... + ✅ Your fuels version is up to date: 0.94.6 ", ] Number of calls: 1 ❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:41:17
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts > checkForAndDisplayUpdates > should handle fetch timing out: packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L67
AssertionError: expected "log" to be called with arguments: [ Array(1) ] Received: 1st log call: Array [ " - Unable to fetch latest fuels version. Skipping... + ✅ Your fuels version is up to date: 0.94.6 ", ] Number of calls: 1 ❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:67:17
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts > getLatestFuelsVersion > should fail if fetch fails: packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L12
AssertionError: promise resolved "'0.94.6'" instead of rejecting - Expected: [Error: rejected promise] + Received: "0.94.6" ❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:12:41
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts > getLatestFuelsVersion > should throw if fetch times out: packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L22
AssertionError: promise resolved "'0.94.6'" instead of rejecting - Expected: [Error: rejected promise] + Received: "0.94.6" ❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:22:41
node@20
Process completed with exit code 1.
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts > checkForAndDisplayUpdates > should fail gracefully if the fetch fails: packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L41
AssertionError: expected "log" to be called with arguments: [ Array(1) ] Received: 1st log call: Array [ " - Unable to fetch latest fuels version. Skipping... + ✅ Your fuels version is up to date: 0.94.6 ", ] Number of calls: 1 ❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:41:17
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts > checkForAndDisplayUpdates > should handle fetch timing out: packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L67
AssertionError: expected "log" to be called with arguments: [ Array(1) ] Received: 1st log call: Array [ " - Unable to fetch latest fuels version. Skipping... + ✅ Your fuels version is up to date: 0.94.6 ", ] Number of calls: 1 ❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:67:17
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts > getLatestFuelsVersion > should fail if fetch fails: packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L12
AssertionError: promise resolved "'0.94.6'" instead of rejecting - Expected: [Error: rejected promise] + Received: "0.94.6" ❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:12:41
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts > getLatestFuelsVersion > should throw if fetch times out: packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L22
AssertionError: promise resolved "'0.94.6'" instead of rejecting - Expected: [Error: rejected promise] + Received: "0.94.6" ❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:22:41
node@18
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
browser
1.37 MB