Find the longest consecutive sequence of online users from a real-time presence log. Given a list of [user_id, status] entries in chronological order, return the user IDs from the longest contiguous run whose status is "online". If multiple runs have the same length, return the earliest run. Implement longest_online_sequence(log).
def longest_online_sequence(log):