Skip to content

Conversation

RuoqingHe
Copy link
Member

Previous version of ttrpc-codegen (v0.4.2) is generating rust code with #![allow(box_pointers)] which was deprecated and preventing us from bumping to Rust 1.85.1.

Bump ttrpc-codegen from v0.4.2 to v0.5.0 and protobuf from vx to v3.7.1 to get rid of this.

Relates: #11305

RuoqingHe and others added 3 commits June 4, 2025 01:16
Previous version of `ttrpc-codegen` is generating outdated
`#![allow(box_pointers)]` which was deprecated. Bump `ttrpc-codegen`
from v0.4.2 to v0.5.0 and `protobuf` from vx to v3.7.1 to get rid of
this.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
Removed unnecessary dynamic dispatch for services. Properly dereferenced
service Box values and stored in Arc.

Co-authored-by: Ruoqing He <heruoqing@iscas.ac.cn>
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
Signed-Off-By: Ryan Savino <ryan.savino@amd.com>
Propagate `ttrpc-codegen` upgrade from `libs/protocols` to `agent`.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
Copy link
Member

@fidencio fidencio left a comment

Choose a reason for hiding this comment

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

Nice, thanks @RuoqingHe!

Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@stevenhorsman stevenhorsman merged commit 0f8104a into kata-containers:main Jun 5, 2025
1196 of 1327 checks passed
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 9, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 10, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 10, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 10, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 10, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
RuoqingHe added a commit to RuoqingHe/kata-containers that referenced this pull request Jun 11, 2025
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.

Relates: kata-containers#11376

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants