Skip to content

Conversation

sunjayBhatia
Copy link
Member

@sunjayBhatia sunjayBhatia commented Apr 19, 2023

If we have an include on a certain path, then a different valid include condition on that same path, duplicates of the later include conditions were not detected.

This actually does not need to be backported to the 1.24 release as that introduced the improved duplicate detection behavior, but did add the seen path/header conditions to the map, see here: https://github.com/projectcontour/contour/blob/v1.24.3/internal/dag/httpproxy_processor.go#L1441

If we have an include on a certain path, then a different valid include
condition on that same path, duplicates of the later include conditions
were not detected.

Signed-off-by: Sunjay Bhatia <[email protected]>
@sunjayBhatia sunjayBhatia added the release-note/small A small change that needs one line of explanation in the release notes. label Apr 19, 2023
@sunjayBhatia sunjayBhatia added this to the 1.25.0 milestone Apr 19, 2023
@sunjayBhatia sunjayBhatia requested a review from a team as a code owner April 19, 2023 18:06
@sunjayBhatia sunjayBhatia requested review from tsaarni, stevesloka and skriss and removed request for a team April 19, 2023 18:06
Signed-off-by: Sunjay Bhatia <[email protected]>
@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Merging #5296 (ce0b831) into main (0b00c19) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5296   +/-   ##
=======================================
  Coverage   77.74%   77.75%           
=======================================
  Files         139      139           
  Lines       18073    18081    +8     
=======================================
+ Hits        14051    14059    +8     
  Misses       3750     3750           
  Partials      272      272           
Impacted Files Coverage Δ
internal/dag/httpproxy_processor.go 92.38% <100.00%> (+0.04%) ⬆️

Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@skriss skriss merged commit 97703a8 into projectcontour:main Apr 25, 2023
@sunjayBhatia sunjayBhatia deleted the include-duplicate-detection-fix branch April 27, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/small A small change that needs one line of explanation in the release notes.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants