Skip to content

Conversation

@Annaseli
Copy link
Contributor

Closes #9875

Added the capabilities property In config for lakectl with async commit and merge

@Annaseli Annaseli requested a review from N-o-Z December 22, 2025 18:21
@github-actions github-actions bot added area/API Improvements or additions to the API area/testing Improvements or additions to tests area/sdk/python labels Dec 22, 2025
@Annaseli Annaseli added the include-changelog PR description should be included in next release changelog label Dec 22, 2025
Copy link
Member

@N-o-Z N-o-Z left a comment

Choose a reason for hiding this comment

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

Thanks - see comments

Capabilities:
type: object
properties:
async_ops:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
async_ops:
async_ops:
description: is async operations enabled in server. *EXPERIMENTAL*

}
}

func (c *Controller) getCapabilities() *apigen.Capabilities {
Copy link
Member

Choose a reason for hiding this comment

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

Can be inline


func (c *Controller) getCapabilities() *apigen.Capabilities {
capabilitiesConfig := c.Config.CapabilitiesConfig()
asyncOps := capabilitiesConfig.GetAsyncOps()
Copy link
Member

Choose a reason for hiding this comment

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

unnecessary var

api/swagger.yml Outdated
$ref: "#/components/schemas/StorageConfigList"
ui_config:
$ref: "#/components/schemas/UIConfig"
capabilities:
Copy link
Contributor

Choose a reason for hiding this comment

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

How do you feel about calling this graveler_capabilities? It feels less like 1 catches all but still general

Copy link
Member

Choose a reason for hiding this comment

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

What's graveler in the context of the controller. Controller is not suppose to be away of graveler - that's why we have catalog. I'm strongly against that

@Annaseli Annaseli merged commit b1b862f into master Dec 22, 2025
44 checks passed
@Annaseli Annaseli deleted the feature/add-capabilities-to-config-oss branch December 22, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/API Improvements or additions to the API area/sdk/python area/testing Improvements or additions to tests include-changelog PR description should be included in next release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Capabilities Property In Config

4 participants