Pause, disconnect, uninstall, and purge repositories #24

Open
opened 2026-07-14 22:32:28 -04:00 by caleb-brown · 0 comments
Owner

What to build

Temper Operators can control or end a Repository Installation deliberately, with clear effects on automatic review, webhooks, retained history, queued work, and stored review data.

Acceptance criteria

  • Pausing a Repository Installation stops new automatic review while preserving documented authorized manual behavior.
  • A broken or revoked Forgejo connection marks affected installations disconnected and provides a recovery path.
  • Uninstall cancels or supersedes eligible outstanding work and removes an API-created webhook when authorized.
  • Manual webhook installations receive precise cleanup instructions when Temper cannot remove the remote hook.
  • Configurable retention purges expired results and sanitized failures without retaining raw source that was never meant to persist.
  • An Operator can request repository data purge with a preview of what is deleted and which minimal audit facts remain.
  • Lifecycle tests cover pause, resume, disconnect, reconnect, uninstall, remote cleanup failure, retention, and purge.

Blocked by

  • #12 — Install a repository and prove webhook delivery
  • #20 — Diagnose and recover Review Runs
  • #23 — Rotate service credentials and encryption keys
## What to build Temper Operators can control or end a Repository Installation deliberately, with clear effects on automatic review, webhooks, retained history, queued work, and stored review data. ## Acceptance criteria - [ ] Pausing a Repository Installation stops new automatic review while preserving documented authorized manual behavior. - [ ] A broken or revoked Forgejo connection marks affected installations disconnected and provides a recovery path. - [ ] Uninstall cancels or supersedes eligible outstanding work and removes an API-created webhook when authorized. - [ ] Manual webhook installations receive precise cleanup instructions when Temper cannot remove the remote hook. - [ ] Configurable retention purges expired results and sanitized failures without retaining raw source that was never meant to persist. - [ ] An Operator can request repository data purge with a preview of what is deleted and which minimal audit facts remain. - [ ] Lifecycle tests cover pause, resume, disconnect, reconnect, uninstall, remote cleanup failure, retention, and purge. ## Blocked by - [#12](https://git.caleb-brown.dev/caleb-brown/temper/issues/12) — Install a repository and prove webhook delivery - [#20](https://git.caleb-brown.dev/caleb-brown/temper/issues/20) — Diagnose and recover Review Runs - [#23](https://git.caleb-brown.dev/caleb-brown/temper/issues/23) — Rotate service credentials and encryption keys
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
caleb-brown/temper#24
No description provided.