Skip to content

Data and retention

GitNotify stores only what it needs to draw cards, route them and reach the people who linked themselves. This page lists what is stored, how long it is kept and how to delete it. The hosted GitNotify and a self-hosted server keep the same data on the same schedule.

Keyed by GitHub's numeric ids, shared by every chat that follows a repository:

Data Holds
Pull request state what the card shows: title, author, branches, size, review states and the latest events, including the first line of a review comment
Run state what the card shows: title, number, attempt, who started it, the first line of the commit message, each job's status and duration, and the step that failed
Incidents repository, kind, branch or environment, owner, the merged pull request, failure count, and when it opened and was resolved
Merges which merge commit belongs to which pull request, who merged it and who wrote it, so a failure can be traced to an owner
Installations and repositories which GitHub App installations exist, their status, and the repositories GitNotify follows
Delivery ids GitHub delivery ids already handled, so a redelivery changes nothing

Pull request bodies, diffs, logs and full commit messages are never stored.

Scoped to one Discord server, Slack workspace or Telegram group:

Data Holds
The space its id, name and status (active, removed, or public for a Telegram group), and GitNotify's role there
Connected repositories which repositories an admin proved and connected
Routes and layouts where each repository's cards go: channel or topic ids, and the roles chosen in Discord
Card messages the message id behind each card, so it can be edited
Linked people the chat user id, GitHub user id and login, and the notification choice (mention, DM or off)
Digest schedules team or personal, time zone, times, DM or email, and where the team digest goes
Email relay the relay's address, its secret (sealed), and whether it is tested, active or paused
Secrets Discord webhook URLs and Slack bot tokens, sealed with AES-GCM
Data Holds
Notification ledger which notification or digest slot was sent to which target, so nothing is sent twice
Sign-in sessions one-time link sessions for connecting and linking, scoped to the platform, space and person
Audit trail administrative actions, such as a repository connected, a person linked or an owner changed: when, the acting id, the action and its subject. Ids only, no content
  • Chat messages. GitNotify never reads them. See What GitNotify reads.
  • GitHub tokens. They are used once and revoked.
  • Email addresses, on the hosted GitNotify. They live in your team's email relay. A self-hosted server with built-in SMTP keeps its address list in the server's configuration, not its database.
Data Kept
Delivery ids and the notification ledger 7 days
Pull request and run state, card messages, merges 30 days since the last update. Every successful card edit refreshes it
Resolved incidents 30 days since the last update
Open incidents until resolved
Sign-in sessions 10 minutes to use, then deleted a day after they expire
A server, workspace or group that removed GitNotify 30 days, then its data is deleted
A Telegram group that turned public 30 days, then its data is deleted, as for a removed group
Linked people, routes and digest schedules until removed by one of the ways below
Audit trail not covered by the automatic deletion

Retention runs once a day. When GitNotify forgets a card, the message already posted in your chat stays there. It just stops being edited.

To remove Do this
Your link, notification records and personal digest in one space /forget-me in Discord, /gitnotify forget-me in Slack, or /forget_me in Telegram. GitNotify asks you to confirm
Your links everywhere revoke GitNotify in your GitHub settings, under Settings → Applications → Authorized GitHub Apps
A digest /digest off in Discord or Telegram, /gitnotify digest off in Slack
A repository's routes remove the repository from the GitHub App's installation
Every route for an account uninstall the GitHub App. Suspending it pauses the routes instead
A whole server, workspace or group remove GitNotify from it. Its data is deleted after 30 days. Slack wipes the bot token at once

Removing GitNotify does not delete the messages it already posted. Delete those in your chat if you want them gone.

On a self-hosted server, all of this data lives in the server's SQLite database, under the operator's control. See Operations.