Skip to content

Five for the Future: wire the Test team into the contributor directory - #656

Closed
huzaifaalmesbah wants to merge 1 commit into
WordPress:trunkfrom
huzaifaalmesbah:add-test-team-contribution-metrics
Closed

huzaifaalmesbah wants to merge 1 commit into
WordPress:trunkfrom
huzaifaalmesbah:add-test-team-contribution-metrics

Conversation

@huzaifaalmesbah

@huzaifaalmesbah huzaifaalmesbah commented May 27, 2026 •

Copy link
Copy Markdown
Member
  • Adds test to TEAMS_WITH_DATA so /pledges/ on the Test make site renders the directory instead of the
    bring-tracking-to-this-team guide.

  • Maps test to WordPress/test-handbook in team_to_github_repos() so GitHub activity is scoped to the team's repo.

    No Trac mapping — the Test team has no Trac source, so the Trac branch in get_team_contribution_metrics() is skipped and rankings come entirely from wporg_github_activity.

Summary by CodeRabbit

  • New Features
    • Contribution metrics now include GitHub activity for the test team, associated with its handbook repository. The team’s activity can appear in team-scoped contribution tracking alongside activity from other supported teams, giving viewers a more complete picture of contributions represented in the metrics.

Copilot AI review requested due to automatic review settings May 27, 2026 08:20
@github-actions

github-actions Bot commented May 27, 2026 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs.

Core Committers: Use this line as a base for the props when committing in SVN:

Props huzaifaalmesbah.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds support for a new “test” contributor team in the contribution metrics wiring.

Changes:

  • Added test to the list of teams considered to have contribution-tracking data.
  • Mapped the test team slug to a GitHub repo (WordPress/test-handbook) for metrics sourcing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* 3. Add the team's post_name slug to this list.
*/
const TEAMS_WITH_DATA = array( 'core', 'meta' );
const TEAMS_WITH_DATA = array( 'core', 'meta', 'test' );
Comment on lines 93 to 97
$map = array(
'core' => array( 'WordPress/wordpress-develop', 'WordPress/gutenberg' ),
'meta' => array( 'WordPress/wporg-main', 'WordPress/wporg-mu-plugins' ),
'test' => array( 'WordPress/test-handbook' ),
);
Adds 'test' to TEAMS_WITH_DATA and maps it to WordPress/test-handbook in
team_to_github_repos(), so /pledges/ on the Test make site renders the
directory instead of the bring-tracking-to-this-team guide.
@obenland
obenland force-pushed the add-test-team-contribution-metrics branch from 03a8890 to 6ceb81a Compare October 22, 2026 16:54
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3762e90f-11d6-40a2-8402-8a9225638af6
📥 Commits

Reviewing files that changed from the base of the PR and between 22562b3 and 6ceb81a.

📒 Files selected for processing: 1
  • wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/inc/contribution-metrics.php

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

📝 Walkthrough

The contribution metrics configuration now includes the test team and maps it to the WordPress/test-handbook GitHub repository.

Changes: Team contribution metrics

Layer / File(s) Summary
Register the test team for metrics
wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/inc/contribution-metrics.php
The test team is added to TEAMS_WITH_DATA and mapped to the WordPress/test-handbook repository.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

Suggested reviewers: obenland

Merge Risk: ⚪ Minimal · up to 6ceb8

No merge-blocking risk is identified in this focused configuration change.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: wiring the Test team into the contributor directory. It is specific and consistent with the changeset and objectives.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants