notifycat-reconcile

command
v0.22.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Command notifycat-reconcile is a one-time maintenance tool that marks slack_messages rows closed when their PR is no longer open on the git provider.

It exists for the migration to stuck-PR digest tracking: rows created before the close handler recorded closed_at all have closed_at = NULL and look open to the digest — including PRs that were already merged. Run it once (it is idempotent) to drop that backlog out of the digest.

Usage:

notifycat-reconcile            — mark closed PRs from their provider state
notifycat-reconcile -dry-run   — report what would change, write nothing

It reads PR state from the selected git provider, so the provider's token must be set with read access to the repos, and DATABASE_URL must point at the same database the server uses.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL