Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(agent): addParentId 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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
DanielleMaywood merged 5 commits intomainfromdm-agent-manifest
May 19, 2025

Conversation

DanielleMaywood
Copy link
Contributor

@DanielleMaywoodDanielleMaywood commentedMay 16, 2025
edited
Loading

Closescoder/internal#648

This change introduces a newParentId 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.

This is part of the Dev Container Agents RFC work

@DanielleMaywoodDanielleMaywood changed the titlefeat(agent): addParentId to agent manifestfeat: addParentId to agent manifestMay 19, 2025
@DanielleMaywoodDanielleMaywood changed the titlefeat: addParentId to agent manifestfeat(agent): addParentId to agent manifestMay 19, 2025
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 asknowing who the owner is.
@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewMay 19, 2025 09:17
Copy link
Member

Choose a reason for hiding this comment

The 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)

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I've updated the original test to have theParentId: null explicit in theexpected struct 👍

Copy link
Member

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.

johnstcn
johnstcn previously approved these changesMay 19, 2025
@@ -45,9 +45,13 @@ import (
// PushResourcesMonitoringUsage RPCs on the Agent API.
// - Added support for reporting connection events for auditing via the
// ReportConnection RPC on the Agent API.
//
// API v2.5:
// - Shipped in Coder v2.xx.x // TODO(DanielleMaywood): Update version
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think we can make an educated guess at 2.23 :) but this is fine for now.

@DanielleMaywoodDanielleMaywood merged commit61f22a5 intomainMay 19, 2025
36 checks passed
@DanielleMaywoodDanielleMaywood deleted the dm-agent-manifest branchMay 19, 2025 15:09
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 19, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@spikecurtisspikecurtisAwaiting requested review from spikecurtisspikecurtis is a code owner

Assignees

@DanielleMaywoodDanielleMaywood

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AddParentId to agent manifest
2 participants
@DanielleMaywood@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp