feat(notifications): add top-N contributor summary section for the maintainer recap - #4343
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 #4343 +/- ##
=======================================
Coverage 93.96% 93.96%
=======================================
Files 401 402 +1
Lines 36869 36881 +12
Branches 13480 13482 +2
=======================================
+ Hits 34644 34656 +12
Misses 1569 1569
Partials 656 656
🚀 New features to boost your workflow:
|
…intainer recap Pure section builder over a RecapReport projection: a leaderboard of the window's most-merged contributor logins with merged-PR counts only — no scoring/reward/trust internals. Every emitted line is gated through isPublicSafeText before it can surface, so a login carrying an economic/identity term (or a local path) is dropped. Sorted by merged descending, ties broken by login, capped at the limit. Own file (maintainer-recap-top-contributors.ts) mirroring the calibration section, so it stays decoupled from the foundation builder and sibling sections. Closes JSONbored#2244
d22f704 to
a7b4f20
Compare
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-09 11:41:08 UTC
🛑 Suggested Action - Fix Blockers
Review summary Nits — 6 non-blocking
CI checks failing
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.
|
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (Contributor trust)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Adds a top-N contributor summary section for the #1963 maintainer recap digest (Closes #2244).
A pure section builder over a
RecapReportprojection: a leaderboard of the window's most-merged contributor logins with merged-PR counts only — no scoring / reward / trust internals. Every emitted line (login: N merged) is gated throughisPublicSafeText(src/signals/redaction.ts) before it can surface, so a login carrying an economic/identity term (or a local path) is dropped and counted. Survivors are sorted by merged descending, ties broken by login ascending, then capped at the limit (default 8).Ships in its own file (
src/services/maintainer-recap-top-contributors.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-top-contributors.test.ts— sort order, the tie-break (localeCompare) arm, the cap, both public-safe gate arms (kept vs a reward/score-bearing login dropped), the empty / all-dropped / non-positive-limit arms, and the default limit. 100% statements / branches / functions / lines on the new module.site//CNAME/**/lovable/**; noCHANGELOG.md. Pure new module + test only.