Skip to content

Move hcsshim/main to containerd v2.1.2 and update CIs to WS2025 #2425

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kiashok
Copy link
Contributor

@kiashok kiashok commented May 9, 2025

Move hcsshim/main to containerd v2.1.2 and resolve dependencies.
Move CIs to WS2022 and WS2025.

@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch 5 times, most recently from 2adfd99 to 8b91059 Compare May 13, 2025 02:37
@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch 6 times, most recently from 832e200 to 75dd87a Compare June 3, 2025 19:42
@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch 5 times, most recently from cc93904 to 4836058 Compare June 4, 2025 22:31
@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch from 4836058 to ff0de5d Compare June 12, 2025 16:38
@kiashok kiashok changed the title [Test] Move hcsshim/main to containerd v2.1.0 Move hcsshim/main to containerd v2.1.2 and update CIs to WS2025 Jun 12, 2025
@kiashok kiashok marked this pull request as ready for review June 12, 2025 16:39
@kiashok kiashok requested a review from a team as a code owner June 12, 2025 16:39
@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch 9 times, most recently from a99afdc to aea85ca Compare June 16, 2025 06:11
@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch 5 times, most recently from fab30fd to 7d62265 Compare July 1, 2025 23:04
@helsaawy helsaawy self-assigned this Jul 2, 2025
@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch from 7d62265 to f3a3f7b Compare July 2, 2025 17:17
@@ -225,13 +225,13 @@ func (s *service) pidsInternal(ctx context.Context, req *task.PidsRequest) (*tas
}
processes := make([]*containerd_v1_types.ProcessInfo, len(pids))
for i, p := range pids {
a, err := typeurl.MarshalAny(p)
a, err := anypb.New(p)
Copy link
Contributor

Choose a reason for hiding this comment

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

do we not need set the TypeUrl field to "typeurl".TypeURL, since I think that URL is different from the default that anypb sets

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm I thought containerd/typeurl was also now defaulting to anypb prefixes. Let me check

@@ -183,6 +184,24 @@ The start command can either start a new shim or return an address to an existin
},
}

// writeAddress writes a address file atomically
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// writeAddress writes a address file atomically
// writeAddress writes an address file atomically

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
@kiashok kiashok force-pushed the update-shim-ctrd2.0 branch from f3a3f7b to 4c9d1c0 Compare July 2, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants