Commit Graph
74 Commits
Author SHA1 Message Date
Sylvestre Ledru cbed2aefe2 Bug 2040162 - Apply rumdl fixes to docs/rust-components r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D301159
2026-05-26 08:47:55 +00:00
Johannes Salas Schmidt beb23d6018 Bug 2030338 - configure a-s breach alerts component integration r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D292812
2026-05-12 16:21:58 +00:00
Mark Hammond 81f133b67c Bug 2038870 - Vendor application-services revision 8e3dd10. r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D299939
2026-05-12 07:02:25 +00:00
Temisan Iwere c5b8bd15ae Bug 2038606 - add docs for merino world cup client r=nanj DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D299692
2026-05-11 16:00:02 +00:00
Sylvestre Ledru 62b1ca8d05 Bug 2024589 - adjust the code: searchfox.org/mozilla-central is now redirecting to searchfox.org/firefox-main/ r=asuth,perftest-reviewers,necko-reviewers,jgraham,webcompat-reviewers,mozperftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,taskgraph-reviewers,releng-reviewers,desktop-theme-reviewers,win-reviewers,translations-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,core-sessionstore-reviewers,browser-installer-reviewers,profiles-reviewers,dom-worker-reviewers,geckodriver-reviewers,ai-platform-reviewers,Sasha,niklas,manuel,janerik,bhearsum,valentin,twisniewski,nchevobbe,emcminn,webrtc-reviewers,mjf,handyman,mconley,mossop,ahal,sparky,nrishel,robwu,ohall,dimi,hjones
Differential Revision: https://phabricator.services.mozilla.com/D288623
2026-04-30 13:28:49 +00:00
Silaghi 4f44f6badf Revert "Bug 2030338 - breach alert store backed by as component r=credential-management-reviewers,dimi" for causing bc failures at BreachAlertStore
This reverts commit 0020004626.

Revert "Bug 2030338 - configure a-s breach alerts component integration r=bdk"

This reverts commit 76feeb5601.
2026-04-29 08:55:33 +00:00
Johannes Salas Schmidt 76feeb5601 Bug 2030338 - configure a-s breach alerts component integration r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D292812
2026-04-29 07:20:30 +00:00
Johannes Salas Schmidt 6fd09997b4 Bug 2030657 - vendor latest a-s r=bdk,supply-chain-reviewers
and configure new a-s logins features for Desktop.

Differential Revision: https://phabricator.services.mozilla.com/D293084
2026-04-24 04:19:16 +00:00
Temisan Iwere 43825c6fd8 Bug 2033016 - Add docs for new Merino Rust client. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D295004
2026-04-17 19:39:07 +00:00
Ben Dean-Kawamura ecc5dfedbc Bug 2019317 - Rust component observability HOWTO, r=markh
This started as a "metrics HOWTO", but then I figured we should also
talk about error handling and error dashboards.

This instructs users to use the new dashboard generator tool, which is
very new, but seems to be working for SYNC metrics.  I figure it's good
to push people to use this even if the tool is green, we can help them
through the process and fix any bugs that come up.

Differential Revision: https://phabricator.services.mozilla.com/D284916
2026-02-27 20:39:16 +00:00
Ben Dean-Kawamura 8660b5f258 No bug - vendor application-services, r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D284865
2026-02-27 18:34:49 +00:00
Mark Hammond a4c608e92c Bug 2007857 (part 2) - Update uniffi to 0.31. r=bdk,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D277578
2026-01-29 15:05:48 +00:00
Bastian Gruber 53accefca2 Bug 2010110 - Remove old viaduct implementation in favor of viaduct-necko. r=bdk,necko-reviewers,frontend-codestyle-reviewers,kershaw
The old viaduct implementation in toolkit/components/viaduct/ has been
superseded by the new viaduct-necko implementation in
services/application-services/components/viaduct-necko/.

Differential Revision: https://phabricator.services.mozilla.com/D278860
2026-01-16 17:28:08 +00:00
Johannes Salas Schmidt 07d46777f0 Bug 2004391 - Update application-services version bump to new version 0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2 r=bdk,ttran,credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D275237
2025-12-18 10:37:11 +00:00
Cristina Horotan 15c9867811 Revert "Bug 2004391 - Update application-services version bump to new version 0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2 r=bdk,ttran,credential-management-reviewers,dimi" for causing xpcshell failures on test_tab_engine.js
This reverts commit ef2c34c882.
2025-12-10 14:47:26 +00:00
Johannes Salas Schmidt ef2c34c882 Bug 2004391 - Update application-services version bump to new version 0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2 r=bdk,ttran,credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D275237
2025-12-10 13:27:05 +00:00
Cristina Horotan 2ef692dbb0 Revert "Bug 2004391 - Update application-services version bump to new version 0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2 r=bdk,ttran" for causing bc failures on browser_rust_mirror.js
This reverts commit 36cc61c456.
2025-12-10 12:49:14 +00:00
Johannes Salas Schmidt 36cc61c456 Bug 2004391 - Update application-services version bump to new version 0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2 r=bdk,ttran
Differential Revision: https://phabricator.services.mozilla.com/D275237
2025-12-10 10:36:57 +00:00
Ben Dean-Kawamura 946ac296b5 Bug 1995771 - Document Rust component logging on Android/iOS, r=markh
The new parts are copied these from
https://github.com/mozilla/application-services/blob/main/docs/logging.md

