Skip to content

feat: transport session local JSONL cache + replay on subscribe #336

feat: transport session local JSONL cache + replay on subscribe

feat: transport session local JSONL cache + replay on subscribe #336

Triggered via push March 25, 2026 06:42
Status Failure
Total duration 2m 12s
Artifacts 1

ci.yml

on: push
Matrix: unit-tests
Web Tests
30s
Web Tests
Lint
19s
Lint
Typecheck
26s
Typecheck
Secret Scan (gitleaks)
10s
Secret Scan (gitleaks)
Unit Tests (macOS)
2m 9s
Unit Tests (macOS)
Server Unit Tests
27s
Server Unit Tests
Server DB Integration Tests
51s
Server DB Integration Tests
E2E Tests
0s
E2E Tests
Repo Provider Integration Tests
0s
Repo Provider Integration Tests
Coverage Report
0s
Coverage Report
Docker Build & Push
Docker Build & Push
Publish to npm
Publish to npm
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 19 warnings
Unit Tests (Node 22)
Process completed with exit code 1.
test/daemon/codex-watcher.test.ts > parseLine — function_call (Codex tool calls) > emits tool.result for function_call_output: test/daemon/codex-watcher.test.ts#L482
AssertionError: expected "spy" to be called with arguments: [ Array(4) ] Received: 1st spy call: Array [ "session-f", "tool.result", Object {}, Object { "confidence": "high", "source": "daemon", + "ts": 1773360360000, }, ] Number of calls: 1 ❯ test/daemon/codex-watcher.test.ts:482:34
test/daemon/codex-watcher.test.ts > parseLine — function_call (Codex tool calls) > emits tool.call for function_call with cmd arg: test/daemon/codex-watcher.test.ts#L452
AssertionError: expected "spy" to be called with arguments: [ 'session-f', 'tool.call', …(2) ] Received: 1st spy call: Array [ "session-f", - "tool.call", + "session.state", Object { - "input": "git status", - "tool": "exec_command", + "state": "running", }, Object { "confidence": "high", "source": "daemon", }, ] 2nd spy call: Array [ "session-f", "tool.call", Object { "input": "git status", "tool": "exec_command", }, Object { "confidence": "high", "source": "daemon", + "ts": 1773360300000, }, ] Number of calls: 2 ❯ test/daemon/codex-watcher.test.ts:452:34
test/daemon/codex-watcher.test.ts > parseLine — user_message > emits user.message for user_message event: test/daemon/codex-watcher.test.ts#L131
AssertionError: expected "spy" to be called with arguments: [ 'session-a', 'user.message', …(2) ] Received: 1st spy call: Array [ "session-a", "user.message", Object { "text": "hello world", }, Object { "confidence": "high", "source": "daemon", + "ts": 1773360060000, }, ] Number of calls: 1 ❯ test/daemon/codex-watcher.test.ts:131:34
Unit Tests (Node 20)
The strategy configuration was canceled because "unit-tests._22" failed
Unit Tests (Node 20)
Process completed with exit code 1.
test/daemon/codex-watcher.test.ts > parseLine — function_call (Codex tool calls) > emits tool.result for function_call_output: test/daemon/codex-watcher.test.ts#L482
AssertionError: expected "spy" to be called with arguments: [ Array(4) ] Received: 1st spy call: Array [ "session-f", "tool.result", Object {}, Object { "confidence": "high", "source": "daemon", + "ts": 1773360360000, }, ] Number of calls: 1 ❯ test/daemon/codex-watcher.test.ts:482:34
test/daemon/codex-watcher.test.ts > parseLine — function_call (Codex tool calls) > emits tool.call for function_call with cmd arg: test/daemon/codex-watcher.test.ts#L452
AssertionError: expected "spy" to be called with arguments: [ 'session-f', 'tool.call', …(2) ] Received: 1st spy call: Array [ "session-f", - "tool.call", + "session.state", Object { - "input": "git status", - "tool": "exec_command", + "state": "running", }, Object { "confidence": "high", "source": "daemon", }, ] 2nd spy call: Array [ "session-f", "tool.call", Object { "input": "git status", "tool": "exec_command", }, Object { "confidence": "high", "source": "daemon", + "ts": 1773360300000, }, ] Number of calls: 2 ❯ test/daemon/codex-watcher.test.ts:452:34
test/daemon/codex-watcher.test.ts > parseLine — user_message > emits user.message for user_message event: test/daemon/codex-watcher.test.ts#L131
AssertionError: expected "spy" to be called with arguments: [ 'session-a', 'user.message', …(2) ] Received: 1st spy call: Array [ "session-a", "user.message", Object { "text": "hello world", }, Object { "confidence": "high", "source": "daemon", + "ts": 1773360060000, }, ] Number of calls: 1 ❯ test/daemon/codex-watcher.test.ts:131:34
Unit Tests (macOS)
Process completed with exit code 1.
test/daemon/codex-watcher.test.ts > parseLine — function_call (Codex tool calls) > emits tool.result for function_call_output: test/daemon/codex-watcher.test.ts#L482
AssertionError: expected "spy" to be called with arguments: [ Array(4) ] Received: 1st spy call: Array [ "session-f", "tool.result", Object {}, Object { "confidence": "high", "source": "daemon", + "ts": 1773360360000, }, ] Number of calls: 1 ❯ test/daemon/codex-watcher.test.ts:482:34
test/daemon/codex-watcher.test.ts > parseLine — function_call (Codex tool calls) > emits tool.call for function_call with cmd arg: test/daemon/codex-watcher.test.ts#L452
AssertionError: expected "spy" to be called with arguments: [ 'session-f', 'tool.call', …(2) ] Received: 1st spy call: Array [ "session-f", - "tool.call", + "session.state", Object { - "input": "git status", - "tool": "exec_command", + "state": "running", }, Object { "confidence": "high", "source": "daemon", }, ] 2nd spy call: Array [ "session-f", "tool.call", Object { "input": "git status", "tool": "exec_command", }, Object { "confidence": "high", "source": "daemon", + "ts": 1773360300000, }, ] Number of calls: 2 ❯ test/daemon/codex-watcher.test.ts:452:34
test/daemon/codex-watcher.test.ts > parseLine — user_message > emits user.message for user_message event: test/daemon/codex-watcher.test.ts#L131
AssertionError: expected "spy" to be called with arguments: [ 'session-a', 'user.message', …(2) ] Received: 1st spy call: Array [ "session-a", "user.message", Object { "text": "hello world", }, Object { "confidence": "high", "source": "daemon", + "ts": 1773360060000, }, ] Number of calls: 1 ❯ test/daemon/codex-watcher.test.ts:131:34
Secret Scan (gitleaks)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, gitleaks/gitleaks-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint: src/daemon/codex-watcher.ts#L6
'FileChangeInfo' is defined but never used
Lint: src/config.ts#L3
'resolve' is defined but never used
Lint: src/bind/bind-flow.ts#L26
'opts' is defined but never used. Allowed unused args must match /^_/u
Lint: src/autofix/decision-engine.ts#L5
'AutoFixState' is defined but never used
Lint: src/autofix/audit-engine.ts#L9
'showBuffer' is defined but never used
Lint: src/autofix/audit-engine.ts#L9
'deleteBuffer' is defined but never used
Lint: src/agent/tmux.ts#L111
'sendKeysChunked' is defined but never used
Lint: src/agent/providers/openclaw.ts#L241
'e' is defined but never used
Lint: src/agent/providers/_template.ts#L118
'message' is defined but never used. Allowed unused args must match /^_/u
Lint: src/agent/drivers/opencode.ts#L29
'lines' is defined but never used. Allowed unused args must match /^_/u
Typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Server Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Web Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Server DB Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit Tests (Node 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit Tests (Node 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit Tests (macOS)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
gitleaks-results.sarif
367 Bytes
sha256:8e5422556e3a27498c544116cfb79fc71064e03f58a8d949fc0d8773cf7745de