- Fix `simple_test_analysis` template in E2E test setup to align with Orchestrator's data fetch logic.
- Implement and verify additional E2E scenarios:
- Scenario C: Partial Provider Failure (verified error propagation fix in Orchestrator).
- Scenario D: Invalid Symbol input.
- Scenario E: Analysis Module failure.
- Update `WorkflowStateMachine::handle_report_failed` to correctly scope error broadcasting to the specific task instead of failing effectively silently or broadly.
- Update testing strategy documentation to reflect completed Phase 4 testing.
- Skip Scenario B (Orchestrator Restart) as persistence is not yet implemented (decision made to defer persistence).
30 lines
778 B
JavaScript
30 lines
778 B
JavaScript
import { fileURLToPath } from 'url';
|
|
import path from 'path';
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Explicitly set Turbopack root to this frontend directory to silence multi-lockfile warning
|
|
turbopack: {
|
|
root: __dirname,
|
|
},
|
|
// Increase server timeout for long-running AI requests
|
|
experimental: {
|
|
proxyTimeout: 300000, // 300 seconds (5 minutes)
|
|
},
|
|
// Optimize for Docker deployment only in production
|
|
output: process.env.NODE_ENV === 'production' ? 'standalone' : undefined,
|
|
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://api-gateway:4000/v1/:path*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|