Skip to content

[#383] Resolve "exempt SUPPORT_CHANNEL and DIAGNOSTICS_CHANNEL from auto-cull job"

aguestuser requested to merge 383-exempt-maintainer-channels-from-auto-cull into main

Closes #383 (closed)

context:

  • every hour we attempt to delete channels that have not been used in the last week
  • however, we want it to be STRICLY IMPOSSIBLE to ever delete the support or diagnostics channel, as these are crucial to the work of keeping signalboost up and running

changes

  • introduce special casing to repositories.channel.getStaleChannels to exclude the diagnostics and support channels from the query, and, as a result make it impossible for the auto-cull job's call to requestToDestroyStaleChannels to ever request the destruction of those channels
Edited by aguestuser

Merge request reports