{"task": {"agent_timeout": 3000, "task": "codegen__containerd__containerd-6841", "verifier_timeout": 3000, "instruction": "This is a code generation task. You are expected to write working code that solves the described problem.\n<issue>\n      ### What is the problem you're trying to solve\n\nWe'd like to migrate off from github.com/gogo/protobuf. The package is looking for owners since 2020 and no longer compatible with https://go.dev/blog/protobuf-apiv2.\n\nThis is the master ticket to associate all PRs related to the migration.\n\n### Describe the solution you'd like\n\nUse google.golang.org/protobuf instead.\n\nWe have removed gogo/protobuf and upgraded protobuf on the following packages.\n\nhttps://github.com/containerd/protobuild\n\n* https://github.com/containerd/protobuild/pull/44\n\nhttps://github.com/containerd/ttrpc\n\n* https://github.com/containerd/ttrpc/pull/99\n* https://github.com/containerd/ttrpc/pull/96\n\n### gogo/protobuf's code generation extension\n\nThere are multiple gogo/protobuf extensions which don't work with protoc-gen-go. That being said, those types are mostly invisible from our Go client. So we might be able to just follow Google's new convention (e.g. using protobuf's Time instead time.Time) instead of making them fully Go-idiomatic.\n\n- gogoproto.nullable (used in 71 places): https://github.com/golang/protobuf/issues/1225\n- gogoproto.stdtime (27): https://github.com/golang/protobuf/issues/414\n- gogoproto.customename (5): Google's protoc-gen-go doesn't generate Go-idiomatic code in terms of capitalizing acronyms. For example `cpu` in proto becomes `Cpu`, not `CPU`. We are discussing about the issue in #6219.\n- gogoproto.unmarshaller_all (1): This one and the below are only used by pkg/runtimeoptions/v1/api.proto.\n- gogoproto.stringer_all (1)\n- gogoproto.sizer_all (1)\n- gogoproto.marshaler_all (1)\n- gogoproto.goproto_unregonized_all (1)\n- gogoproto.goproto_stringer_all (1)\n- gogoproto.goproto_getters_all (1)\n\n#### Addressed\n\nFixed by #6699\n- gogoproto.customtype (10): All of them are used to use `github.com/opencontainers/go-digest.Digest` instead of string.\n\nFixed by #6708\n- gogoproto.enum_customname\n- gogoproto.goproto_enum_prefix: https://github.com/golang/protobuf/issues/513\n- gogoproto.enumvalue_customname\n\n</issue>\nFocus on implementing the required functionality correctly and efficiently. Treat this as a programming challenge.\nYou are not allowed to read git history.\n", "memory": "8192m", "runnable": false, "difficulty": "hard", "language": "", "cpus": "", "instruction_truncated": false, "category": "code-generation", "compose": false, "has_solution": false, "oracle": null, "docker_image": "", "taskset": "devopsgym", "tags": ["code-generation", "devops-bench"]}, "runs": []}