Skip to content

♻️ Agent 架构改进:SessionToolRegistry、事件扁平化、子代理持久化 #4124

♻️ Agent 架构改进:SessionToolRegistry、事件扁平化、子代理持久化

♻️ Agent 架构改进:SessionToolRegistry、事件扁平化、子代理持久化 #4124

Triggered via push April 6, 2026 04:27
Status Failure
Total duration 3m 14s
Artifacts

test.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 12 warnings
Run tests
Process completed with exit code 1.
Run tests: src/app/service/agent/service_worker/chat_service.ts#L411
Replace `·agentId,·description:·options.description·||·"Sub-agent·task",·subAgentType:·typeConfig.name` with `⏎····················agentId,⏎····················description:·options.description·||·"Sub-agent·task",⏎····················subAgentType:·typeConfig.name,⏎·················`
Run tests: src/app/service/agent/service_worker/background.test.ts#L112
Replace `·type:·"done",·usage:·{·inputTokens:·10,·outputTokens:·5·}` with `⏎······type:·"done",⏎······usage:·{·inputTokens:·10,·outputTokens:·5·},⏎···`
Run tests: src/app/service/agent/service_worker/background.test.ts#L41
Replace `·type:·"tool_call_delta",·id:·"tc1",·delta:·'"test"}'` with `⏎······type:·"tool_call_delta",⏎······id:·"tc1",⏎······delta:·'"test"}',⏎···`
Run tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
Run tests: src/pages/options/routes/AgentChat/ChatInput.tsx#L61
Missing JSX expression container around literal string: "/"
Run tests: src/pages/options/routes/AgentChat/ChatArea.tsx#L689
React Hook useCallback has a missing dependency: 'processPendingMessage'. Either include it or remove the dependency array
Run tests: src/pages/options/routes/AgentChat/AskUserBlock.tsx#L150
Missing JSX expression container around literal string: ")"
Run tests: src/pages/options/routes/AgentChat/AskUserBlock.tsx#L149
Missing JSX expression container around literal string: "Confirm ("
Run tests: src/pages/options/routes/AgentChat/AskUserBlock.tsx#L101
Missing JSX expression container around literal string: "?"
Run tests: src/pages/components/layout/Sider.tsx#L183
Missing JSX expression container around literal string: "OpenUserJS"
Run tests: src/pages/components/layout/Sider.tsx#L178
Missing JSX expression container around literal string: "Greasy Fork"
Run tests: src/pages/components/layout/Sider.tsx#L173
Missing JSX expression container around literal string: "ScriptCat"
Run tests: src/pages/components/ScriptSetting/Match.tsx#L90
React Hook useEffect has a missing dependency: 'refreshMatch'. Either include it or remove the dependency array
Run tests: src/pages/components/CloudScriptPlan/index.tsx#L60
React Hook useEffect has a missing dependency: 'form'. Either include it or remove the dependency array
Run E2E tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/