mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
feat: Add comprehensive tests for CCW Loop System flow state
- Implemented loop control tasks in JSON format for testing. - Created comprehensive test scripts for loop flow and standalone tests. - Developed a shell script to automate the testing of the entire loop system flow, including mock endpoints and state transitions. - Added error handling and execution history tests to ensure robustness. - Established variable substitution and success condition evaluations in tests. - Set up cleanup and workspace management for test environments.
This commit is contained in:
@@ -130,8 +130,9 @@ async function initCsrfToken() {
|
||||
/**
|
||||
* Sync active CLI executions from server
|
||||
* Called when view is opened to restore running execution state
|
||||
* Note: Renamed from syncActiveExecutions to avoid conflict with cli-stream-viewer.js
|
||||
*/
|
||||
async function syncActiveExecutions() {
|
||||
async function syncActiveExecutionsForManager() {
|
||||
try {
|
||||
var response = await fetch('/api/cli/active');
|
||||
if (!response.ok) return;
|
||||
@@ -1202,7 +1203,7 @@ async function renderCliManager() {
|
||||
}
|
||||
|
||||
// 同步活动执行
|
||||
syncActiveExecutions();
|
||||
syncActiveExecutionsForManager();
|
||||
}
|
||||
|
||||
// ========== Helper Functions ==========
|
||||
|
||||
Reference in New Issue
Block a user