Skip to content

Refactor

Refactor #72

Triggered via pull request June 14, 2026 15:53
@phantom5099phantom5099
synchronize #91
refactor
Status Failure
Total duration 1m 16s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 14 warnings
lint
Process completed with exit code 1.
lint: packages/codingcode/test/self/todo/service.test.ts#L1
Irregular whitespace not allowed
lint: packages/codingcode/test/core/workspace.test.ts#L1
Irregular whitespace not allowed
test
Process completed with exit code 1.
packages/codingcode/test/ci/tooling-scripts.test.ts > CI tooling configuration > pnpm run format:check exits successfully: packages/codingcode/test/ci/tooling-scripts.test.ts#L48
AssertionError: expected [Function] to not throw an error but 'Error: Command failed: pnpm run forma…' was thrown - Expected: undefined + Received: "Error: Command failed: pnpm run format:check [WARN] The \"pnpm\" field in package.json is no longer read by pnpm. The following keys were ignored: \"pnpm.overrides\". See https://pnpm.io/settings for the new home of each setting. $ prettier --check \"packages/**/*.{ts,tsx,json}\" \"*.json\" \"*.ts\" [warn] packages/codingcode/src/agent/agent.ts [warn] packages/codingcode/src/client/direct/sessions.ts [warn] packages/codingcode/test/context/append-turn-end.test.ts [warn] packages/codingcode/test/context/tokens.test.ts [warn] packages/codingcode/test/core/workspace.test.ts [warn] packages/codingcode/test/self/todo/service.test.ts [warn] packages/codingcode/test/server/agent-routes.test.ts [warn] packages/codingcode/test/server/index.test.ts [warn] packages/codingcode/test/server/util.test.ts [warn] packages/codingcode/test/session/delete-message.test.ts [warn] packages/codingcode/test/session/rollback.test.ts [warn] packages/codingcode/test/session/ui-history-rollback.test.ts [warn] packages/codingcode/test/session/usage-persist.test.ts [warn] Code style issues found in 13 files. Run Prettier with --write to fix. " ❯ packages/codingcode/test/ci/tooling-scripts.test.ts:48:87
packages/codingcode/test/ci/tooling-scripts.test.ts > CI tooling configuration > pnpm run lint exits successfully: packages/codingcode/test/ci/tooling-scripts.test.ts#L44
AssertionError: expected [Function] to not throw an error but 'Error: Command failed: pnpm run lint\…' was thrown - Expected: undefined + Received: "Error: Command failed: pnpm run lint [WARN] The \"pnpm\" field in package.json is no longer read by pnpm. The following keys were ignored: \"pnpm.overrides\". See https://pnpm.io/settings for the new home of each setting. $ eslint \"packages/*/src/**/*.ts\" \"packages/*/src/**/*.tsx\" \"packages/*/test/**/*.ts\" " ❯ packages/codingcode/test/ci/tooling-scripts.test.ts:44:79
packages/codingcode/test/agent/memory-snapshot.test.ts > Memory snapshot stability > injects <system-reminder> when memory changed since snapshot: packages/codingcode/test/agent/memory-snapshot.test.ts#L195
AssertionError: expected 'hi' to contain '<system-reminder>' Expected: "<system-reminder>" Received: "hi" ❯ packages/codingcode/test/agent/memory-snapshot.test.ts:195:33
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/executor.ts#L27
'code' is defined but never used. Allowed unused args must match /^_/u
lint: packages/codingcode/src/hooks/config.ts#L5
'HookPoint' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/codingcode/src/client/direct/settings.ts#L40
'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/checkpoint/checkpoint-service.ts#L15
This generator function does not have 'yield'
lint: packages/codingcode/src/approval/async-confirm.ts#L10
This generator function does not have 'yield'
lint: packages/codingcode/src/agent/prompt.ts#L107
Unnecessary escape character: \'
lint: packages/codingcode/src/agent/agent.ts#L134
'context' is assigned a value but never used. Allowed unused vars must match /^_/u
lint: packages/codingcode/src/agent/agent.ts#L132
'todo' is assigned a value but never used. Allowed unused vars must match /^_/u
lint: packages/codingcode/src/agent/agent.ts#L129
'approval' is assigned a value 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/