Other than that I just updated the markdown header levels.

Differential Revision: https://phabricator.services.mozilla.com/D269622
2025-10-23 17:34:08 +00:00
Bastian Gruber 19ca0b6bac Bug 1993579 - Use latest application-services with viaduct OHTTP, r=bdk,markh,toolkit-telemetry-reviewers,TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D268203
2025-10-22 16:48:39 +00:00
Johannes Schmidt 62629c88ca Bug 1966326 - use rust logins: vendor rust and generate uniffi r=supply-chain-reviewers,markh
These are the build artefacts from the previously configured application
sevrices components, split out for easier review. It's the result of
both `./mach vendor rust` and `./mach uniffi generate` commands.

Differential Revision: https://phabricator.services.mozilla.com/D260122
2025-10-07 09:30:51 +00:00
Atila Butkovits 1357beacb4 Revert "Bug 1977783, Bug 1966327, Bug 1966326 - Add Telemetry for JSON to Rust Storage r=dimi,data-stewards" for causing leaks.
This reverts commit 0c730e993d.

Revert "Bug 1966327 - Add Rust Logins Storage Adapter and Integration Infrastructure r=dimi,firefox-desktop-core-reviewers ,mossop"

This reverts commit 6af9eae646.

Revert "Bug 1966326 - use rust logins: vendor rust and generate uniffi r=supply-chain-reviewers,markh"

This reverts commit 0796d739f4.

Revert "Bug 1966326 - use rust logins: setup r=markh,nss-reviewers,bbeurdouche"

This reverts commit 39e7683df3.
2025-10-02 13:31:34 +00:00
Johannes Schmidt 0796d739f4 Bug 1966326 - use rust logins: vendor rust and generate uniffi r=supply-chain-reviewers,markh
These are the build artefacts from the previously configured application
sevrices components, split out for easier review. It's the result of
both `./mach vendor rust` and `./mach uniffi generate` commands.

Differential Revision: https://phabricator.services.mozilla.com/D260122
2025-10-02 11:21:14 +00:00
Atila Butkovits f430a6167e Revert "Bug 1977783, Bug 1966326, Bug 1966326, Bug 1966327 - Add Telemetry for JSON to Rust Storage r=dimi,data-stewards" for causing lint failures.
This reverts commit 651225d029.

Revert "Bug 1966327 - Add Rust Logins Storage Adapter and Integration Infrastructure r=dimi,firefox-desktop-core-reviewers ,mossop"

This reverts commit 7f763790d2.

Revert "Bug 1966326 - use rust logins: vendor rust and generate uniffi r=supply-chain-reviewers,markh"

This reverts commit e285c7f3d3.

Revert "Bug 1966326 - use rust logins: setup r=markh,nss-reviewers,bbeurdouche"

This reverts commit 57129f85b8.
2025-10-02 08:38:30 +00:00
Johannes Schmidt e285c7f3d3 Bug 1966326 - use rust logins: vendor rust and generate uniffi r=supply-chain-reviewers,markh
These are the build artefacts from the previously configured application
sevrices components, split out for easier review. It's the result of
both `./mach vendor rust` and `./mach uniffi generate` commands.

Differential Revision: https://phabricator.services.mozilla.com/D260122
2025-10-02 08:14:52 +00:00
Ben Dean-Kawamura ee0d2b805c Bug 1989592 - vendor app-services 0cbf0dc0088a47f9ba0155440aaa5a9232a1a0aa, r=markh,toolkit-telemetry-reviewers,janerik
Differential Revision: https://phabricator.services.mozilla.com/D265465
2025-09-22 14:36:54 +00:00
Ben Dean-Kawamura 274a35f04d Bug 1881344 - Add pref to forward tracing events to the JS console, r=markh
This fixes the bug in a slightly roundabout way.  You can now see
`error_support` events by setting the
`toolkit.rust-components.logging.crates` pref to
`app-services-error-reporter`.

