feat: Implement phases 6 to 9 of the review cycle fix process, including discovery, batching, parallel planning, execution, and completion

- Added Phase 6: Fix Discovery & Batching with intelligent grouping and batching of findings.
- Added Phase 7: Fix Parallel Planning to launch planning agents for concurrent analysis and aggregation of partial plans.
- Added Phase 8: Fix Execution for stage-based execution of fixes with conservative test verification.
- Added Phase 9: Fix Completion to aggregate results, generate summary reports, and handle session completion.
- Introduced new frontend components: ResizeHandle for draggable resizing of sidebar panels and useResizablePanel hook for managing panel sizes with localStorage persistence.
- Added PowerShell script for checking TypeScript errors in source code, excluding test files.
This commit is contained in:
catlog22
2026-02-07 19:28:33 +08:00
parent ba5f4eba84
commit d43696d756
90 changed files with 8462 additions and 616 deletions

View File

@@ -42,7 +42,7 @@ test.describe('[Orchestrator] - Workflow Canvas Tests', () => {
}
});
await page.goto('/orchestrator', { waitUntil: 'networkidle' as const });
await page.goto('/react/orchestrator', { waitUntil: 'domcontentloaded' as const });
});
test('L3.01 - Canvas loads and displays nodes', async ({ page }) => {
@@ -75,7 +75,7 @@ test.describe('[Orchestrator] - Workflow Canvas Tests', () => {
});
// Reload page to trigger API call
await page.reload({ waitUntil: 'networkidle' as const });
await page.reload({ waitUntil: 'domcontentloaded' as const });
// Look for workflow canvas
const canvas = page.getByTestId('workflow-canvas').or(
@@ -721,7 +721,7 @@ test.describe('[Orchestrator] - Workflow Canvas Tests', () => {
await page.reload({ waitUntil: 'networkidle' as const });
// Verify server error message
const errorMessage = page.getByText(/server error|try again|服务器错误/i);
const errorMessage = page.locator('text=/Failed to load data|加载失败/');
await page.unroute('**/api/workflows');
const hasError = await errorMessage.isVisible().catch(() => false);
expect(hasError).toBe(true);
@@ -744,7 +744,7 @@ test.describe('[Orchestrator] - Workflow Canvas Tests', () => {
await page.waitForTimeout(3000);
// Verify timeout message
const timeoutMessage = page.getByText(/timeout|network error|unavailable|网络超时/i);
const timeoutMessage = page.locator('text=/Failed to load data|加载失败/');
await page.unroute('**/api/workflows');
const hasTimeout = await timeoutMessage.isVisible().catch(() => false);