Skip to content

Follow-up: OBACloud Live Activity pushes should preserve relevance-score #1252

Closed

Description

@Borisserz

Context

PR #1243 (Problem 2 of #1189) sets a monotonic on-device relevanceScore so the Dynamic Island follows the newest Track. Aaron noted that OBACloud pushes still send a flat "relevance-score": 100 (see docs/LiveActivityPushNotifications.md), which re-ties scores after a push and undoes the Island ordering.

Ask

On the OBACloud / push side (onebusaway-cloud-services is archived for issues), either:

  1. omit relevance-score on Live Activity updates so the on-device score is left alone, or
  2. send a per-activity score that preserves newest-Track-highest ordering.

Tracking here so #1189 is not closed by the app-only PR alone.

Related: #1189, #1243.

Activity

  1. Borisserz commented on Sep 6, 2026

    @Borisserz
    ContributorAuthor

    Docs/contract for omit-or-per-activity relevance-score (app already preserves on local refresh): #1403 — OBACloud still needs to stop sending flat 100.

  2. aaronbrethorst commented on Oct 16, 2026

    @aaronbrethorst
    Member

    I looked into this on the OBACloud side, and there's nothing to change. OBACloud already does option 1: it leaves out relevance-score.

    • OBACloud sends Live Activity pushes through gorush. The payload is built in Gorush#send_live_activity (app/lib/gorush.rb) and carries only event, content-state, timestamp, priority, and optionally stale-date and dismissal-date. It has never set relevance-score; the field doesn't appear anywhere in the repo's git history.
    • Gorush doesn't add a default either. RelevanceScore is a pointer in gorush, and it's only applied when it's set (notify/notification_apns.go). When it's left out, the APNs payload has no relevance-score, and the score the app sets on the device is left alone.

    The "flat 100" came from the sample payloads and the Node helper in docs/LiveActivityPushNotifications.md, which #1403 already fixed. Thanks for tracking this, @Borisserz. Closing as resolved; this shouldn't block #1189.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions