Relationships
#4808 Swampify page doesn't show new candidates or the offer while the tab stays visible
Opened by skunk-ape · 11/16/2026· Shipped 11/17/2026
Follows #4713, which made the Swampify page refetch when the tab becomes visible again.
Repo: swamp (the dashboard Swampify page).
Description
The page doesn't show new candidates when they arrive while the tab stays open. #4713 refetches only on a visibilitychange back to visible (plus an optional poll while the offer is picked). In a swamp start kick-off the user keeps the Swampify page open and visible while the agent runs import, assess, the understand workflow and offer. The tab never goes hidden and comes back, so none of the candidate set, the reading results or the offer appear. A hard refresh was needed.
Steps to reproduce
- From
swamp start, choose "Start from your past sessions" and launch the kick-off. - Open the Swampify page and leave it in a visible tab while the agent works.
- Wait for
assessto writeswampify-candidates(and laterofferto writeswampify-offer). - The page still shows its empty or earlier state. A hard refresh shows the new data.
Expected
New candidates, reading progress and the offer appear without a manual refresh while the tab is visible.
Suggested fix
- Poll while the tab is visible and the workflow is unfinished (no candidate set yet, candidates but no offer, or offer
picked), and stop once it settles. Or push changes from the server, if the dashboard already has a channel for data events. - Keep the existing refetch on becoming visible.
Environment
- swamp 20261116.160519.0-sha.c86adda4, Linux
- @swamp/agent-sessions 2026.11.14.3
Shipped
Click a lifecycle step above to view its details.
Sign in to post a ripple.