Skip to content

Count Software Mansion maintainers in peer review checks - #103

Merged
rafecolton merged 7 commits into
mainfrom
rory/668529-peer-review-maintainers
Sep 3, 2026
Merged

rafecolton merged 7 commits into
mainfrom
rory/668529-peer-review-maintainers

Conversation

@roryabraham

@roryabraham roryabraham commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Details

Allow the configured Software Mansion maintainers to count as independent peer reviewers for Expensify/react-native-wallet and Expensify/react-native-live-markdown. Other repositories continue to require approval from an Expensify employee.

Related Issues

Closes https://github.com/Expensify/Expensify/issues/668529

Manual Tests

n/a - automated tests only.

Linked PRs

N/A

@roryabraham

Copy link
Copy Markdown
Contributor Author

@codex review

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@roryabraham

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: b699d31939

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@roryabraham
roryabraham marked this pull request as ready for review September 1, 2026 05:48

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b699d31939

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread scripts/verifyPeerReview.ts Outdated
// GitHub's List commits on a pull request endpoint never returns more than 250 commits, no matter how it's paginated,
// so commit authorship can't be reliably determined above this count.
const MAX_VERIFIABLE_COMMITS = 250;
const SOFTWARE_MANSION_REPOSITORIES = new Set(['Expensify/react-native-wallet', 'Expensify/react-native-live-markdown']);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Document the contractor approval exception

For PRs in either repository added here, a listed Software Mansion maintainer can now satisfy the check without any Expensify employee approval, but README.md line 42 still describes this workflow as universally verifying an “independent employee approval.” That leaves the documented security policy stricter than the policy actually enforced, so update the workflow description to mention these eligible external maintainers and their repository scope.

Useful? React with 👍 / 👎.

Comment thread scripts/verifyPeerReview.ts Outdated
// so commit authorship can't be reliably determined above this count.
const MAX_VERIFIABLE_COMMITS = 250;
const SOFTWARE_MANSION_REPOSITORIES = new Set(['Expensify/react-native-wallet', 'Expensify/react-native-live-markdown']);
const SOFTWARE_MANSION_REVIEWERS = new Set(['JakubKorytko', 'Skalakid', 'WoLewicki', 'brunovjk', 'j-piasecki', 'jmusial', 'staszekscp', 'tomekzaw', 'war-in', 'zfurtak']);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@roryabraham roryabraham changed the title Count Software Mansion maintainers in peer review checks [WIP] Count Software Mansion maintainers in peer review checks Sep 2, 2026
chatgpt-codex-connector[bot]

This comment was marked as resolved.

@roryabraham roryabraham changed the title [WIP] Count Software Mansion maintainers in peer review checks Count Software Mansion maintainers in peer review checks Sep 2, 2026
@roryabraham roryabraham changed the title Count Software Mansion maintainers in peer review checks [WIP] Count Software Mansion maintainers in peer review checks Sep 2, 2026
Repo-specific teams add reviewers, they do not replace
expensify-expensify members.
@roryabraham

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: c7f0ea2717

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Always include expensify-expensify, fetch all relevant teams together,
then filter against the union.
Remove filterAsync, isExpensifyEmployee, and getEmployeeLogins now that
eligibility uses parallel team lookups.
@roryabraham roryabraham changed the title [WIP] Count Software Mansion maintainers in peer review checks Count Software Mansion maintainers in peer review checks Sep 2, 2026
@roryabraham

Copy link
Copy Markdown
Contributor Author

updated, ready for another review

@rafecolton rafecolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@rafecolton
rafecolton merged commit fcbb21e into main Sep 3, 2026
9 of 10 checks passed
@rafecolton
rafecolton deleted the rory/668529-peer-review-maintainers branch September 3, 2026 20:54
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