Skip to content

Commit 2183b33

Browse files
committed
Merge branch 'main' into jnowakow/bulk-move-transactions
2 parents 8b9cc72 + 11385b8 commit 2183b33

File tree

148 files changed

+1973
-1592
lines changed

Some content is hidden

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

148 files changed

+1973
-1592
lines changed

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -16038,11 +16038,10 @@ class GithubUtils {
1603816038
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1603916039
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1604016040
try {
16041-
const { data: comparison } = await this.octokit.repos.compareCommits({
16041+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1604216042
owner: CONST_1.default.GITHUB_OWNER,
1604316043
repo: CONST_1.default.APP_REPO,
16044-
base: fromTag,
16045-
head: toTag,
16044+
basehead: `${fromTag}...${toTag}`,
1604616045
});
1604716046
// Map API response to our CommitType format
1604816047
return comparison.commits.map((commit) => ({
@@ -16054,7 +16053,7 @@ class GithubUtils {
1605416053
}
1605516054
catch (error) {
1605616055
if (error instanceof request_error_1.RequestError && error.status === 404) {
16057-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
16056+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1605816057
}
1605916058
// Re-throw the error after logging
1606016059
throw error;

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -12831,11 +12831,10 @@ class GithubUtils {
1283112831
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1283212832
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1283312833
try {
12834-
const { data: comparison } = await this.octokit.repos.compareCommits({
12834+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1283512835
owner: CONST_1.default.GITHUB_OWNER,
1283612836
repo: CONST_1.default.APP_REPO,
12837-
base: fromTag,
12838-
head: toTag,
12837+
basehead: `${fromTag}...${toTag}`,
1283912838
});
1284012839
// Map API response to our CommitType format
1284112840
return comparison.commits.map((commit) => ({
@@ -12847,7 +12846,7 @@ class GithubUtils {
1284712846
}
1284812847
catch (error) {
1284912848
if (error instanceof request_error_1.RequestError && error.status === 404) {
12850-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12849+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1285112850
}
1285212851
// Re-throw the error after logging
1285312852
throw error;

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -737526,11 +737526,10 @@ class GithubUtils {
737526737526
static async getCommitHistoryBetweenTags(fromTag, toTag) {
737527737527
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
737528737528
try {
737529-
const { data: comparison } = await this.octokit.repos.compareCommits({
737529+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
737530737530
owner: CONST_1.default.GITHUB_OWNER,
737531737531
repo: CONST_1.default.APP_REPO,
737532-
base: fromTag,
737533-
head: toTag,
737532+
basehead: `${fromTag}...${toTag}`,
737534737533
});
737535737534
// Map API response to our CommitType format
737536737535
return comparison.commits.map((commit) => ({
@@ -737542,7 +737541,7 @@ class GithubUtils {
737542737541
}
737543737542
catch (error) {
737544737543
if (error instanceof request_error_1.RequestError && error.status === 404) {
737545-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
737544+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
737546737545
}
737547737546
// Re-throw the error after logging
737548737547
throw error;

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -12114,11 +12114,10 @@ class GithubUtils {
1211412114
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1211512115
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1211612116
try {
12117-
const { data: comparison } = await this.octokit.repos.compareCommits({
12117+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1211812118
owner: CONST_1.default.GITHUB_OWNER,
1211912119
repo: CONST_1.default.APP_REPO,
12120-
base: fromTag,
12121-
head: toTag,
12120+
basehead: `${fromTag}...${toTag}`,
1212212121
});
1212312122
// Map API response to our CommitType format
1212412123
return comparison.commits.map((commit) => ({
@@ -12130,7 +12129,7 @@ class GithubUtils {
1213012129
}
1213112130
catch (error) {
1213212131
if (error instanceof request_error_1.RequestError && error.status === 404) {
12133-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12132+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1213412133
}
1213512134
// Re-throw the error after logging
1213612135
throw error;

.github/actions/javascript/createOrUpdateStagingDeploy/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -12351,11 +12351,10 @@ class GithubUtils {
1235112351
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1235212352
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1235312353
try {
12354-
const { data: comparison } = await this.octokit.repos.compareCommits({
12354+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1235512355
owner: CONST_1.default.GITHUB_OWNER,
1235612356
repo: CONST_1.default.APP_REPO,
12357-
base: fromTag,
12358-
head: toTag,
12357+
basehead: `${fromTag}...${toTag}`,
1235912358
});
1236012359
// Map API response to our CommitType format
1236112360
return comparison.commits.map((commit) => ({
@@ -12367,7 +12366,7 @@ class GithubUtils {
1236712366
}
1236812367
catch (error) {
1236912368
if (error instanceof request_error_1.RequestError && error.status === 404) {
12370-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12369+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1237112370
}
1237212371
// Re-throw the error after logging
1237312372
throw error;

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -12075,11 +12075,10 @@ class GithubUtils {
1207512075
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1207612076
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1207712077
try {
12078-
const { data: comparison } = await this.octokit.repos.compareCommits({
12078+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1207912079
owner: CONST_1.default.GITHUB_OWNER,
1208012080
repo: CONST_1.default.APP_REPO,
12081-
base: fromTag,
12082-
head: toTag,
12081+
basehead: `${fromTag}...${toTag}`,
1208312082
});
1208412083
// Map API response to our CommitType format
1208512084
return comparison.commits.map((commit) => ({
@@ -12091,7 +12090,7 @@ class GithubUtils {
1209112090
}
1209212091
catch (error) {
1209312092
if (error instanceof request_error_1.RequestError && error.status === 404) {
12094-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12093+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1209512094
}
1209612095
// Re-throw the error after logging
1209712096
throw error;

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -12364,11 +12364,10 @@ class GithubUtils {
1236412364
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1236512365
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1236612366
try {
12367-
const { data: comparison } = await this.octokit.repos.compareCommits({
12367+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1236812368
owner: CONST_1.default.GITHUB_OWNER,
1236912369
repo: CONST_1.default.APP_REPO,
12370-
base: fromTag,
12371-
head: toTag,
12370+
basehead: `${fromTag}...${toTag}`,
1237212371
});
1237312372
// Map API response to our CommitType format
1237412373
return comparison.commits.map((commit) => ({
@@ -12380,7 +12379,7 @@ class GithubUtils {
1238012379
}
1238112380
catch (error) {
1238212381
if (error instanceof request_error_1.RequestError && error.status === 404) {
12383-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12382+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1238412383
}
1238512384
// Re-throw the error after logging
1238612385
throw error;

.github/actions/javascript/getPreviousVersion/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -12219,11 +12219,10 @@ class GithubUtils {
1221912219
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1222012220
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1222112221
try {
12222-
const { data: comparison } = await this.octokit.repos.compareCommits({
12222+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1222312223
owner: CONST_1.default.GITHUB_OWNER,
1222412224
repo: CONST_1.default.APP_REPO,
12225-
base: fromTag,
12226-
head: toTag,
12225+
basehead: `${fromTag}...${toTag}`,
1222712226
});
1222812227
// Map API response to our CommitType format
1222912228
return comparison.commits.map((commit) => ({
@@ -12235,7 +12234,7 @@ class GithubUtils {
1223512234
}
1223612235
catch (error) {
1223712236
if (error instanceof request_error_1.RequestError && error.status === 404) {
12238-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12237+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1223912238
}
1224012239
// Re-throw the error after logging
1224112240
throw error;

.github/actions/javascript/getPullRequestDetails/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -12178,11 +12178,10 @@ class GithubUtils {
1217812178
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1217912179
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1218012180
try {
12181-
const { data: comparison } = await this.octokit.repos.compareCommits({
12181+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1218212182
owner: CONST_1.default.GITHUB_OWNER,
1218312183
repo: CONST_1.default.APP_REPO,
12184-
base: fromTag,
12185-
head: toTag,
12184+
basehead: `${fromTag}...${toTag}`,
1218612185
});
1218712186
// Map API response to our CommitType format
1218812187
return comparison.commits.map((commit) => ({
@@ -12194,7 +12193,7 @@ class GithubUtils {
1219412193
}
1219512194
catch (error) {
1219612195
if (error instanceof request_error_1.RequestError && error.status === 404) {
12197-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12196+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1219812197
}
1219912198
// Re-throw the error after logging
1220012199
throw error;

.github/actions/javascript/isStagingDeployLocked/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -12075,11 +12075,10 @@ class GithubUtils {
1207512075
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1207612076
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1207712077
try {
12078-
const { data: comparison } = await this.octokit.repos.compareCommits({
12078+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1207912079
owner: CONST_1.default.GITHUB_OWNER,
1208012080
repo: CONST_1.default.APP_REPO,
12081-
base: fromTag,
12082-
head: toTag,
12081+
basehead: `${fromTag}...${toTag}`,
1208312082
});
1208412083
// Map API response to our CommitType format
1208512084
return comparison.commits.map((commit) => ({
@@ -12091,7 +12090,7 @@ class GithubUtils {
1209112090
}
1209212091
catch (error) {
1209312092
if (error instanceof request_error_1.RequestError && error.status === 404) {
12094-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12093+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1209512094
}
1209612095
// Re-throw the error after logging
1209712096
throw error;

.github/actions/javascript/markPullRequestsAsDeployed/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -13472,11 +13472,10 @@ class GithubUtils {
1347213472
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1347313473
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1347413474
try {
13475-
const { data: comparison } = await this.octokit.repos.compareCommits({
13475+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1347613476
owner: CONST_1.default.GITHUB_OWNER,
1347713477
repo: CONST_1.default.APP_REPO,
13478-
base: fromTag,
13479-
head: toTag,
13478+
basehead: `${fromTag}...${toTag}`,
1348013479
});
1348113480
// Map API response to our CommitType format
1348213481
return comparison.commits.map((commit) => ({
@@ -13488,7 +13487,7 @@ class GithubUtils {
1348813487
}
1348913488
catch (error) {
1349013489
if (error instanceof request_error_1.RequestError && error.status === 404) {
13491-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
13490+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1349213491
}
1349313492
// Re-throw the error after logging
1349413493
throw error;

.github/actions/javascript/postTestBuildComment/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -12187,11 +12187,10 @@ class GithubUtils {
1218712187
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1218812188
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1218912189
try {
12190-
const { data: comparison } = await this.octokit.repos.compareCommits({
12190+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1219112191
owner: CONST_1.default.GITHUB_OWNER,
1219212192
repo: CONST_1.default.APP_REPO,
12193-
base: fromTag,
12194-
head: toTag,
12193+
basehead: `${fromTag}...${toTag}`,
1219512194
});
1219612195
// Map API response to our CommitType format
1219712196
return comparison.commits.map((commit) => ({
@@ -12203,7 +12202,7 @@ class GithubUtils {
1220312202
}
1220412203
catch (error) {
1220512204
if (error instanceof request_error_1.RequestError && error.status === 404) {
12206-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
12205+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1220712206
}
1220812207
// Re-throw the error after logging
1220912208
throw error;

.github/actions/javascript/proposalPoliceComment/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -18658,11 +18658,10 @@ class GithubUtils {
1865818658
static async getCommitHistoryBetweenTags(fromTag, toTag) {
1865918659
console.log('Getting pull requests merged between the following tags:', fromTag, toTag);
1866018660
try {
18661-
const { data: comparison } = await this.octokit.repos.compareCommits({
18661+
const comparison = await this.paginate(this.octokit.repos.compareCommitsWithBasehead, {
1866218662
owner: CONST_1.default.GITHUB_OWNER,
1866318663
repo: CONST_1.default.APP_REPO,
18664-
base: fromTag,
18665-
head: toTag,
18664+
basehead: `${fromTag}...${toTag}`,
1866618665
});
1866718666
// Map API response to our CommitType format
1866818667
return comparison.commits.map((commit) => ({
@@ -18674,7 +18673,7 @@ class GithubUtils {
1867418673
}
1867518674
catch (error) {
1867618675
if (error instanceof request_error_1.RequestError && error.status === 404) {
18677-
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡💡`);
18676+
console.error(`❓Failed to compare commits with the GitHub API. The base tag ('${fromTag}') or head tag ('${toTag}') likely doesn't exist on the remote repository. If this is the case, create or push them. 💡`);
1867818677
}
1867918678
// Re-throw the error after logging
1868018679
throw error;

0 commit comments

Comments
 (0)