-
Notifications
You must be signed in to change notification settings - Fork 894
feat(agent): add ParentId
to agent manifest
#17888
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
Changes from 1 commit
fdf5651
b316482
fa9d6ba
99d83a7
da47a73
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
ParentId
to agent manifest
This change introduces a new `ParentId` field to the agent's manifest. This will allow an agent to know if it is a child or not, as well as knowing who the owner is.
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we also assert that parent is nil if not specified in the manifest? (Essentially the inverse of the test you added) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've updated the original test to have the |
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.
agent/proto/version.go
defines its version as the same version astailnet/proto
so I think we need to add a comment intailnet/proto/version.go
and bump the minor version.