Skip to content

feat: add ModelServing revision core - #1643

Open
acsoto wants to merge 4 commits into
volcano-sh:mainfrom
acsoto:feature/modelserving-revision-core
Open

feat: add ModelServing revision core#1643
acsoto wants to merge 4 commits into
volcano-sh:mainfrom
acsoto:feature/modelserving-revision-core

Conversation

@acsoto

@acsoto acsoto commented Aug 17, 2026

Copy link
Copy Markdown
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

Implements the first part of the ModelServing revision history and rollback proposal in #1607: revision API fields, canonical revision data and apply logic, and ControllerRevision lifecycle utilities.

Which issue(s) this PR fixes:
Refs #1607 #1584

Bug evidence (required for bug-related PRs):
N/A

Special notes for your reviewer:

This is part 1 of #1607. Controller integration, retention, and CLI rollback will follow separately.

This PR was written in part with the assistance of generative AI.

Does this PR introduce a user-facing change?:

NONE

@volcano-sh-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign yaozengzeng for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@LiZhenCheng9527 LiZhenCheng9527 added this to the release 1.1 milestone Aug 19, 2026
@LiZhenCheng9527 LiZhenCheng9527 moved this from Accepted to Planned in Release v1.1 in Kthena Release Tracking Aug 20, 2026
@acsoto

acsoto commented Aug 21, 2026

Copy link
Copy Markdown
Member Author

Comment on lines +167 to +168
if clone.Revision >= newRevision {
return nil

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.

Suggest: Do not report success after a failed conflict refresh

acsoto added 4 commits August 23, 2026 10:50
Signed-off-by: Zhou Zihang <z@mcac.cc>
Signed-off-by: Zhou Zihang <z@mcac.cc>
Signed-off-by: Zhou Zihang <z@mcac.cc>
Signed-off-by: Zhou Zihang <z@mcac.cc>
@acsoto
acsoto force-pushed the feature/modelserving-revision-core branch from 2d8a095 to ac70d55 Compare August 23, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Planned in Release v1.1

Development

Successfully merging this pull request may close these issues.

4 participants