Skip to content

OPE-201: Occupancy-accurate live updates chrome #623

Closed

Description

@ivanfenenko

Home and Session Chat live / connecting / offline should follow whether this process wants the foreground event stream, not only whether the SSE socket is up.

World signals already distinguish foreground, the 5s background grace, intentional stop, and path loss. The label still maps SSE occupancy × device path, so Idle while we are reconnecting reads as offline, and send/create stay blocked until the socket is live even when REST already works.

Keep the three product labels. Derive them from path, stream occupancy, and SSE state. Let send, abort, create, and permission replies use path-ready (canMutate), not SSE live.

Remaining:

  • Shared LiveUpdates composer plus holdable StreamOccupancy on WorldSignals
  • Home and Session Chat collect that chrome on Android and iOS
  • Mutations use canMutate (path ready + Connection Profile), not SSE connected
  • Occupancy matrix tests; Idle while occupying reads as connecting, not offline

Docs: docs/features/foreground-event-stream/


Imported from Linear OPE-201. Linear status: Done. Priority: Medium. Created 2026-08-21. Completed 2026-08-21.
Parent: OPE-10.
Related: OPE-165, OPE-198, OPE-173.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    ios
    android
    shared
    improvement
    priority: medium
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidimprovementiospriority: mediumshared

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions