You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(backends): register local backend modules - #1497
In #1471 we tried ADC end to end. The review showed that each additional backend would have to change driver construction, prerequisites and table registration in the daemon again.
This gives each backend a light definition for configuration and a heavy module for its factory, prerequisites and device-data table. Android and iOS register their existing local implementations through these modules. The CLI reads only definitions, and the daemon discovers the selected module through the registry.
Only local backends are registered at this step. Persistent device ownership and saved-source ownership follow before ADC is enabled.
The targeted configuration, discovery, import-boundary and HTTP-port tests pass: 828 tests passed and one was skipped. The website build and OpenAPI check also pass.
The remaining changes are split into dependent PRs:
hannojg
changed the title
feat(backends): register backends and preserve resource ownership
feat(backends): register local backend modules
Nov 10, 2026
Closing as superseded by #2041. That feature reuses this stack's design: a light backend definition in the driver registry, a heavy backend module in the daemon, and a backend on device and baseline records. It changes one thing: a worker may run several backends per platform (emulator, redroid and phones together), so a backend is chosen per lease rather than per worker. The ADC backend can come back later as another backend on that abstraction. Thank you for the groundwork, @hannojg.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In #1471 we tried ADC end to end. The review showed that each additional backend would have to change driver construction, prerequisites and table registration in the daemon again.
This gives each backend a light definition for configuration and a heavy module for its factory, prerequisites and device-data table. Android and iOS register their existing local implementations through these modules. The CLI reads only definitions, and the daemon discovers the selected module through the registry.
Only local backends are registered at this step. Persistent device ownership and saved-source ownership follow before ADC is enabled.
The targeted configuration, discovery, import-boundary and HTTP-port tests pass: 828 tests passed and one was skipped. The website build and OpenAPI check also pass.
The remaining changes are split into dependent PRs:
Written by an agent.