Context
Upload is the richest pipeline in the product (POST /api/documents/upload → classify/summarize/extract). Client-side, the SSE surface is src/lib/sse.ts:29 (streamSSE, a fetch-stream reader — verified as the only real client-side SSE consumer at 6765f49).
Scope
- Upload a fixture PDF, wait on the SSE stream, assert the document appears in the library and the row exists in Postgres.
- Event-based waiting only.
Acceptance criteria
Dependencies
Depends on: #385
Blocks: #388
Chapter: 1 (Regression Suite) | Lane: browser | Size: M | Suggested owner: Andres
Part of epic #402
Context
Upload is the richest pipeline in the product (
POST /api/documents/upload→ classify/summarize/extract). Client-side, the SSE surface issrc/lib/sse.ts:29(streamSSE, a fetch-stream reader — verified as the only real client-side SSE consumer at6765f49).Scope
Acceptance criteria
waitForTimeoutcalls.Dependencies
Depends on: #385
Blocks: #388
Chapter: 1 (Regression Suite) | Lane: browser | Size: M | Suggested owner: Andres
Part of epic #402