[roll] Roll fuchsia [ffx][metrics] Use structured errors in public API

Refactor the `metrics` host library to remove generic `anyhow::Result`
from its public boundaries.

Return `analytics::AnalyticsError` for public functions.

Updated `add_ffx_launch_event` and `add_flash_partition_event` to return the
local type-safe `Result<()>`. Purged generic `anyhow::Error::from` bridging
logic, allowing `AnalyticsError` to propagate cleanly.

Test: `fx test ffx_metrics_lib_test`
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1598868
Original-Original-Revision: 6a1d5a6eac4087e53a02401c724185789836705d
GitOrigin-RevId: 63b32fb44a96ea9c1bd5f4bf8c33f68f20d96f0a
Change-Id: I644270f1288915142574559ca1305693fc37a269
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1613198
Cr-Commit-Position: refs/heads/main@{#192745}
1 file changed
tree: a95d2a75ec10325026c3d36ad5cce27746bb26b4
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.