Repository navigation
Route enrolled physical Devices through the provider custody coordinator - #262
Merged
scotwells merged 1 commit intoNov 30, 2026
Merged
Conversation
ecv
approved these changes
Nov 30, 2026
ecv
left a comment
Contributor
There was a problem hiding this comment.
Approve.
No security finding. The physical route is off by default, the docs use invented identifiers, and the diff carries no credentials, only mount paths.
- Custody still decides delivery.
Deliveracts only on custody'sActiveOperationwith a matching fence and a phase that hasn't ended, so nothing custody hasn't released gets delivered, and no path skips a wipe. - The route is bound to one provider project and namespace, and enrolled Devices are pinned by name and UID in
Serving,DeliverandCollect. A recreated Device isn't served, and a result from outside the enrollment is rejected. - Customer allocation stays off for physical Devices. The allocator is nil without
--synthetic-staging, and with itAllowsDevicelimits allocation and resume to the fixture enrollment. - The head builds and vets, and
go testpasses oncmd/fleet-managerandinternal/delivery.
This was referenced Nov 30, 2026
Contributor
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add opt-in
fleet-manager --physical-site-configfor a provider-owned Karmada member. Keep one custody writer whether synthetic staging is off or alongside the physical site. The new route uses the existing courier, Karmada report/assignment transport, observer and dispatcher; no fixture discovery or synthetic allocation is enabled for physical Devices.Pin the Device incarnation, reject overlapping enrollment, restrict the fixture allocator and reject results from a site not serving the Device. Document management and member deployment contracts and the reflected fence checkpoint. No live deployment or hardware access.
Validation:
go test ./..., focused routing/transport/allocation tests,hack/validate-doc-links.sh,git diff --check.