Closed Bug 2056669 Opened 1 month ago Closed

[Google Lens Fenix] Remove `uploadByUrl` endpoint from Google Lens integration

Categories

(Firefox for Android :: Search, task)

All
Android
task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox153 --- fixed
firefox154 --- fixed
firefox155 --- fixed

People

(Reporter: harrisono, Assigned: harrisono)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][android-activation-trust])

Attachments

(3 files)

Google has asked us to remove the uploadByUrl endpoint completely and just use the upload by bytes method instead.

uploadByUrl came from the early prototyping.

Assignee: nobody → hoglesby
Status: NEW → ASSIGNED
Whiteboard: [fxdroid][android-activation-trust]
Pushed by hoglesby@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a13b0bef4c46 https://hg.mozilla.org/integration/autoland/rev/764b096ba873 Remove `uploadByUrl` endpoint from Google Lens integration r=android-reviewers,gmalekpour
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Closed: 2026-07-23 16:20:00 2026-07-23 16:20:00
Attachment #9617026 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Google has requested we remove the "uploadByUrl" endpoint completely from all integrations of Google Lens.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: This is removing the backup upload method. The primary upload to Google Lens method is still existing.
    This just makes it so if the "upload by bytes" endpoint fails, the user is presented a message of "Google Lens not available at this time, try again later".
  • String changes made/needed?: none.
  • Is Android affected?: yes
Attachment #9617026 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: The previous uplift should also have been for the 153 dot release.
    Google requires us to remove the "uploadByUrl" endpoint. We can't begin the experiment without removing the "uploadByUrl" endpoint.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Low risk removal of secondary fallback API endpoint, users still have the primary API endpoint.
  • String changes made/needed?: no
  • Is Android affected?: yes
Attachment #9617883 - Flags: approval-mozilla-release?
Attachment #9617883 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: