Skip to content

Conversation

@fernandezcuesta
Copy link
Contributor

@fernandezcuesta fernandezcuesta commented May 23, 2025

Description of your changes

Add the ability to set a custom TTL for the function response.

It allows 3 ways to set it up besides the default, from lower to higher precedence:

  • default (current behaviour)
  • as a cli argument (deploymentruntimeconfig)
  • as a function input
  • as an annotation in the XR

Fixes #424

I have:

Signed-off-by: Jesús Fernández <[email protected]>
Signed-off-by: Jesús Fernández <[email protected]>
Signed-off-by: Jesús Fernández <[email protected]>
# Common versions
GO_VERSION: '1.23.8'
GOLANGCI_VERSION: 'v1.62.0'
GO_VERSION: '1.24.1'
Copy link

Choose a reason for hiding this comment

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

go1.24.3 was a security release so if updating to 1.24, it should be 1.24.3 (or .4 in a couple of days)

Signed-off-by: Jesús Fernández <[email protected]>
@fernandezcuesta
Copy link
Contributor Author

Is there a chance to get this PR reviewed, or in other words, is there anything utterly bad with it/some reason not to approve it? I can invest time resolving the conflicts but want to know first if it makes sense as is. 🙇

Copy link
Collaborator

@bobh66 bobh66 left a comment

Choose a reason for hiding this comment

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

Hi @fernandezcuesta - sorry for the delay. It looks like there are merge conflicts that need to be resolved.

Also I think it would be better to limit this PR to just the TTL changes and leave the other changes to separate PRs.

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.

Add support for setting the response Meta.TTL

3 participants