golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.06k stars 17.68k forks source link

x/telemetry: add a process for cleaning up obsolete data #68406

Closed findleyr closed 4 months ago

findleyr commented 4 months ago

Right now, there are several opportunities for the telemetry upload/aggregation process to leave behind artifacts that will never be cleaned up:

Furthermore, we never delete local reports, though they cause the local folder to grow, and are likely to become obsolete over time.

The rate of growth of these files is slow, but at some point (1.24 or 1.25), we should design a system for cleaning up automatically.

CC @golang/telemetry

gabyhelp commented 4 months ago

Related Issues and Documentation

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

findleyr commented 4 months ago

Closing as a dupe of #63884. Thanks gaby.