Skip to content

fix: resolve confirmed v0.40-dev bug-hunt findings #1318

fix: resolve confirmed v0.40-dev bug-hunt findings

fix: resolve confirmed v0.40-dev bug-hunt findings #1318

Triggered via pull request July 11, 2026 07:07
Status Failure
Total duration 1m 59s
Artifacts –

validate-code.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

23 errors, 3 warnings, and 1 notice
tests/bugs/contractArgParsing.test.ts > BUG: a JSON arg containing a float degrades to a literal string > parseArg with a float field keeps an object, not a string: tests/bugs/contractArgParsing.test.ts#L66
AssertionError: expected 'string' not to be 'string' // Object.is equality ❯ tests/bugs/contractArgParsing.test.ts:66:34
tests/bugs/contractArgParsing.test.ts > BUG: an empty-string arg is coerced to the number 0 > parseScalar(" ") is not silently turned into 0: tests/bugs/contractArgParsing.test.ts#L40
AssertionError: expected +0 not to be +0 // Object.is equality ❯ tests/bugs/contractArgParsing.test.ts:40:34
tests/bugs/contractArgParsing.test.ts > BUG: an empty-string arg is coerced to the number 0 > parseScalar("") stays an empty string: tests/bugs/contractArgParsing.test.ts#L36
AssertionError: expected +0 to be '' // Object.is equality - Expected: "" + Received: 0 ❯ tests/bugs/contractArgParsing.test.ts:36:29
tests/bugs/contractArgParsing.test.ts > BUG: parseScalar crashes on a non-integer numeric arg > parseScalar("-0.5") must not throw: tests/bugs/contractArgParsing.test.ts#L28
AssertionError: expected [Function] to not throw an error but 'SyntaxError: Cannot convert -0.5 to a…' was thrown - Expected: undefined + Received: "SyntaxError: Cannot convert -0.5 to a BigInt" ❯ tests/bugs/contractArgParsing.test.ts:28:43
tests/bugs/contractArgParsing.test.ts > BUG: parseScalar crashes on a non-integer numeric arg > parseScalar("1.5") must not throw: tests/bugs/contractArgParsing.test.ts#L24
AssertionError: expected [Function] to not throw an error but 'SyntaxError: Cannot convert 1.5 to a …' was thrown - Expected: undefined + Received: "SyntaxError: Cannot convert 1.5 to a BigInt" ❯ tests/bugs/contractArgParsing.test.ts:24:42
tests/bugs/browserSendLabelLeak.test.ts > BUG: browserSend nextLabel leaks after a failed send > a rejected send must not carry its label into the next transaction: tests/bugs/browserSendLabelLeak.test.ts#L86
AssertionError: expected last "spy" call to have been called with [ ObjectContaining{…} ] - Expected + Received [ - ObjectContaining { - "label": "GenLayer transaction", + { + "data": "0x", + "gas": undefined, + "gasPrice": undefined, + "label": "Deploy Counter.py", + "nonce": undefined, + "to": "0xB", + "type": undefined, + "value": undefined, }, ] ❯ tests/bugs/browserSendLabelLeak.test.ts:86:24
tests/bugs/browserBridgeConnectedValidation.test.ts > BUG: /api/connected must validate the address > a malformed JSON body must NOT mark the bridge connected: tests/bugs/browserBridgeConnectedValidation.test.ts#L82
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ tests/bugs/browserBridgeConnectedValidation.test.ts:82:41
tests/bugs/browserBridgeConnectedValidation.test.ts > BUG: /api/connected must validate the address > an empty body must NOT mark the bridge connected: tests/bugs/browserBridgeConnectedValidation.test.ts#L64
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ tests/bugs/browserBridgeConnectedValidation.test.ts:64:41
Build and Test (ubuntu-latest)
The strategy configuration was canceled because "build-and-test.macos-latest" failed
tests/bugs/contractArgParsing.test.ts > BUG: a JSON arg containing a float degrades to a literal string > parseArg with a float field keeps an object, not a string: tests/bugs/contractArgParsing.test.ts#L66
AssertionError: expected 'string' not to be 'string' // Object.is equality ❯ tests/bugs/contractArgParsing.test.ts:66:34
tests/bugs/contractArgParsing.test.ts > BUG: an empty-string arg is coerced to the number 0 > parseScalar(" ") is not silently turned into 0: tests/bugs/contractArgParsing.test.ts#L40
AssertionError: expected +0 not to be +0 // Object.is equality ❯ tests/bugs/contractArgParsing.test.ts:40:34
tests/bugs/contractArgParsing.test.ts > BUG: an empty-string arg is coerced to the number 0 > parseScalar("") stays an empty string: tests/bugs/contractArgParsing.test.ts#L36
AssertionError: expected +0 to be '' // Object.is equality - Expected: "" + Received: 0 ❯ tests/bugs/contractArgParsing.test.ts:36:29
tests/bugs/contractArgParsing.test.ts > BUG: parseScalar crashes on a non-integer numeric arg > parseScalar("-0.5") must not throw: tests/bugs/contractArgParsing.test.ts#L28
AssertionError: expected [Function] to not throw an error but 'SyntaxError: Cannot convert -0.5 to a…' was thrown - Expected: undefined + Received: "SyntaxError: Cannot convert -0.5 to a BigInt" ❯ tests/bugs/contractArgParsing.test.ts:28:43
tests/bugs/contractArgParsing.test.ts > BUG: parseScalar crashes on a non-integer numeric arg > parseScalar("1.5") must not throw: tests/bugs/contractArgParsing.test.ts#L24
AssertionError: expected [Function] to not throw an error but 'SyntaxError: Cannot convert 1.5 to a …' was thrown - Expected: undefined + Received: "SyntaxError: Cannot convert 1.5 to a BigInt" ❯ tests/bugs/contractArgParsing.test.ts:24:42
tests/bugs/browserSendLabelLeak.test.ts > BUG: browserSend nextLabel leaks after a failed send > a rejected send must not carry its label into the next transaction: tests/bugs/browserSendLabelLeak.test.ts#L86
AssertionError: expected last "spy" call to have been called with [ ObjectContaining{…} ] - Expected + Received [ - ObjectContaining { - "label": "GenLayer transaction", + { + "data": "0x", + "gas": undefined, + "gasPrice": undefined, + "label": "Deploy Counter.py", + "nonce": undefined, + "to": "0xB", + "type": undefined, + "value": undefined, }, ] ❯ tests/bugs/browserSendLabelLeak.test.ts:86:24
tests/bugs/browserBridgeConnectedValidation.test.ts > BUG: /api/connected must validate the address > a malformed JSON body must NOT mark the bridge connected: tests/bugs/browserBridgeConnectedValidation.test.ts#L82
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ tests/bugs/browserBridgeConnectedValidation.test.ts:82:41
tests/bugs/browserBridgeConnectedValidation.test.ts > BUG: /api/connected must validate the address > an empty body must NOT mark the bridge connected: tests/bugs/browserBridgeConnectedValidation.test.ts#L64
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ tests/bugs/browserBridgeConnectedValidation.test.ts:64:41
Build and Test (windows-latest)
The strategy configuration was canceled because "build-and-test.macos-latest" failed
Build and Test (windows-latest)
The operation was canceled.
Build and Test (macos-latest)
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/
Build and Test (ubuntu-latest)
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/
Build and Test (windows-latest)
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/
Build and Test (macos-latest)
The macos-latest label will migrate to macOS 26 beginning June 15, 2026. For more information see https://github.com/actions/runner-images/issues/14167