WICG / deprecation-reporting

Deprecation reporting (from Web Perf WG)
https://wicg.github.io/deprecation-reporting/
Other
3 stars 5 forks source link

Checking incubation status #13

Open marcoscaceres opened 1 year ago

marcoscaceres commented 1 year ago

Hi @clelland, me again 👋

Just checking to see how you think this incubation is going? I see some limited activity in the issues, but not a lot of traction (nor updates to the main repo for quite a few years).

Is this something you're still hoping to pursue or can this be archived?

yoavweiss commented 1 year ago

This is shipped in Chromium and hence shouldn't be archived (but should be labeled properly).

There was a vibrant discussion last TPAC where Deprecation Reports were pointed out as a solution to a very real problem. I also vaguely remember you mentioned after it that you'd look into interest on the Apple side :)

marcoscaceres commented 1 year ago

Yeah, that was my feeling too. This seemed generally useful.

Found it https://github.com/WebKit/standards-positions/issues/59

I’ll follow up internally.

clelland commented 1 year ago

Hey @marcoscaceres :)

As @yoavweiss mentioned, we've shipped this for a bit in Chrome, and it's definitely seen quite a bit of use. Wwe've had developers confirm that it's helpful for discovering when they're using APIs or patterns that they would have otherwise had no idea were slated for removal.

I'm not sure which group or groups would be interested in picking this up if we move forward out of incubation. WebPerf owns the main reporting spec, but this report type doesn't seem like a great fit for their charter.

karlcow commented 8 months ago

@clelland do you have more details and examples how the DeprecationReportBody is being used currently?

clelland commented 6 months ago

I don't have anecdotes handy from real sites, but you can see the full list of features that will trigger these reports in this file in the Chromium source repo: deprecation.json5

Each of those associates a set of "use counters", which we use for measuring feature usage, with a deprecation. If a counter for a deprecated feature is triggered by a page, and reporting is correctly configured, then a report will be generated and sent.

The exact set of features varies over time, as new features are added to the list, and old ones are removed from the platform.