-
Notifications
You must be signed in to change notification settings - Fork 689
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
internal/dag: Loosen restrictions on duplicate include detection #5017
internal/dag: Loosen restrictions on duplicate include detection #5017
Conversation
Empty or lone prefix path matches on "/" are now not considered duplicates, due to complications with existing examples and possible wide range of users relying on the previous less restrictive behavior. Updates release note on duplicate include detection to major and adds some more detail Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5017 +/- ##
==========================================
+ Coverage 77.47% 77.49% +0.01%
==========================================
Files 138 138
Lines 16894 16904 +10
==========================================
+ Hits 13088 13099 +11
+ Misses 3551 3550 -1
Partials 255 255
|
Yep, this looks sensible for now and we'll revisit more broadly with 1.25. (As we discussed, it's unlikely that there is much usage of duplicate non-default include conditions, because if they were adjacent in the list of includes they already would've been flagged as duplicates. They would've had to be separated by a non-duplicate include in the middle in order to get through. Just doesn't seem very likely. That's why we're not too concerned about behavior for that case changing) |
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
…jectcontour#5017) Empty or lone prefix path matches on "/" are now not considered duplicates, due to complications with existing examples and possible wide range of users relying on the previous less restrictive behavior. Updates release note on duplicate include detection to major and adds some more detail Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com> Signed-off-by: yy <yang.yang@daocloud.io>
…jectcontour#5017) Empty or lone prefix path matches on "/" are now not considered duplicates, due to complications with existing examples and possible wide range of users relying on the previous less restrictive behavior. Updates release note on duplicate include detection to major and adds some more detail Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com> Signed-off-by: yy <yang.yang@daocloud.io>
…jectcontour#5017) Empty or lone prefix path matches on "/" are now not considered duplicates, due to complications with existing examples and possible wide range of users relying on the previous less restrictive behavior. Updates release note on duplicate include detection to major and adds some more detail Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Empty or lone prefix path matches on "/" are now not considered duplicates, due to complications with existing examples and possible wide range of users relying on the previous less restrictive behavior.
Updates release note on duplicate include detection to major and adds some more detail