Bug 231707 - Committers/contributors autocomplete failing
Summary: Committers/contributors autocomplete failing
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Website (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-13 16:38 PDT by Sam Sneddon [:gsnedders]
Modified: 2021-10-14 08:02 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Sneddon [:gsnedders] 2021-10-13 16:38:01 PDT
Many people are having Bugzilla autocompletion fail to work since https://commits.webkit.org/242672@main landed six days ago.

While https://commits.webkit.org/241245@main landed over a month ago, committers-autocomplete.js is served as cacheable for a year, hence we actually need to wait a year for caches to expire or load the file from a different URL (e.g. by adding a query string to it).
Comment 1 Jonathan Bedard 2021-10-13 16:41:37 PDT
(In reply to Sam Sneddon [:gsnedders] from comment #0)

> committers-autocomplete.js is served as cacheable for a year, hence we

That's the bit that seems like the bug. contributors.json is updated once or twice a month.
Comment 2 Sam Sneddon [:gsnedders] 2021-10-14 05:44:17 PDT
(In reply to Jonathan Bedard from comment #1)
> (In reply to Sam Sneddon [:gsnedders] from comment #0)
> 
> > committers-autocomplete.js is served as cacheable for a year, hence we
> 
> That's the bit that seems like the bug. contributors.json is updated once or
> twice a month.

contributors.json is uncacheable (which arguably is bad too!), it's only the committers-autocomplete.js script which is cached for too long.
Comment 3 Radar WebKit Bug Importer 2021-10-14 05:44:36 PDT
<rdar://problem/84252131>
Comment 4 Jonathan Bedard 2021-10-14 08:02:03 PDT
(In reply to Sam Sneddon [:gsnedders] from comment #2)
> (In reply to Jonathan Bedard from comment #1)
> > (In reply to Sam Sneddon [:gsnedders] from comment #0)
> > 
> > > committers-autocomplete.js is served as cacheable for a year, hence we
> > 
> > That's the bit that seems like the bug. contributors.json is updated once or
> > twice a month.
> 
> contributors.json is uncacheable (which arguably is bad too!), it's only the
> committers-autocomplete.js script which is cached for too long.

Oh, missed that it was the JS file. That makes more sense.