This gives Rust devs a manual way to get visibility into the errors and
breadcrumbs.  We can definitely do more here, and I hope to do that
before the end of the year, but this is a start at least.

Differential Revision: https://phabricator.services.mozilla.com/D259451
2025-09-03 17:34:05 +00:00
Narcis Beleuzu 436718533b Revert "Bug 1881344 - Add pref to forward tracing events to the JS console, r=markh" for causing bc failure on browser_all_files_referenced.js
This reverts commit 71a45b726a.
2025-09-03 15:31:14 +00:00
Ben Dean-Kawamura 71a45b726a Bug 1881344 - Add pref to forward tracing events to the JS console, r=markh
This fixes the bug in a slightly roundabout way.  You can now see
`error_support` events by setting the
`toolkit.rust-components.logging.crates` pref to
`app-services-error-reporter`.

This gives Rust devs a manual way to get visibility into the errors and
breadcrumbs.  We can definitely do more here, and I hope to do that
before the end of the year, but this is a start at least.

Differential Revision: https://phabricator.services.mozilla.com/D259451
2025-09-03 14:03:13 +00:00
Cristina Horotan 1347d44c4d Revert "Bug 1881344 - Add pref to forward tracing events to the JS console, r=markh" for causing bc failures on browser_all_files_referenced.js
This reverts commit 5f6ea417c7.
2025-08-29 21:26:59 +00:00
Ben Dean-Kawamura 5f6ea417c7 Bug 1881344 - Add pref to forward tracing events to the JS console, r=markh
This fixes the bug in a slightly roundabout way.  You can now see
`error_support` events by setting the
`toolkit.rust-components.logging.crates` pref to
`app-services-error-reporter`.

This gives Rust devs a manual way to get visibility into the errors and
breadcrumbs.  We can definitely do more here, and I hope to do that
before the end of the year, but this is a start at least.

Differential Revision: https://phabricator.services.mozilla.com/D259451
2025-08-29 19:06:16 +00:00
agoloman 8bc71397ce Revert "Bug 1881344 - Add pref to forward tracing events to the JS console, r=markh" for causing mochitest failures @test_no_errors_clean_profile.py.
This reverts commit 64e05b3cfc.
2025-08-29 01:05:10 +00:00
Ben Dean-Kawamura 64e05b3cfc Bug 1881344 - Add pref to forward tracing events to the JS console, r=markh
This fixes the bug in a slightly roundabout way.  You can now see
`error_support` events by setting the
`toolkit.rust-components.logging.crates` pref to
`app-services-error-reporter`.

This gives Rust devs a manual way to get visibility into the errors and
breadcrumbs.  We can definitely do more here, and I hope to do that
before the end of the year, but this is a start at least.

Differential Revision: https://phabricator.services.mozilla.com/D259451
2025-08-29 00:01:48 +00:00
Tif Tran 37e5762538 Bug 1982466 - Vendor Application-Services e88505b for suggest serp categories. r=nanj,supply-chain-reviewers,urlbar-reviewers,adw
Differential Revision: https://phabricator.services.mozilla.com/D260752
2025-08-14 01:06:24 +00:00
Cosmin Sabou f45db2029d Revert "Bug 1982466 - Vendor Application-Services e88505b for suggest serp categories. r=nanj,supply-chain-reviewers" for causing xpcshell failures on test_quicksuggest
This reverts commit 640b92cb1f.
2025-08-13 22:24:08 +00:00
Tif Tran 640b92cb1f Bug 1982466 - Vendor Application-Services e88505b for suggest serp categories. r=nanj,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D260752
2025-08-13 21:30:50 +00:00
Ben Dean-Kawamura 0686fc84c5 Bug 1881344 - Vendor app-services 5da867d60792632f96fa514b030819bd0c830bcf, r=markh
Also, added the `error-support` crate to the UniFFI components.

Differential Revision: https://phabricator.services.mozilla.com/D259449
2025-07-31 22:44:58 +00:00
Mark Hammond a84bf84b57 Bug 1969013 - Add a global tracing-subscriber registry in a new gecko-tracing crate. r=bdk,supply-chain-reviewers,nika
app-services wants to leverage tracing-subscriber, which requires an app-owned singleton. This bug is to vendor
tracing-subscriber and add a Rust crate similar to gecko-logger (which manages a log sink singleton) to
manage the tracing singleton.

Differential Revision: https://phabricator.services.mozilla.com/D251632
2025-07-23 15:18:53 +00:00
Ben Dean-Kawamura 962b00a483 Bug 1969457 - uniffi-bindgen-gecko-js doc updates, r=markh,bgruber
Added documents on how things work internally.

Also updated the "Developing Rust Components" section.  Added info on
threading issues and removed info covered by the internals docs.

