Class: Xeno::SlackEventJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- Xeno::SlackEventJob
- Defined in:
- app/jobs/xeno/slack_event_job.rb
Overview
Processes one verified Slack event off the webhook path. The endpoint acks inside Slack's 3-second window and hands the payload here; session work (DB writes, LLM turns via TurnJob) happens on the queue. Slack retry storms die at the event_id dedup row (claimed atomically with this enqueue); a session can never be double-opened by a retry — the thread's continuation token is unique among active sessions.