mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-24 04:47:03 +00:00
iOS ignored SessionSummary.attachedJob, and its strict SessionPatch decoder rejected every `attachedJob` SSE patch, so each job heartbeat fell back to a REST list refetch while the row never showed the job. - Decode AttachedJob on summaries (open-ended status, older rows without a watermark gate as 0) and the versioned `attachedJob` patch, applied only when strictly newer, as on web, so a lagged heartbeat cannot resurrect a cleared job. Full-session events keep the row's job. - A running job counts as working on the presence badge even when the agent is idle or disconnected, keeps the session under Active only and out of Archived only (web #1404). - The row's second line shows the job instead of the project: label · remaining or percent · elapsed, amber with "no heartbeat" after 15 minutes. No progress bar, so row height is unchanged. - Document the patch in the SSE client contract and the iOS display in the session jobs guide.