feat(notifications): add per-repo summary section for the maintainer recap - #4320
Conversation
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4320 +/- ##
=======================================
Coverage 93.94% 93.94%
=======================================
Files 397 398 +1
Lines 36760 36773 +13
Branches 13432 13434 +2
=======================================
+ Hits 34535 34548 +13
Misses 1569 1569
Partials 656 656
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-08 21:18:50 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 6 non-blocking
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
e1def7f to
298dcaa
Compare
298dcaa to
a32f0a0
Compare
…recap Pure section builder over a RecapReport projection: a compact per-repo breakdown of PRs reviewed / merged / closed in the window, sorted by volume and capped at 8 with a '(+N more)' remainder line (mirroring listSuffix in src/review/alerts.ts). Zero-activity repos are excluded and every repo label is scrubbed via the shared redaction primitive. Own file (maintainer-recap-per-repo.ts) mirroring the calibration section, so it stays decoupled from the foundation builder and sibling sections. Closes JSONbored#2241
a32f0a0 to
6cb8658
Compare
Adds a per-repo summary section for the #1963 maintainer recap digest (Closes #2241).
A pure section builder over a
RecapReportprojection: a compact per-repo breakdown of PRs reviewed / merged / closed in the window, sorted by volume (reviewed= the terminal-outcome sample size) and capped at 8 with a(+N more)remainder line — mirroringlistSuffixatsrc/review/alerts.ts:158. Zero-activity repos (reviewed === 0) are excluded, and every repo label is scrubbed through the shared redaction primitive (PUBLIC_LOCAL_PATH_SCRUB_PATTERN) before emitting.Ships in its own file (
src/services/maintainer-recap-per-repo.ts), mirroring the calibration section (#2243) so it stays decoupled from the foundation builder (#2239) and sibling sections — no shared-file edits, no delivery, no scheduling.Test
test/unit/maintainer-recap-per-repo.test.ts— sort order, the tie-break (localeCompare) arm, the cap + remainder on both the<=8and>8branches, zero-activity exclusion, the empty/no-activity arm, and repo-label redaction. 100% statements / branches / functions / lines on the new module.site//CNAME/**/lovable/**; noCHANGELOG.md. Pure new module + test only.