Open SaschaSchwarze0 opened 6 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Would like to hear some feedback on the report. Did someone have a chance to look into it? Maybe @loispostula, could you have a glance? Thanks in advance.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
I would still be interested in some feedback regarding the original finding/question.
Interesting finding, I think that we should treat equal values as equal. Are you willing to contribute a fix? Thanks!
Report
We are compiling our own version of Keda and see errors when running
make test
that started to happen with Go 1.22.The test case that fails is TestHashicorpVaultHandler_ResolveSecrets_SameCertAndKey.
Our analysis so far is the following:
fmt.Fprintf(os.Stderr, "len: %d, grouped: %v\n", len(grouped), grouped)
We are wondering whether a struct with a "fresh" pointer to structs that contain the same values but are different structs, are really equal, or if maybe the new Go 1.22 behavior on for-range loops is hitting here.
Expected Behavior
make test
to passActual Behavior
It fails for us on Go 1.22
Steps to Reproduce the Problem
make test
Logs from KEDA operator
N/A
KEDA Version
2.13.1
Kubernetes Version
None
Platform
None
Scaler Details
No response
Anything else?
No response