golang / go

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

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

Closed findleyr closed 2 months ago

findleyr commented 2 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 2 months ago

Related Issues and Documentation

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

findleyr commented 2 months ago

Closing as a dupe of #63884. Thanks gaby.