GPT-5 finding
/api/runs uses execFileSync without a timeout, risking server hang
mediumperformancehigh
- dashboard/app/api/runs/route.ts:26-31
Unlike the other routes, this call to gh has no timeout. If gh stalls, the sync call can block the event loop and hang the API handler.
Recommendation
Add a timeout option similar to other routes (e.g., { timeout: 15000–30000 }) and handle timeout errors gracefully.