Skip to content

Commit e4e65d4

Browse files
committed
Merge branch 'main' into fix/82818
2 parents 882e007 + 9a23626 commit e4e65d4

954 files changed

Lines changed: 51419 additions & 31976 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/scripts/createInlineComment.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Secure proxy script to create an inline comment on a GitHub PR.
44
set -eu
55

6-
readonly ALLOWED_RULES_FILE="${GITHUB_WORKSPACE}/.claude/allowed-rules.txt"
6+
readonly ALLOWED_RULES_FILE="${ALLOWED_RULES_FILE:-${GITHUB_WORKSPACE}/.claude/allowed-rules.txt}"
77

88
# Print error and exit.
99
die() {
@@ -47,11 +47,12 @@ readonly LINE_ARG="${3:-}"
4747
validate_rule "$BODY_ARG"
4848
echo "Comment approved: $COMMENT_STATUS_REASON"
4949

50-
readonly FOOTER=$'\n\n---\n\nPlease rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency.'
51-
readonly COMMENT_BODY="${BODY_ARG}${FOOTER}"
52-
5350
COMMIT_ID=$(gh api "/repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER" --jq '.head.sha')
5451
readonly COMMIT_ID
52+
readonly SHORT_SHA="${COMMIT_ID:0:7}"
53+
54+
readonly FOOTER=$'\n\n---\n\n'"Reviewed at: [${SHORT_SHA}](https://github.com/${GITHUB_REPOSITORY}/commit/${COMMIT_ID}) | Please rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency."
55+
readonly COMMENT_BODY="${BODY_ARG}${FOOTER}"
5556

5657
PAYLOAD=$(jq -n \
5758
--arg body "$COMMENT_BODY" \

.claude/skills/coding-standards/rules/clean-react-0-compiler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Manual memoization is therefore:
1818
The codebase enforces this via:
1919
- **Babel plugin**: `babel-plugin-react-compiler` in `babel.config.js`
2020
- **ESLint processor**: `eslint-plugin-react-compiler-compat` suppresses redundant lint rules when files compile successfully
21-
- **CI compliance check**: `scripts/react-compiler-compliance-check.ts` blocks PRs with manual memoization in new files
21+
- **CI compliance check**: `scripts/react-compiler-compliance-check.ts` enforces that new components/hooks compile and that existing compiled files don't regress
2222

2323
Reference: [React Compiler documentation](https://react.dev/learn/react-compiler)
2424

.github/actions/javascript/authorChecklist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15767,11 +15767,11 @@ class GithubUtils {
1576715767
/**
1576815768
* Fetch all pull requests given a list of PR numbers.
1576915769
*/
15770-
static fetchAllPullRequests(pullRequestNumbers) {
15770+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
1577115771
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
1577215772
return this.paginate(this.octokit.pulls.list, {
1577315773
owner: CONST_1.default.GITHUB_OWNER,
15774-
repo: CONST_1.default.APP_REPO,
15774+
repo,
1577515775
state: 'all',
1577615776
sort: 'created',
1577715777
direction: 'desc',

.github/actions/javascript/awaitStagingDeploys/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12545,11 +12545,11 @@ class GithubUtils {
1254512545
/**
1254612546
* Fetch all pull requests given a list of PR numbers.
1254712547
*/
12548-
static fetchAllPullRequests(pullRequestNumbers) {
12548+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
1254912549
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
1255012550
return this.paginate(this.octokit.pulls.list, {
1255112551
owner: CONST_1.default.GITHUB_OWNER,
12552-
repo: CONST_1.default.APP_REPO,
12552+
repo,
1255312553
state: 'all',
1255412554
sort: 'created',
1255512555
direction: 'desc',

.github/actions/javascript/checkAndroidStatus/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737288,11 +737288,11 @@ class GithubUtils {
737288737288
/**
737289737289
* Fetch all pull requests given a list of PR numbers.
737290737290
*/
737291-
static fetchAllPullRequests(pullRequestNumbers) {
737291+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
737292737292
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
737293737293
return this.paginate(this.octokit.pulls.list, {
737294737294
owner: CONST_1.default.GITHUB_OWNER,
737295-
repo: CONST_1.default.APP_REPO,
737295+
repo,
737296737296
state: 'all',
737297737297
sort: 'created',
737298737298
direction: 'desc',

.github/actions/javascript/checkDeployBlockers/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11812,11 +11812,11 @@ class GithubUtils {
1181211812
/**
1181311813
* Fetch all pull requests given a list of PR numbers.
1181411814
*/
11815-
static fetchAllPullRequests(pullRequestNumbers) {
11815+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
1181611816
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
1181711817
return this.paginate(this.octokit.pulls.list, {
1181811818
owner: CONST_1.default.GITHUB_OWNER,
11819-
repo: CONST_1.default.APP_REPO,
11819+
repo,
1182011820
state: 'all',
1182111821
sort: 'created',
1182211822
direction: 'desc',

.github/actions/javascript/checkSVGCompression/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20337,11 +20337,11 @@ class GithubUtils {
2033720337
/**
2033820338
* Fetch all pull requests given a list of PR numbers.
2033920339
*/
20340-
static fetchAllPullRequests(pullRequestNumbers) {
20340+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
2034120341
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
2034220342
return this.paginate(this.octokit.pulls.list, {
2034320343
owner: CONST_1.default.GITHUB_OWNER,
20344-
repo: CONST_1.default.APP_REPO,
20344+
repo,
2034520345
state: 'all',
2034620346
sort: 'created',
2034720347
direction: 'desc',

.github/actions/javascript/formatCodeCovComment/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11999,11 +11999,11 @@ class GithubUtils {
1199911999
/**
1200012000
* Fetch all pull requests given a list of PR numbers.
1200112001
*/
12002-
static fetchAllPullRequests(pullRequestNumbers) {
12002+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
1200312003
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
1200412004
return this.paginate(this.octokit.pulls.list, {
1200512005
owner: CONST_1.default.GITHUB_OWNER,
12006-
repo: CONST_1.default.APP_REPO,
12006+
repo,
1200712007
state: 'all',
1200812008
sort: 'created',
1200912009
direction: 'desc',

.github/actions/javascript/getArtifactInfo/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11773,11 +11773,11 @@ class GithubUtils {
1177311773
/**
1177411774
* Fetch all pull requests given a list of PR numbers.
1177511775
*/
11776-
static fetchAllPullRequests(pullRequestNumbers) {
11776+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
1177711777
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
1177811778
return this.paginate(this.octokit.pulls.list, {
1177911779
owner: CONST_1.default.GITHUB_OWNER,
11780-
repo: CONST_1.default.APP_REPO,
11780+
repo,
1178111781
state: 'all',
1178211782
sort: 'created',
1178311783
direction: 'desc',

.github/actions/javascript/getDeployPullRequestList/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12154,11 +12154,11 @@ class GithubUtils {
1215412154
/**
1215512155
* Fetch all pull requests given a list of PR numbers.
1215612156
*/
12157-
static fetchAllPullRequests(pullRequestNumbers) {
12157+
static fetchAllPullRequests(pullRequestNumbers, repo = CONST_1.default.APP_REPO) {
1215812158
const oldestPR = pullRequestNumbers.sort((a, b) => a - b).at(0);
1215912159
return this.paginate(this.octokit.pulls.list, {
1216012160
owner: CONST_1.default.GITHUB_OWNER,
12161-
repo: CONST_1.default.APP_REPO,
12161+
repo,
1216212162
state: 'all',
1216312163
sort: 'created',
1216412164
direction: 'desc',

0 commit comments

Comments
 (0)