Skip to content

fix: fix for prebuilds claiming and deletion #17624

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

Merged
merged 8 commits into from
May 1, 2025

Conversation

evgeniy-scherbina
Copy link
Contributor

@evgeniy-scherbina evgeniy-scherbina commented Apr 30, 2025

PR contains:

  • fix for claiming & deleting prebuilds with immutable params
  • unit test for claiming scenario
  • unit test for deletion scenario

The parameter resolver was failing when deleting/claiming prebuilds because a value for a previously-used parameter was provided to the resolver, but since the value was unchanged (it's coming from the preset) it failed in the resolver. The resolver was missing a check to see if the old value != new value; if the values match then there's no mutation of an immutable parameter.

@evgeniy-scherbina evgeniy-scherbina marked this pull request as ready for review April 30, 2025 21:38
…ation

Signed-off-by: Danny Kopping <dannykopping@gmail.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
@dannykopping dannykopping enabled auto-merge (squash) May 1, 2025 08:39
@dannykopping dannykopping merged commit 98e5611 into main May 1, 2025
34 checks passed
@dannykopping dannykopping deleted the yevhenii/prebuilds-minor-fix branch May 1, 2025 08:52
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants