Commit Graph
17 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
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
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 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
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
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
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
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
Ben Dean-Kawamura ac5b8a04ee Bug 1949283 - Add link to the Rust example component, r=bgruber
Started a "developing rust components" section.  It's quite bare now,
but I think we can add more to it as part of
https://bugzilla.mozilla.org/show_bug.cgi?id=1949287.

Differential Revision: https://phabricator.services.mozilla.com/D238840
2025-02-21 18:51:43 +00:00
Stanca Serban 5c3cb2aef0 Backed out changeset cc20bba1f56d (bug 1949283) for causing linting opt failures. CLOSED TREE 2025-02-21 20:08:56 +02:00
Ben Dean-Kawamura 5784244b7f Bug 1949283 - Add link to the Rust example component, r=bgruber
Started a "developing rust components" section.  It's quite bare now,
but I think we can add more to it as part of
https://bugzilla.mozilla.org/show_bug.cgi?id=1949287.

Differential Revision: https://phabricator.services.mozilla.com/D238840
2025-02-21 16:15:41 +00:00