Closed Bug 1611058 Opened 4 years ago Closed 4 years ago

Rethink how send-tab falls back to the sync-based sendtab mechanism

Categories

(Firefox :: Firefox Accounts, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Firefox 79
Tracking Status
firefox79 --- fixed

People

(Reporter: markh, Assigned: vladikoff)

References

Details

Attachments

(1 file)

If there's some intermittent server error sending a tab to Fenix, we fall back to the old sync command based mechanism - however, Fenix doesn't support this mechanism. Things like our VR products are probably in the same bucket.

It's probably time to consider if we should kill that fallback.

The priority flag is not set for this bug.
:markh, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(markh)

Once we hit something like >90% Fennec to Fenix migration might be the right time?

Flags: needinfo?(amedinac)

(In reply to Edouard Oger [:eoger] from comment #2)

Once we hit something like >90% Fennec to Fenix migration might be the right time?

That sounds right to me! I'm marking this as P3 so it doesn't get in our way before then.

Flags: needinfo?(markh)
Priority: -- → P3

I'm trying to better understand what this change means - from a user standpoint how does the fallback mechanism work now, and what would be the user impact if we were to remove it?

Flags: needinfo?(amedinac) → needinfo?(eoger)

Right now Fennec can only use the legacy send tab protocol that relies on Sync.
Currently Firefox for Desktop and Firefox for iOS can receive and send tabs to Fennec using the legacy protocol, but can also send and receive tabs using the new protocol (which is the preferred one).
Currently on Desktop, when we fail sending a tab using the new protocol for whatever reason, we fall back to using the legacy one.
The problem is that in the Fenix case, which only works with the new protocol, we'll report the tab was sent (through the fallback) but in reality Fenix will never get that tab.
What's proposed here is killing entirely the legacy system, and in consequence also the legacy fall back.

Flags: needinfo?(eoger)

And to clarify, we could spend extra effort trying to prevent the above scenario, but IMO we are better off spending that effort killing the old.

In general, this would only be visible to, say Fennec users who refuse to upgrade to Fenix, or users stuck on 4 year old desktop Firefox versions - stuff would break a little for them. Up-to-date users would see zero change (except in the edge or error cases, as above)

FWIW, I think this fallback behaviour will also interact badly with rate-limiting, as described in https://github.com/mozilla/application-services/issues/3105#issuecomment-635166875

Assignee: nobody → vlad
Status: NEW → ASSIGNED
Attachment #9155119 - Attachment description: Bug 1611058 - Do not fallback to old SendTab if new SendTab fails. r=rfkelly → Bug 1611058 - Do not fallback to old SendTab if new SendTab fails. r=rfkelly,markh
Pushed by vlad@vladikoff.com:
https://hg.mozilla.org/integration/autoland/rev/03e3995a8488
Do not fallback to old SendTab if new SendTab fails. r=rfkelly,markh
Regressions: 1645267
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: