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
The registry in #1497 identifies a backend when constructing a driver. Stored devices also need that identity: selecting another backend must not make existing device data unreadable or hand those devices to the newly selected driver.
This persists the backend on virtual and physical devices. The registry migration assigns existing rows to local and preserves active leases and driver data. All backend tables remain registered, and device operations, acquisition planning, startup observation and tunnel cleanup use the recorded owner. Device grants and views expose the required field, with the daemon protocol bump.
The migration tests reopen a real SQLite database with an active lease and retain its identity, address and driver data. Backend-switch tests refuse foreign device operations before ending the existing lease or calling the newly selected driver. The targeted ownership, lifecycle, planning and startup tests pass, along with 30 physical-device E2E cases using the fake-driver harness and the website/OpenAPI check.
Saved-source ownership and capability admission are the next step before enabling ADC:
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.
The registry in #1497 identifies a backend when constructing a driver. Stored devices also need that identity: selecting another backend must not make existing device data unreadable or hand those devices to the newly selected driver.
This persists the backend on virtual and physical devices. The registry migration assigns existing rows to
localand preserves active leases and driver data. All backend tables remain registered, and device operations, acquisition planning, startup observation and tunnel cleanup use the recorded owner. Device grants and views expose the required field, with the daemon protocol bump.The migration tests reopen a real SQLite database with an active lease and retain its identity, address and driver data. Backend-switch tests refuse foreign device operations before ending the existing lease or calling the newly selected driver. The targeted ownership, lifecycle, planning and startup tests pass, along with 30 physical-device E2E cases using the fake-driver harness and the website/OpenAPI check.
Saved-source ownership and capability admission are the next step before enabling ADC:
Written by an agent.