As far as I can tell…
Any request that requires user authentication (so pretty much all requests) has the ability to update the last_seen_at value. There are some notes:
- Message bus polling requests are explicitly excluded.
- The users last known IP address is updated at the same time.
- Not updated if the user is suspended
- Not updated if the user is not “active” (i.e. not activated via email confirmation)
- Not updated more than once per minute.
- The actual update occurs via a background thread, so might not be immediate - but quickly done.