You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Support commit message when uploading AI skillsΒ #15234
Is your feature request related to a problem? Please describe.
When uploading an AI skill ZIP through the skill upload API, the request can create or overwrite a draft version, but there is no way to provide a version-level commit message in the same request.
This is inconsistent with the skill draft APIs, where commitMsg is already supported when creating or updating a draft. As a result, users who upload skill packages cannot record why the draft version was created or changed unless they make an additional draft update request.
Describe the solution you would like
Support an optional commitMsg parameter for skill upload APIs.
Expected behavior:
/v3/admin/ai/skills/upload accepts commitMsg as an optional multipart form field.
/v3/console/ai/skills/upload accepts commitMsg as an optional multipart form field.
Console proxy, inner handler, remote handler, and maintainer client pass commitMsg through to the skill operation service.
When upload creates a new draft, the commit message is stored as the draft version description.
When upload overwrites an existing draft, the commit message updates the draft version description.
Existing upload behavior remains unchanged when commitMsg is not provided.
Describe alternatives you have considered
A client could upload the skill ZIP first and then call the draft update API with commitMsg, but this requires an extra request and makes the upload operation less atomic. It also creates inconsistent behavior between direct draft operations and ZIP upload operations.
Additional context
This makes UploadSkill consistent with UploadSkillDraft behavior and improves traceability for skill version changes created from uploaded ZIP packages.
Activity
[ISSUE #15234] Support commit message for skill upload (#15235)