ActivityRecording orphan session after app relaunch: how can ownership be identified or safely retired?

For SDK 9.2.0 on a fēnix 7X-class device, suppose a watch app persists “paused,” then loses its ActivityRecording.Session reference on process termination. Native ownership/completion is unknown.

Related context only: CIQQA-4693 reports native Resume / Save / Discard choices after reboot. Does Garmin support that recovery/retirement flow when the original ActivityRecording.Session handle is lost, an unclosed native recording may still exist, local app metadata survives, and ownership cannot be proven? Please specify safe preconditions and target guarantees. This report does not establish that a fēnix 7X is in the same state or that Resume/Save/Discard is safe in this scenario.

The createSession documentation describes create-or-return behavior. Before designing any recovery action, could Garmin clarify:

  1. Can the app tell whether the returned Session is new or previously unclosed, including a stopped Session?
  2. Is there a stable, non-mutating native ID to persist and compare after relaunch, with an ownership or FIT-file binding?
  3. Is there an existing-only query/enumeration without createSession? Does timer OFF exclude unclosed native data?
  4. What supported preservation/save/discard/retirement procedure is safe when the original handle is lost and ownership is unproved? What establishes target scope and completion after failure/interruption?
  5. Can createSession used as a probe allocate, bind/adopt or otherwise affect native state?
  6. What happens across Storage clear, reinstall/update or a same-UUID replacement build?
  7. What checkpoint/recovery architecture handles native save succeeding while Storage confirmation fails?

Please specify device/firmware limits and authoritative guarantees. Current start time, profile ID, history or a false isRecording value should not be assumed to prove ownership/closure without a documented relationship.

No personal files or identifiers are needed. No recovery experiment is proposed.

  • Following up on this Connect IQ ActivityRecording.Session ownership question because the documented create-or-return behavior is blocking a safe recovery/retirement design. Could a Garmin Connect IQ team member clarify two essentials for SDK 9.2.x and fēnix 7X-class devices?

    1. Is there a supported, non-mutating way to determine whether an unclosed native recording exists and identify or bind its ownership after the app has lost the original Session reference, without calling createSession()?
    2. If no such lookup exists, what Garmin-supported, loss-aware procedure, if any, can safely preserve or dispose of an unknown unclosed native session before a later createSession() call? Please distinguish documented guarantees from assumptions and state explicitly if no supported procedure exists.

    The related bug report CIQQA-4693 describes a different device/scenario and does not establish safe Save/Discard/Resume behavior for this case.

    We are not asking for permission to clear data based on elapsed time or a FIT timestamp.

    Even a short staff confirmation that these APIs are unavailable would help us make a correct design decision.

    Thank you.