Skip to content

Set up garbage collection #223

@fricklerhandwerk

Description

@fricklerhandwerk

In order to limit the system's ever-growing resource consumption:

  • Policy: Define a cut-off date and freeze issues that are associated with data older than that

    • While we can retain everything, this will simply produce cognitive load for volunteers who already have a well-established policy of not touching stale channels.
    • If needed and provided with resources, it's still possible to retrofit a feature for back-filling old channels.
  • Mechanism: Remove all related objects from the database older than the cut-off date

    There is an edge case that needs to be guarded against:

    • There may be packages belonging to a published issue that only live in a stale channel
    • In this case we should set a tombstone for that package which states the stale channel
    • In the UI this would display as an explanation or link to an explanation
    • Possibly we'd want to also close the associated GitHub issue
  • Remove derivations from /nix/store related to outdated objects

    see feat: make eval store configurable #451 (comment) for details

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions