add global and project setting #40
pr-check.yml
on: pull_request
Annotations
3 errors and 14 warnings
|
test
Process completed with exit code 1.
|
|
packages/desktop/test/core-api.test.ts > toggleSkill > calls settings.toggleSkill with provided cwd:
packages/desktop/test/core-api.test.ts#L219
AssertionError: expected "spy" to be called with arguments: [ 'my-skill', false, …(1) ]
Received:
1st spy call:
[
- "my-skill",
- false,
{
"cwd": "/project/dir",
+ "enabled": false,
+ "name": "my-skill",
},
]
Number of calls: 1
❯ packages/desktop/test/core-api.test.ts:219:38
|
|
packages/desktop/test/core-api.test.ts > toggleSkill > calls settings.toggleSkill with empty cwd when no cwd provided:
packages/desktop/test/core-api.test.ts#L213
AssertionError: expected "spy" to be called with arguments: [ 'my-skill', true, { cwd: '' } ]
Received:
1st spy call:
[
- "my-skill",
- true,
{
"cwd": "",
+ "enabled": true,
+ "name": "my-skill",
},
]
Number of calls: 1
❯ packages/desktop/test/core-api.test.ts:213:38
|
|
changes
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, dorny/paths-filter@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 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, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 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:
packages/codingcode/src/hooks/registry.ts#L63
'getMapForScope' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/hooks/registry.ts#L56
This generator function does not have 'yield'
|
|
lint:
packages/codingcode/src/hooks/executor.ts#L27
'code' is defined but never used. Allowed unused args must match /^_/u
|
|
lint:
packages/codingcode/src/context/context.ts#L8
This generator function does not have 'yield'
|
|
lint:
packages/codingcode/src/context/compressor/index.ts#L121
'ESTIMATED_SUMMARY_TOKENS' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/client/direct/settings.ts#L39
'resolveHookDisabled' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/client/direct/settings.ts#L12
'resolveMcpDisabled' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/client/direct/models.ts#L3
'getLLMClient' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/agent/agent.ts#L23
'AgentProfile' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/agent/agent.ts#L3
'appendFileSync' is defined but never used. Allowed unused vars 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, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
|
|
test
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, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
|