lsergio commented on issue #5755: URL: https://github.com/apache/camel-k/issues/5755#issuecomment-2277918005
After more troubleshooting, I figured out that the problem happens if 2 builds have exactly the same dependencies and have been created within the same second. [This condition](https://github.com/apache/camel-k/blob/f3748c80826848c567c6fdc4c545aabcc5b1049b/pkg/apis/camel/v1/build_types_support.go#L312) was supposed to give priority to the whatever build was created first, but as the creationTimestamp precision is down to the second only, we may have equal timestamps and no build will be prioritized. I think that in this case we might prioritize based on anothet criteria, like the build name, which is unique. @squakez I'll try to come up with a solution and submit a PR. It this gets more complicated than I antecipated I'll let you know so we can unsassign the issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org