This is an archive of the discontinued LLVM Phabricator instance.

[include-cleaner] Add a signal to down-rank exporting headers
ClosedPublic

Authored by kadircet on Jul 3 2023, 7:50 AM.

Details

Summary

Currently exporter can have same relevance signals as the origin header
when name match signals don't trigger.
This patch introduces a tie braker signal to boost origin headers in
such cases, this is deliberately introduced with lower significance than
public-ness to make sure we still prefer a public-exporter instead of a
private-origin header.

Diff Detail

Event Timeline

kadircet created this revision.Jul 3 2023, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 7:50 AM
kadircet requested review of this revision.Jul 3 2023, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 7:50 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
hokein accepted this revision.Jul 5 2023, 6:36 AM

Thanks!

This revision is now accepted and ready to land.Jul 5 2023, 6:36 AM