Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Mobile activity toggle reverts because it attempts T3 Connect environment linking #14252

Closednone23(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Sign into T3 Connect in the Android app.
  2. Start with Ongoing Agent Activity enabled.
  3. Add a direct connection to a T3 server using a normal pairing link.
  4. Open Settings → Notifications.
  5. Turn off Ongoing Agent Activity.
  6. Wait for the operation to finish.

Expected behavior

Ongoing Agent Activity stays off for this device.

Changing this phone's activity preference should not link saved environments to T3 Connect or require permission to administer those environments.

Actual behavior

The switch becomes temporarily disabled, then returns to on without an error dialog.

Changing the preference also attempts to link saved directly paired environments to T3 Connect. The host rejects POST /api/connect/link-proof with HTTP 403 because normal pairing does not grant relay:write. That failure rolls back the device preference.

Both toggle directions use this linking flow. The failure was reproduced on Android; iOS uses the same code path but has not been verified on a physical device.

Impact

Minor bug or occasional failure

Version or commit

Android 1.3.0 (likely also iOS)

Logs or stack traces

[atom-command] live activity disable failed
CloudEnvironmentLinkError: Could not obtain environment link proof.

POST /api/connect/link-proof
HTTP 403

EnvironmentScopeRequiredError: This request needs the relay:write scope, which this client does not have.

Screenshots, recordings, or supporting files

https://github.com/user-attachments/assets/1133135d-286c-4c13-bde1-4c7a0cd14f73

  1. none23(GitHub profile, opens in a new tab) added labelsbug

  2. none23(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. Fixed by #9786. Both toggle directions now skip environment linking when the connection lacks relay:write, preventing the permission failure from rolling back the device preference.

Sign in to join this conversation.