Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: don't reconcile resource requests while a Promise pipeline is in-flight #298

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alparslanavci
Copy link
Contributor

Closes #279.

@kirederik
Copy link
Member

hey @alparslanavci, thanks for the PR. The code looks good and, apart from what you raised in #301, nothing much to worry here. We could try to avoid the potential race condition by making the dynamic controller verify the promise conditions (it has to fetch the promise anyway)-- so that might be a better approach.

however, what we are actually debating is whether we want this feature at all. Gotta chat with the team and get back to you here!

Thanks again!

@alparslanavci
Copy link
Contributor Author

Thanks for the review, @kirederik! I agree with verifying the promise conditions on the dynamic resource controller. It would be a better approach.

No worries about the feature discussion, just let me know if you want to close the PR. 👍

@alparslanavci
Copy link
Contributor Author

BTW, it might be better to add a new flag on Promise to leave the "reconcile resource requests while a Promise pipeline is in-flight" decision to the user. This will allow the user to opt between availability and consistency.

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.

feat: Don't reconcile resource requests while a Promise pipeline is in-flight
2 participants