Skip to content

feat(notifications): per-repo summary section for the maintainer recap #2241

Description

@JSONbored

Digest content section (#1963 'per-repo summary'): a compact per-repo breakdown of PRs reviewed / merged / closed in the recap window, sorted by volume and capped like the alerts embed (MAX_LISTED = 8 at src/review/alerts.ts:150). Pure function over the RecapReport built by the builder bounty; contributes one section to the formatter.

Deliverables

  • buildPerRepoRecapSection(report): a sorted, capped list of {repo, reviewed, merged, closed} with a '(+N more)' remainder line matching listSuffix at src/review/alerts.ts:158
  • Redact each repo label via the shared redaction primitive (src/signals/redaction.ts) before emitting
  • Unit test: sort order, the cap + remainder line (both the <=8 and >8 branches), and a zero-activity repo excluded

References

  • src/review/alerts.ts:150
  • src/review/alerts.ts:158
  • src/signals/redaction.ts:45

Part of #1963.


size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions