Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
d36a5f6 to
acd14e8
Compare
|
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 Written by an agent. |
This follows the device ownership work in #1499.
A saved baseline outlives the device that created it. Recording only its platform allows another backend to interpret the same source ID or remove its saved data after a configuration change.
This stores the baseline's backend and migrates existing rows to
local. Listing, provisioning, replacement and deletion use that owner; an unavailable owner keeps its rows and sources. Requests for unsupported baselines, physical devices orexceptare refused before provisioning or ending an existing lease.The tests migrate a real version 1 baseline database while retaining its source and metadata, distinguish identical source IDs from different backends, and preserve unavailable owners during replacement and nuke. They also verify unsupported requests fail before device work or lease release. All 237 targeted baseline, admission and device tests pass.
ADC uses this completed ownership and capability model:
Written by an agent.