HTMX worker activity streaming

t-151.3·WorkTask·
·
·
·Omni/Jr.hs
Parent:t-151·Created3 months ago·Updated3 months ago

Dependencies

Description

Edit

Live worker activity updates (depends on t-148 worker observability):

Option A: Polling

  • hx-get='/partials/task/:id/activity'
  • hx-trigger='every 2s'
  • Simple, works everywhere

Option B: Server-Sent Events

  • hx-ext='sse'
  • sse-connect='/events/task/:id'
  • More efficient, real-time
  • Requires SSE endpoint in Servant (streaming response)

Start with polling, upgrade to SSE if needed.

Timeline (2)

💬[human]3 months ago

This is basically already done with the new timelinee

🔄[human]Open → Done3 months ago