Skip to content

Fix broken default.com test case in targeted-cache-control#13081

Open
maskit wants to merge 2 commits intoapache:10.2.xfrom
maskit:fix_targeted_cache_control_default_10_2
Open

Fix broken default.com test case in targeted-cache-control#13081
maskit wants to merge 2 commits intoapache:10.2.xfrom
maskit:fix_targeted_cache_control_default_10_2

Conversation

@maskit
Copy link
Copy Markdown
Member

@maskit maskit commented Apr 9, 2026

  • Fix the default.com test case in targeted-cache-control.replay.yaml that was broken by the cherry-pick of proxy-request.expect: absent in PV replays #13054
  • The original commit on master (67b96e5) added a default.com remap rule, a priming request, and a verification request — but that commit was not cherry-picked to 10.2.x because
    the default targeted header change was considered a breaking change
  • When proxy-request.expect: absent in PV replays #13054 was cherry-picked, it brought only the verification block without the remap rule or priming request, causing the test to always fail
  • Add the missing default.com remap rule and priming request so the test verifies that the global targeted_cache_control_headers setting applies to remap rules without a conf_remap
    override

#13080 failed because of the issue.

- Fix the default.com test case in targeted-cache-control.replay.yaml that was broken by the cherry-pick of apache#13054
- The original commit on master (67b96e5) added both the default.com remap rule, a priming request, and the verification request — but that commit was not cherry-picked to 10.2.x because the default targeted header change was considered a breaking change
- When apache#13054 was cherry-picked, it brought only the verification block without the remap rule or priming request, causing the test to always fail
- Add the default.com remap rule and priming request, and update the verification to expect a cache miss — on 10.2.x the default is no targeted headers, so Cache-Control: no-store should prevent caching even with CDN-Cache-Control: max-age=30 present
@maskit maskit added this to the 10.2.0 milestone Apr 9, 2026
@maskit maskit self-assigned this Apr 9, 2026
@maskit maskit added the Tests label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant