Skip to content

refactor(agentos): simplify the VM runtime API #1458

refactor(agentos): simplify the VM runtime API

refactor(agentos): simplify the VM runtime API #1458

Triggered via pull request September 30, 2026 05:31
Status Failure
Total duration 14m 49s
Artifacts –

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 5 warnings, and 6 notices
Checks
Process completed with exit code 1.
Core PR
Process completed with exit code 1.
tests/host-function-permissions.test.ts > hostFunction collection permissions > allows hostFunction collection invocation when a matching hostFunction permission is granted: packages/runtime-core/dist/protocol-client.js#L111
SidecarRejectedError: sidecar rejected request 10: invalid_state: package dir /home/runner/work/agentos/agentos/software/sed/dist/package.aospkg has neither package.aospkg nor agentos-package.json ❯ SidecarProtocolClient.sendRequest ../runtime-core/dist/protocol-client.js:111:19 ❯ StdioSidecarProtocolClient.sendRequest ../runtime-core/dist/native-client.js:87:16 ❯ SidecarProcess.sendRequest ../runtime-core/dist/sidecar-process.js:1059:16 ❯ SidecarProcess.configureVm ../runtime-core/dist/sidecar-process.js:187:26 ❯ createVmAdmin src/agent-os.ts:2963:26 ❯ Object.createVm src/agent-os.ts:6225:18 ❯ AgentOsSidecarClient.createVm src/sidecar/rpc-client.ts:3316:4 ❯ leaseAgentOsSidecarVm src/agent-os.ts:6159:14 ❯ AgentOs.create src/agent-os.ts:3088:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { requestId: 10, detail: { type: 'rejected', code: 'invalid_state', message: 'package dir /home/runner/work/agentos/agentos/software/sed/dist/package.aospkg has neither package.aospkg nor agentos-package.json', limit_name: null, configured_limit: null, current_usage: null, requested: null, unit: null, scope: null, vm_id: null, session_generation: null, capability_id: null, operation: null, configuration_path: null, retryable: null, errno: null } }
tests/host-function-permissions.test.ts > hostFunction collection permissions > denies hostFunction collection invocation by default until hostFunction permissions are granted: packages/runtime-core/dist/protocol-client.js#L111
SidecarRejectedError: sidecar rejected request 7: invalid_state: package dir /home/runner/work/agentos/agentos/software/sed/dist/package.aospkg has neither package.aospkg nor agentos-package.json ❯ SidecarProtocolClient.sendRequest ../runtime-core/dist/protocol-client.js:111:19 ❯ StdioSidecarProtocolClient.sendRequest ../runtime-core/dist/native-client.js:87:16 ❯ SidecarProcess.sendRequest ../runtime-core/dist/sidecar-process.js:1059:16 ❯ SidecarProcess.configureVm ../runtime-core/dist/sidecar-process.js:187:26 ❯ createVmAdmin src/agent-os.ts:2963:26 ❯ Object.createVm src/agent-os.ts:6225:18 ❯ AgentOsSidecarClient.createVm src/sidecar/rpc-client.ts:3316:4 ❯ leaseAgentOsSidecarVm src/agent-os.ts:6159:14 ❯ AgentOs.create src/agent-os.ts:3088:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { requestId: 7, detail: { type: 'rejected', code: 'invalid_state', message: 'package dir /home/runner/work/agentos/agentos/software/sed/dist/package.aospkg has neither package.aospkg nor agentos-package.json', limit_name: null, configured_limit: null, current_usage: null, requested: null, unit: null, scope: null, vm_id: null, session_generation: null, capability_id: null, operation: null, configuration_path: null, retryable: null, errno: null } }
tests/host-function-permissions.test.ts > hostFunction collection permissions > allows hostFunction collection invocation with default permissions: packages/runtime-core/dist/protocol-client.js#L111
SidecarRejectedError: sidecar rejected request 4: invalid_state: package dir /home/runner/work/agentos/agentos/software/sed/dist/package.aospkg has neither package.aospkg nor agentos-package.json ❯ SidecarProtocolClient.sendRequest ../runtime-core/dist/protocol-client.js:111:19 ❯ StdioSidecarProtocolClient.sendRequest ../runtime-core/dist/native-client.js:87:16 ❯ SidecarProcess.sendRequest ../runtime-core/dist/sidecar-process.js:1059:16 ❯ SidecarProcess.configureVm ../runtime-core/dist/sidecar-process.js:187:26 ❯ createVmAdmin src/agent-os.ts:2963:26 ❯ Object.createVm src/agent-os.ts:6225:18 ❯ AgentOsSidecarClient.createVm src/sidecar/rpc-client.ts:3316:4 ❯ leaseAgentOsSidecarVm src/agent-os.ts:6159:14 ❯ AgentOs.create src/agent-os.ts:3088:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { requestId: 4, detail: { type: 'rejected', code: 'invalid_state', message: 'package dir /home/runner/work/agentos/agentos/software/sed/dist/package.aospkg has neither package.aospkg nor agentos-package.json', limit_name: null, configured_limit: null, current_usage: null, requested: null, unit: null, scope: null, vm_id: null, session_generation: null, capability_id: null, operation: null, configuration_path: null, retryable: null, errno: null } }
tests/host-function-command-exec.test.ts: packages/core/tests/host-function-command-exec.test.ts#L15
TypeError: hostFunction is not a function ❯ tests/host-function-command-exec.test.ts:15:13
tests/generated-protocol.test.ts > generated sidecar protocol > preserves guest filesystem call offsets: packages/core/tests/generated-protocol.test.ts#L382
TypeError: Cannot read properties of undefined (reading 'initialBufferLength') ❯ tests/generated-protocol.test.ts:382:26
Runtime Core PR
Process completed with exit code 1.
tests/integration/shim-streaming.test.ts > WASM shim command smoke > nohup and stdbuf execute guest shell commands through WasmVM: packages/runtime-core/tests/integration/shim-streaming.test.ts#L24
AssertionError: expected 127 to be +0 // Object.is equality - Expected + Received - 0 + 127 ❯ tests/integration/shim-streaming.test.ts:24:34
tests/request-payloads.test.ts > request payload conversion > maps authentication and session requests: packages/runtime-core/tests/request-payloads.test.ts#L15
AssertionError: expected { tag: 'AuthenticateRequest', …(1) } to deeply equal { tag: 'AuthenticateRequest', …(1) } - Expected + Received Object { "tag": "AuthenticateRequest", "val": Object { "authToken": "token", "bridgeVersion": 1, "clientName": "agentos", - "protocolVersion": 10, + "protocolVersion": 11, }, } ❯ tests/request-payloads.test.ts:15:5
CI / Required
Process completed with exit code 1.
Checks
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, actions/upload-artifact@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Rust
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, actions/upload-artifact@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
WASM Commands
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, actions/upload-artifact@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Core PR
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/download-artifact@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Runtime Core PR
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/download-artifact@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Checks
"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"
Rust
"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"
WASM Commands
"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"
Core PR
"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"
Runtime Core PR
"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"
CI / Required
"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"