-
Notifications
You must be signed in to change notification settings - Fork 54
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
Resolution error message is not deterministic #459
Comments
CRDUniquenessConstraintsVariableSource
#461 gets rid of randomness in package uniqueness ordering. I would still like to keep this issue open so we can get rid of this function: operator-controller/internal/controllers/operator_controller.go Lines 467 to 485 in e001a0f
This will require:
|
We updated separators in operator-framework/deppy#158. There is operator-framework/deppy#159 now open to deal with non deterministic output from Deppy solver. Once we have a new release of Deppy which contains operator-framework/deppy#159, remaining steps on operator-controller side will be:
|
I noticed that we iterate over maps here:
operator-controller/internal/resolution/variablesources/crd_constraints.go
Lines 66 to 73 in e001a0f
I believe this results in randomised order of variables.
Tests do not flag this because they use
ConsistOf
which ignores order:operator-controller/internal/resolution/variablesources/crd_constraints_test.go
Lines 285 to 294 in e001a0f
It likely contributes to what was reported in operator-framework/deppy#142:
The text was updated successfully, but these errors were encountered: