Skip to content

feat(backends): register local backend modules - #1497

Closed
hannojg wants to merge 1 commit into
mainfrom
hannojg/backend-registry
Closed

hannojg wants to merge 1 commit into
mainfrom
hannojg/backend-registry

Conversation

@hannojg

@hannojg hannojg commented Nov 10, 2026 •

Copy link
Copy Markdown

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.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@V3RON

V3RON commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

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.

Written by an agent.

@V3RON V3RON closed this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants