Skip to content

feat: remove ttl from AnnounceImageManifestRequest - #705

Merged
gaius-qi merged 1 commit into
mainfrom
feature/remove-image-manifest-ttl
Nov 26, 2026
Merged

gaius-qi merged 1 commit into
mainfrom
feature/remove-image-manifest-ttl

Conversation

@chlins

@chlins chlins commented Nov 26, 2026

Copy link
Copy Markdown
Member

Description

Remove ttl from AnnounceImageManifestRequest. The ttl of the image manifest is configured in the scheduler, so the peer does not send it.

The field was added in 2.3.14, and no released scheduler or client uses it. It is removed without reserved, the same as the earlier removals in this repo (for example #616).

Regenerate the Go, Rust and Python bindings and bump the version to 2.3.16.

Related Issue

dragonflyoss/dragonfly#5116

Motivation and Context

The ttl decides how long a tag can still be resolved when the registry is unavailable. It is one value for the cluster and belongs to the config of the scheduler, not to the request of each peer. dragonflyoss/dragonfly#5148 takes the ttl from the config of the scheduler.

Screenshots (if appropriate)

Remove ttl from AnnounceImageManifestRequest. The ttl of the image
manifest is configured in the scheduler, so the peer does not send it.
Regenerate the Go, Rust and Python bindings along with the descriptor
set, and bump the Cargo package version to 2.3.16.

Signed-off-by: Chlins Zhang <chlins.zhang@gmail.com>

@gaius-qi gaius-qi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@gaius-qi
gaius-qi enabled auto-merge (squash) November 26, 2026 10:06

@LunaWhispers LunaWhispers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm

@gaius-qi
gaius-qi merged commit c03dde4 into main Nov 26, 2026
6 checks passed
@gaius-qi
gaius-qi deleted the feature/remove-image-manifest-ttl branch November 26, 2026 13:50
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