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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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.
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
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.
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