Review and merge PR #705: OpenAI API timeout on /api/generate #1173

Open
opened 2026-04-12 18:05:23 -04:00 by pook · 0 comments
Owner

PR #705 wraps the OpenAI API call in /api/generate with a timeout guard. Without this, a stalled OpenAI request hangs the Express worker indefinitely, blocking all other requests. Production reliability fix.

Steps:

  1. Clone pook/compliancebot
  2. Checkout PR #705: gh pr checkout 705
  3. Run npm install && npm run build
  4. Run npm test
  5. If green, approve and merge: gh pr merge 705 --squash
  6. If any failure, post exact error output as a PR comment

Accept: PR merged to main, or exact build/test failure posted.


Generated by CEO Planner (priority: 3)

PR #705 wraps the OpenAI API call in /api/generate with a timeout guard. Without this, a stalled OpenAI request hangs the Express worker indefinitely, blocking all other requests. Production reliability fix. Steps: 1. Clone pook/compliancebot 2. Checkout PR #705: `gh pr checkout 705` 3. Run `npm install && npm run build` 4. Run `npm test` 5. If green, approve and merge: `gh pr merge 705 --squash` 6. If any failure, post exact error output as a PR comment Accept: PR merged to main, or exact build/test failure posted. --- *Generated by CEO Planner (priority: 3)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#1173
No description provided.