[roll] Roll fuchsia [ffx][repository] Remove Daemon usage in tests

Refactors repository start server plugin tests to avoid using
DaemonConnector and FakeInjector. This aligns with the target design
of removing daemon dependency.

The tests now utilize a mock direct connection (DirectConnector)
configured with a local FDomain client. To simulate target namespace
traversal, a mock fuchsia.io.Directory is introduced to route directory
open requests to a FakeRcs proxy server stream.

Additionally, updates FfxTargetCrateError's into_command_error
conversion to correctly map target lookup and query ambiguity errors
(FfxTargetError) to user-facing errors (Error::User), allowing target
validation tests to assert correctly.

Note on test differences:
- Target identity is no longer mocked since the plugin does not query
  target identity at runtime.
- `test_auto_reconnect` simulates connection loss by disabling target
  discovery in the configuration, causing the daemonless knocker to fail
  target resolution with `TargetNotFound`.

Test: fx test ffx_repository_server_start_lib_test

Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1652704
Original-Original-Revision: 0815ff1b8ddababb55719fa9fc83cc34833c2f36
GitOrigin-RevId: 55a9438e649031654d9fd2f1fc6e061b238d5779
Change-Id: I58935b720083535966a6711dc639d3a791ff79b1
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1658134
Cr-Commit-Position: refs/heads/main@{#194797}
1 file changed
tree: e5c154120c05a1ddaee18c1cbedfd05462fcd17c
  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.