Skip to content

Yuheard test CI fail fix #33

Yuheard test CI fail fix

Yuheard test CI fail fix #33

Triggered via pull request August 29, 2026 00:53
@CjLogicCjLogic
opened #5
dev
Status Failure
Total duration 3m 38s
Artifacts –

ci.yml

on: pull_request
Matrix: verify
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
verify (macos-latest)
Process completed with exit code 1.
src/main/hub-relay.test.ts > authenticated encrypted Hub relay > applies Brain authorization reductions immediately and stops affected resources: src/main/hub-relay.test.ts#L564
AssertionError: expected { type: 'rpcResult', …(1) } to match object { type: 'rpcResult', …(1) } (5 matching properties omitted from actual) - Expected + Received @@ -1,11 +1,11 @@ { "response": { "ok": true, "result": { "roots": [ - "/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/crewcode-hub-relay-6kRgba", + "/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/crewcode-hub-relay-6kRgba", ], "scopes": [ "terminal", "workspace:write", ], ❯ src/main/hub-relay.test.ts:564:118
src/main/brain-authorization-policy.test.ts > Brain authorization policy > persists canonical roots, scopes, and local audit across restart: src/main/brain-authorization-policy.test.ts#L14
AssertionError: expected { version: 1, …(4) } to match object { scopes: [ 'agent', …(1) ], …(2) } (2 matching properties omitted from actual) - Expected + Received @@ -4,11 +4,11 @@ "at": 200, "userId": "owner", }, ], "roots": [ - "/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/brain-policy-LyqF2r/workspace", + "/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/brain-policy-LyqF2r/workspace", ], "scopes": [ "agent", "workspace:read", ], ❯ src/main/brain-authorization-policy.test.ts:14:21
verify (windows-latest)
Process completed with exit code 1.
src/main/yuheard-wrapper.test.ts > prependWrapperToPath > prepends the wrapper dir to an existing PATH: src/main/yuheard-wrapper.test.ts#L191
AssertionError: expected '/wrappers/pn-1;/usr/bin:/bin' to be '/wrappers/pn-1:/usr/bin:/bin' // Object.is equality Expected: "/wrappers/pn-1:/usr/bin:/bin" Received: "/wrappers/pn-1;/usr/bin:/bin" ❯ src/main/yuheard-wrapper.test.ts:191:69
src/main/yuheard-wrapper.test.ts > installYuHeardWrapper > creates one shim per agent id and marks them executable: src/main/yuheard-wrapper.test.ts#L40
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/main/yuheard-wrapper.test.ts:40:37
src/main/pty-service.yuheard.test.ts > PtyService YuHeard bundle boundary > uses injected server access and statically imported wrappers for a Fish shell: src/main/pty-service.yuheard.test.ts#L79
AssertionError: expected "vi.fn()" to be called with arguments: [ 'pane-1', '/tmp' ] Received: 1st vi.fn() call: [ "pane-1", - "/tmp", + "C:\\Users\\runneradmin", ] Number of calls: 1 ❯ src/main/pty-service.yuheard.test.ts:79:29
src/main/hub-relay.test.ts > authenticated encrypted Hub relay > applies Brain authorization reductions immediately and stops affected resources: src/main/hub-relay.test.ts#L30
Error: EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\crewcode-hub-relay-fYLz0u' ❯ src/main/hub-relay.test.ts:30:23 ❯ src/main/hub-relay.test.ts:26:68 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4082, code: 'EBUSY', syscall: 'rmdir', path: 'C:\Users\RUNNER~1\AppData\Local\Temp\crewcode-hub-relay-fYLz0u' }
src/main/hub-machine-enrollment.test.ts > Hub machine client security > parses enrollment and brain options without requiring secrets in argv: src/main/hub-machine-enrollment.test.ts#L66
AssertionError: expected { …(6) } to match object { …(2) } (4 matching properties omitted from actual) - Expected + Received @@ -2,8 +2,8 @@ "allowedScopes": [ "workspace:read", "agent", ], "allowedWorkspaceRoots": [ - "/tmp", + "D:\\tmp", ], } ❯ src/main/hub-machine-enrollment.test.ts:66:136
src/main/hub-local-brain.test.ts > local Brain supervisor > spawns the sibling Brain after owner setup and stops it: src/main/hub-local-brain.test.ts#L196
AssertionError: expected '\opt\crewcode\out\main\brain.js' to be '/opt/crewcode/out/main/brain.js' // Object.is equality Expected: "/opt/crewcode/out/main/brain.js" Received: "\opt\crewcode\out\main\brain.js" ❯ src/main/hub-local-brain.test.ts:196:29
src/main/hub-local-brain.test.ts > local Brain spawn plan > spawns sibling brain.js from a compiled Hub entry: src/main/hub-local-brain.test.ts#L58
AssertionError: expected { execPath: '/usr/bin/node', …(1) } to deeply equal { execPath: '/usr/bin/node', …(1) } - Expected + Received { "args": [ - "/opt/crewcode/out/main/brain.js", + "\\opt\\crewcode\\out\\main\\brain.js", "--data-dir", "/brain", ], "execPath": "/usr/bin/node", } ❯ src/main/hub-local-brain.test.ts:58:9
src/main/brain-authorization-policy.test.ts > Brain authorization policy > persists canonical roots, scopes, and local audit across restart: src/main/brain-authorization-policy.test.ts#L15
AssertionError: expected 438 to be 384 // Object.is equality - Expected + Received - 384 + 438 ❯ src/main/brain-authorization-policy.test.ts:15:41
verify (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/
verify (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/
verify (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/