fix: repo button always visible + debug info on detect failure #169
ci.yml
on: push
Matrix: unit-tests
Web Tests
30s
Lint
18s
Typecheck
31s
Secret Scan (gitleaks)
9s
Server Unit Tests
28s
Server DB Integration Tests
36s
Repo Provider Integration Tests
20s
Coverage Report
Publish to npm
Annotations
3 errors and 20 warnings
|
Web Tests
Process completed with exit code 1.
|
|
test/repo-page.test.tsx > RepoPage > shows detect error in header:
web/test/repo-page.test.tsx#L360
TestingLibraryElementError: Found multiple elements with the text: Could not detect repository
Here are the matching elements:
Ignored nodes: comments, script, style
<span
style="color: rgb(248, 113, 113); font-size: 13px;"
>
Could not detect repository
</span>
Ignored nodes: comments, script, style
<div
style="margin-bottom: 12px; color: rgb(248, 113, 113);"
>
Could not detect repository
</div>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
style="position: fixed; inset: 0px; z-index: 1000; background: rgb(15, 23, 42); color: rgb(226, 232, 240); display: flex; flex-direction: column; overflow: hidden;"
>
<div
style="display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgb(30, 41, 59); flex-shrink: 0;"
>
<button
class="btn btn-sm"
style="flex-shrink: 0;"
>
Back
</button>
<div
style="flex: 1 1 0%; overflow: hidden;"
>
<span
style="color: rgb(248, 113, 113); font-size: 13px;"
>
Could not detect repository
</span>
<span
style="color: rgb(71, 85, 105); font-size: 10px; margin-left: 8px;"
>
/home/user/myproject
</span>
</div>
<button
class="btn btn-sm"
style="flex-shrink: 0;"
>
Refresh
</button>
</div>
<div
style="display: flex; border-bottom: 1px solid rgb(30, 41, 59); flex-shrink: 0;"
>
<button
style="flex: 1 1 0%; padding: 8px 0px; font-size: 13px; font-weight: 500; background: none; border-width: medium medium 2px; border-style: none none solid; border-color: currentcolor currentcolor rgb(59, 130, 246); border-image: none; cursor: pointer; color: rgb(226, 232, 240); transition: color 0.15s, border-color 0.15s;"
>
Issues
</button>
<button
style="flex: 1 1 0%; padding: 8px 0px; font-size: 13px; font-weight: 500; background: none; border-width: medium medium 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; cursor: pointer; color: rgb(100, 116, 139); transition: color 0.15s, border-color 0.15s;"
>
PRs
</button>
<button
style="flex: 1 1 0%; padding: 8px 0px; font-size: 13px; font-weight: 500; background: none; border-width: medium medium 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; cursor: pointer; color: rgb(100, 116, 139); transition: color 0.15s, border-color 0.15s;"
>
Branches
</button>
<button
style="flex: 1 1 0%; padding: 8px 0px; font-size: 13px; font-weight: 500; background: none; border-width: medium medium 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; cursor: pointer; color: rgb(100, 116, 139); transition: color 0.15s, border-color 0.15s;"
>
Commits
</button>
</div>
<div
style="flex: 1 1 0%; overflow: auto;"
>
<div
style="padding: 24px; text-align: center; color: rgb(148, 163, 184); font-size: 13px;"
>
<div
style="margin-bottom: 12px; color: rgb(248, 113, 113);"
>
Could not detect repository
</div>
<div
style="margin-bottom: 12px; font-size: 11px; color: rgb(71, 85, 105); word-break: break-all;"
>
projectDir:
/home/user/myproject
</div>
<button
class="btn btn-sm"
>
Retry
</button>
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getElementError node_
|
|
E2E Tests
Process completed with exit code 1.
|
|
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 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/
|
|
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 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/
|
|
Repo Provider 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/
|
|
E2E 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/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
gitleaks-results.sarif
|
367 Bytes |
sha256:e624a9253c4225617b12560aca139fd051164ab0c7573c96d5a5785bf964851a
|
|