-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ME-4100): allow standalone services #51
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThis pull request introduces modifications to the protocol buffer definitions related to network services. In Changes
Sequence DiagramsequenceDiagram
participant Client
participant NetworkState
participant ServiceManager
Client->>NetworkState: Update Network State
NetworkState->>ServiceManager: Include Standalone Services
ServiceManager-->>NetworkState: Process Services
NetworkState-->>Client: Confirm Update
Possibly related PRs
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
device/device.proto (1)
65-67
: LGTM! Consider adding field documentation.The new fields align well with the PR objective to allow standalone services. The field numbers maintain backward compatibility.
Consider adding documentation comments to explain:
- When a service is considered
standalone
- The lifecycle implications of the
delete
flagExample:
repeated border0.common.v1.IPAddressWithMetadata public_ips = 14; + // standalone indicates whether this service can operate independently bool standalone = 15; + // delete marks this service for deletion in the next update bool delete = 16;common/messages.proto (1)
70-70
: LGTM! Consider adding field documentation.The new field aligns well with the PR objective and maintains backward compatibility.
Consider adding documentation to explain the purpose and usage of standalone services:
string network_resources_cidr_v6 = 8; + // standalone_services represents services that can operate independently of a network repeated Service standalone_services = 9;
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (7)
common/messages.pb.go
is excluded by!**/*.pb.go
device/device.pb.go
is excluded by!**/*.pb.go
gen/kotlin/border0/common/v1/NetworkStateMessageKt.kt
is excluded by!**/gen/**
gen/kotlin/border0/common/v1/WireGuardPeerKt.kt
is excluded by!**/gen/**
gen/kotlin/border0/device/v1/ServiceKt.kt
is excluded by!**/gen/**
gen/swift/device.pb.swift
is excluded by!**/gen/**
gen/swift/messages.pb.swift
is excluded by!**/gen/**
📒 Files selected for processing (2)
common/messages.proto
(1 hunks)device/device.proto
(1 hunks)
Summary by CodeRabbit