Skip to content

perf: increase repo cache TTL — 5min for data, 30min for detect #182

perf: increase repo cache TTL — 5min for data, 30min for detect

perf: increase repo cache TTL — 5min for data, 30min for detect #182

Triggered via push March 22, 2026 15:22
Status Failure
Total duration 1m 59s
Artifacts 1

ci.yml

on: push
Matrix: unit-tests
Web Tests
27s
Web Tests
Lint
14s
Lint
Typecheck
33s
Typecheck
Secret Scan (gitleaks)
6s
Secret Scan (gitleaks)
Server Unit Tests
32s
Server Unit Tests
Server DB Integration Tests
28s
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
0s
Docker Build & Push
Publish to npm
0s
Publish to npm
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 18 warnings
Unit Tests (Node 20)
Process completed with exit code 1.
test/repo/cache.test.ts > RepoCache > TTL expiry > error-state entries do not last 30s: test/repo/cache.test.ts#L73
AssertionError: expected 'err' to be null - Expected: null + Received: "err" ❯ test/repo/cache.test.ts:73:30
test/repo/cache.test.ts > RepoCache > TTL expiry > expires error-state entries after 5s: test/repo/cache.test.ts#L67
AssertionError: expected 'err-data' to be null - Expected: null + Received: "err-data" ❯ test/repo/cache.test.ts:67:30
test/repo/cache.test.ts > RepoCache > TTL expiry > expires after default TTL (30s): test/repo/cache.test.ts#L58
AssertionError: expected 'data' to be null - Expected: null + Received: "data" ❯ test/repo/cache.test.ts:58:30
Unit Tests (Node 22)
The strategy configuration was canceled because "unit-tests._20" failed
Unit Tests (Node 22)
The operation was canceled.
test/repo/cache.test.ts > RepoCache > TTL expiry > error-state entries do not last 30s: test/repo/cache.test.ts#L73
AssertionError: expected 'err' to be null - Expected: null + Received: "err" ❯ test/repo/cache.test.ts:73:30
test/repo/cache.test.ts > RepoCache > TTL expiry > expires error-state entries after 5s: test/repo/cache.test.ts#L67
AssertionError: expected 'err-data' to be null - Expected: null + Received: "err-data" ❯ test/repo/cache.test.ts:67:30
test/repo/cache.test.ts > RepoCache > TTL expiry > expires after default TTL (30s): test/repo/cache.test.ts#L58
AssertionError: expected 'data' to be null - Expected: null + Received: "data" ❯ test/repo/cache.test.ts:58:30
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/command-handler.ts#L19
'subSessionName' is defined but never used
Lint: src/daemon/codex-watcher.ts#L252
'lineBytePos' is assigned a value but never used
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#L115
'sendKeysChunked' is defined but never used
Lint: src/agent/drivers/opencode.ts#L29
'lines' is defined but never used. Allowed unused args must match /^_/u
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/
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 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/
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/
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 (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/

Artifacts

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