Files
vibe-kanban/crates/services/tests
Louis Knight-Webb af63563e17 Implement streaming for project tasks (#608)
* Stream tasks and execution processes (vibe-kanban cd4106c5)

Building on the unused /events endpoint, can we please add a /stream variant to the following endpoints:
/tasks?project_id=...
/execution_processes?task_attempt_id=...

The endpoint should return an initial document containing all the entities given the filter, and then subsequent patches to keep the document up to date.

Refactor the codebase however you see fit to give us the most maintainable code going forwards.

crates/server/src/routes/tasks.rs
crates/server/src/routes/execution_processes.rs
crates/server/src/routes/events.rs

* Issues with streaming tasks (vibe-kanban e1779942)

crates/services/src/services/events.rs
crates/server/src/routes/tasks.rs

We should modify the stream of tasks (filtered by project) to be an object where each task is a key. This will make it much easier to produce stream diffs

* Issues with streaming tasks (vibe-kanban e1779942)

crates/services/src/services/events.rs
crates/server/src/routes/tasks.rs

We should modify the stream of tasks (filtered by project) to be an object where each task is a key. This will make it much easier to produce stream diffs

* Refactor project tasks (vibe-kanban 20b19eb8)

Project tasks needs to be refactored:
- Doesn't follow new pattern of separating network logic into hooks
- Has legacy fixed time poll for refetching tasks, but there is now a tasks/stream endpoint

* revert changes to execution processes
2025-09-02 22:00:41 +01:00
..