Skip to content

Align HTTP and AI cleanup timeout hierarchy #286

Description

@amandeavor

Split from #284 so the timeout policy can be handled independently.

The HTTP server timeout is 30 seconds while the external AI cleanup fetch allows 60 seconds. A valid slow cleanup can therefore be terminated by the outer server before the inner operation reaches its own deadline, producing an empty response.

Acceptance criteria:

  • make the outer HTTP timeout longer than the cleanup operation deadline, or derive both from one setting
  • document the timeout relationship
  • cover the ordering with a focused test

See #284 for the observed timeout layers and reproduction.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions