Skip to content

fix: 首字停摆自动重试 — init 后首个 token 停摆时自动重发 query #335

fix: 首字停摆自动重试 — init 后首个 token 停摆时自动重发 query

fix: 首字停摆自动重试 — init 后首个 token 停摆时自动重发 query #335

Triggered via pull request June 17, 2026 08:11
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 12 warnings
test
Process completed with exit code 1.
src/claude/__tests__/executor.test.ts > ClaudeExecutor > compact() > treats a missing compact signal as failure (not silent success): src/claude/__tests__/executor.test.ts#L803
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/claude/__tests__/executor.test.ts:803:5
src/claude/__tests__/executor.test.ts > ClaudeExecutor > compact() > returns failure with error on a real compaction error: src/claude/__tests__/executor.test.ts#L789
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/claude/__tests__/executor.test.ts:789:5
src/claude/__tests__/executor.test.ts > ClaudeExecutor > compact() > flags noop when context is too short to compact: src/claude/__tests__/executor.test.ts#L774
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/claude/__tests__/executor.test.ts:774:5
src/claude/__tests__/executor.test.ts > ClaudeExecutor > compact() > returns success with pre/post tokens on a real compaction: src/claude/__tests__/executor.test.ts#L755
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/claude/__tests__/executor.test.ts:755:5
src/claude/__tests__/executor.test.ts > ClaudeExecutor > compact() > sends a BARE "/compact" prompt with resume (no prefixes): src/claude/__tests__/executor.test.ts#L738
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ src/claude/__tests__/executor.test.ts:738:5
docs-scope
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 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. 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: src/__tests__/ask-user-question.test.ts#L168
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L157
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L130
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L116
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L104
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L102
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L84
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L74
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L51
Unexpected any. Specify a different type
test: src/__tests__/ask-user-question.test.ts#L42
Unexpected any. Specify a different type