Differential Revision: https://phabricator.services.mozilla.com/D252244
2025-06-18 22:40:40 +00:00
Mike Conley 5d4568f158 Bug 1954122 - Part 3: Generate Uniffi bindings for filter_adult Rust component. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D251624
2025-06-12 01:07:40 +00:00
agoloman 243ef364fd Revert Bug 1954122 - for causing bc failures @browser_interactions_blocklist.js.
This reverts commit 5864321b34.

Revert "Bug 1954122 - Part 4: Have FilterAdult delegate lookups to FilterAdultComponent shared Rust component. r=Mardak"

This reverts commit a49186d7f8.

Revert "Bug 1954122 - Part 3: Generate Uniffi bindings for filter_adult Rust component. r=markh"

This reverts commit 5d8d0121d8.

Revert "Bug 1954122 - Part 2: Vendor in Rust libraries. r=markh,supply-chain-reviewers"

This reverts commit f037225bf3.

Revert "Bug 1954122 - Part 1: Vendor in filter_adult Rust component from application-services. r=markh"

This reverts commit 9b92a9e6c9.
2025-06-09 23:38:16 +00:00
Mike Conley 5d8d0121d8 Bug 1954122 - Part 3: Generate Uniffi bindings for filter_adult Rust component. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D251624
2025-06-09 21:49:59 +00:00
Ben Dean-Kawamura 520ac6f0f9 Bug 1970755 - Rust component pros-and-cons documentation, r=markh
I originally planned to call this "what makes a good component", but
then I thought about the recent `context_id` component.  It didn't fit
into my mental model of a "good component", but in hindsight it makes
sense.  This makes me think a pros-and-cons list is a better way to talk
about this -- it's less likely to be biased.

Also added a paragraph on what it means to own a shared Rust component.

Differential Revision: https://phabricator.services.mozilla.com/D252848
2025-06-06 19:55:28 +00:00
Ben Dean-Kawamura 9355464a0a Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:

* Use the IR pipeline code to generate the structs used to render the
  templates.
* A new test fixture for bindings generators.  This one targets bindings
  generators specifically, it doesn't try test the scaffolding code and
  it's not based on real-world example code.  I originally thought it
  would be a single crate, but I ended up needed 2 in order to test
  external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)

Differential Revision: https://phabricator.services.mozilla.com/D242385
2025-05-27 17:12:25 +00:00
Drew Willcoxon 3d0a207aee Bug 1968156 - Vendor application-services 8986582 for suggest geonames and weather changes. r=daisuke,supply-chain-reviewers
This vendors this revision:
https://github.com/mozilla/application-services/commit/8986582d377eac7b64bddec8aa9c5ce06b161424

It also makes some desktop fixes due to some breaking changes in Suggest, which
@daisuke previously reviewed. It's a large vendor due to vendoring some new
crates plus some app-services revisions that made changes to logging and error
reporting and touched lots of files.

Differential Revision: https://phabricator.services.mozilla.com/D250877
2025-05-23 20:13:00 +00:00
agoloman 636d57b8c0 Revert (Bug 1965313, Bug 1955298) - for causing xpc and bc failures.
This reverts commit d810bb578e.

Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"

This reverts commit fe3e643fee.
2025-05-23 15:52:35 +00:00
Ben Dean-Kawamura fe3e643fee Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:

* Use the IR pipeline code to generate the structs used to render the
  templates.
* A new test fixture for bindings generators.  This one targets bindings
  generators specifically, it doesn't try test the scaffolding code and
  it's not based on real-world example code.  I originally thought it
  would be a single crate, but I ended up needed 2 in order to test
  external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)

Differential Revision: https://phabricator.services.mozilla.com/D242385
2025-05-23 14:21:55 +00:00
Mark Banner 0186d5865e Bug 1967446 - Convert uniffi generated Rust modules to use moz-src. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D250243
2025-05-20 19:00:32 +00:00
Alexandru Marc 13387e6e59 Revert "Bug 1965313 - Reimplement enum discriminents, r=bgruber" for causing py3 failures
This reverts commit bcf4989b84.

Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"

This reverts commit 6e1a647b81.
2025-05-20 16:15:02 +00:00
Ben Dean-Kawamura 6e1a647b81 Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:

* Use the IR pipeline code to generate the structs used to render the
  templates.
* A new test fixture for bindings generators.  This one targets bindings
  generators specifically, it doesn't try test the scaffolding code and
  it's not based on real-world example code.  I originally thought it
  would be a single crate, but I ended up needed 2 in order to test
  external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)

Differential Revision: https://phabricator.services.mozilla.com/D242385
2025-05-20 14:51:59 +00:00