Closed Bug 1892814 Opened 1 year ago Closed 10 months ago

Rework remote settings usage

Categories

(Application Services :: Suggest, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bdk, Unassigned)

References

Details

(Whiteboard: [disco-])

As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1889986, our remote settings usage does not align with the recommended practices from the remote settings team. In particular, we should not be using any filters other than gt_last_modified. We should rework the component to follow their recommendations.

In particular this means:

  • Not fetching previously unparsable particular suggestions by id. This should be easy to change. I think we may not even use this code anymore.
  • Using the default sorting, rather than reverse sorting by mtime. Also easy, we can just reverse things on the client side.
  • Not filtering by type. This is probably the hardest change, but not too bad. When fetching the records, we can skip the type filter, but then only fetch attachments for the types we care about. (Is this just reverting Michelle's PR?).

Mathieu: is there a deadline for these changes? AFAICT, they don't seem too hard, but we're focusing on getting another project out the door, and I may be missing some of the work needed. If we got this done by Q3 would that be work for your team?

Going forward, how would it work if we wanted to start using some filter or wanted to request a new feature for the remote settings API? I don't think we have any plans to do that, but we'd just like to know the correct channels to use if we did.

Thank you for following this up

is there a deadline for these changes?

Not really. The sooner the better of course, but shouldn't conflict with ongoing work.
Q3 sounds great!

Going forward, how would it work if we wanted to start using some filter or wanted to request a new feature for the remote settings API? I don't think we have any plans to do that, but we'd just like to know the correct channels to use if we did.

The development of the service happens here: https://github.com/mozilla/remote-settings/
This is where we can discuss ideas, write ADRs, etc.
On Slack we are in #delivery

Sounds good to me as well. I'll keep you updated on the progress.

Whiteboard: [disco-]
Severity: -- → N/A
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.