Skip to content

Commit df3389b

Browse files
Merge branch 'main' into cm-stardate-card-util
Co-authored-by: Carlos Miceli <carlosmiceli@users.noreply.github.com>
2 parents 077b6eb + d59cda4 commit df3389b

497 files changed

Lines changed: 10281 additions & 8620 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.

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15589,7 +15589,8 @@ const CONST = {
1558915589
},
1559015590
COMMENT: {
1559115591
TYPE_BOT: 'Bot',
15592-
NAME_MELVIN: 'melvin-bot',
15592+
NAME_MELVIN_BOT: 'melvin-bot',
15593+
NAME_MELVIN_USER: 'MelvinBot',
1559315594
NAME_CODEX: 'chatgpt-codex-connector',
1559415595
NAME_GITHUB_ACTIONS: 'github-actions',
1559515596
},
@@ -15806,7 +15807,7 @@ class GithubUtils {
1580615807
PRListMobileExpensify: this.getStagingDeployCashPRListMobileExpensify(issue),
1580715808
deployBlockers: this.getStagingDeployCashDeployBlockers(issue),
1580815809
internalQAPRList: this.getStagingDeployCashInternalQA(issue),
15809-
isFirebaseChecked: issue.body ? /-\s\[x]\sI checked \[Firebase Crashlytics]/.test(issue.body) : false,
15810+
isSentryChecked: issue.body ? /-\s\[x]\sI checked \[Sentry]/.test(issue.body) : false,
1581015811
isGHStatusChecked: issue.body ? /-\s\[x]\sI checked \[GitHub Status]/.test(issue.body) : false,
1581115812
version,
1581215813
tag: `${version}-staging`,
@@ -15888,7 +15889,7 @@ class GithubUtils {
1588815889
/**
1588915890
* Generate the issue body and assignees for a StagingDeployCash.
1589015891
*/
15891-
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isFirebaseChecked = false, isGHStatusChecked = false, chronologicalSection = '', }) {
15892+
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isSentryChecked = false, isGHStatusChecked = false, previousTag = '', chronologicalSection = '', }) {
1589215893
return this.fetchAllPullRequests(PRList.map((pr) => this.getPullRequestNumberFromURL(pr)))
1589315894
.then((data) => {
1589415895
const internalQAPRs = Array.isArray(data) ? data.filter((pr) => !(0, isEmptyObject_1.isEmptyObject)(pr.labels.find((item) => item.name === CONST_1.default.LABELS.INTERNAL_QA))) : [];
@@ -15965,9 +15966,9 @@ class GithubUtils {
1596515966
}
1596615967
issueBody += '**Deployer verifications:**';
1596715968
// eslint-disable-next-line max-len
15968-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/ios:com.expensify.expensifylite/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
15969+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${tag}/?project=app&environment=staging) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1596915970
// eslint-disable-next-line max-len
15970-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
15971+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${previousTag}/?project=app&environment=production) for **the previous release version** and verified that the release did not introduce any new crashes. Because mobile deploys use a phased rollout, completing this checklist will deploy the previous release version to 100% of users. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1597115972
// eslint-disable-next-line max-len
1597215973
issueBody += `\r\n- [${isGHStatusChecked ? 'x' : ' '}] I checked [GitHub Status](https://www.githubstatus.com/) and verified there is no reported incident with Actions.`;
1597315974
issueBody += '\r\n\r\ncc @Expensify/applauseleads\r\n';

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12367,7 +12367,8 @@ const CONST = {
1236712367
},
1236812368
COMMENT: {
1236912369
TYPE_BOT: 'Bot',
12370-
NAME_MELVIN: 'melvin-bot',
12370+
NAME_MELVIN_BOT: 'melvin-bot',
12371+
NAME_MELVIN_USER: 'MelvinBot',
1237112372
NAME_CODEX: 'chatgpt-codex-connector',
1237212373
NAME_GITHUB_ACTIONS: 'github-actions',
1237312374
},
@@ -12584,7 +12585,7 @@ class GithubUtils {
1258412585
PRListMobileExpensify: this.getStagingDeployCashPRListMobileExpensify(issue),
1258512586
deployBlockers: this.getStagingDeployCashDeployBlockers(issue),
1258612587
internalQAPRList: this.getStagingDeployCashInternalQA(issue),
12587-
isFirebaseChecked: issue.body ? /-\s\[x]\sI checked \[Firebase Crashlytics]/.test(issue.body) : false,
12588+
isSentryChecked: issue.body ? /-\s\[x]\sI checked \[Sentry]/.test(issue.body) : false,
1258812589
isGHStatusChecked: issue.body ? /-\s\[x]\sI checked \[GitHub Status]/.test(issue.body) : false,
1258912590
version,
1259012591
tag: `${version}-staging`,
@@ -12666,7 +12667,7 @@ class GithubUtils {
1266612667
/**
1266712668
* Generate the issue body and assignees for a StagingDeployCash.
1266812669
*/
12669-
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isFirebaseChecked = false, isGHStatusChecked = false, chronologicalSection = '', }) {
12670+
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isSentryChecked = false, isGHStatusChecked = false, previousTag = '', chronologicalSection = '', }) {
1267012671
return this.fetchAllPullRequests(PRList.map((pr) => this.getPullRequestNumberFromURL(pr)))
1267112672
.then((data) => {
1267212673
const internalQAPRs = Array.isArray(data) ? data.filter((pr) => !(0, isEmptyObject_1.isEmptyObject)(pr.labels.find((item) => item.name === CONST_1.default.LABELS.INTERNAL_QA))) : [];
@@ -12743,9 +12744,9 @@ class GithubUtils {
1274312744
}
1274412745
issueBody += '**Deployer verifications:**';
1274512746
// eslint-disable-next-line max-len
12746-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/ios:com.expensify.expensifylite/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
12747+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${tag}/?project=app&environment=staging) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1274712748
// eslint-disable-next-line max-len
12748-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
12749+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${previousTag}/?project=app&environment=production) for **the previous release version** and verified that the release did not introduce any new crashes. Because mobile deploys use a phased rollout, completing this checklist will deploy the previous release version to 100% of users. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1274912750
// eslint-disable-next-line max-len
1275012751
issueBody += `\r\n- [${isGHStatusChecked ? 'x' : ' '}] I checked [GitHub Status](https://www.githubstatus.com/) and verified there is no reported incident with Actions.`;
1275112752
issueBody += '\r\n\r\ncc @Expensify/applauseleads\r\n';

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -737110,7 +737110,8 @@ const CONST = {
737110737110
},
737111737111
COMMENT: {
737112737112
TYPE_BOT: 'Bot',
737113-
NAME_MELVIN: 'melvin-bot',
737113+
NAME_MELVIN_BOT: 'melvin-bot',
737114+
NAME_MELVIN_USER: 'MelvinBot',
737114737115
NAME_CODEX: 'chatgpt-codex-connector',
737115737116
NAME_GITHUB_ACTIONS: 'github-actions',
737116737117
},
@@ -737327,7 +737328,7 @@ class GithubUtils {
737327737328
PRListMobileExpensify: this.getStagingDeployCashPRListMobileExpensify(issue),
737328737329
deployBlockers: this.getStagingDeployCashDeployBlockers(issue),
737329737330
internalQAPRList: this.getStagingDeployCashInternalQA(issue),
737330-
isFirebaseChecked: issue.body ? /-\s\[x]\sI checked \[Firebase Crashlytics]/.test(issue.body) : false,
737331+
isSentryChecked: issue.body ? /-\s\[x]\sI checked \[Sentry]/.test(issue.body) : false,
737331737332
isGHStatusChecked: issue.body ? /-\s\[x]\sI checked \[GitHub Status]/.test(issue.body) : false,
737332737333
version,
737333737334
tag: `${version}-staging`,
@@ -737409,7 +737410,7 @@ class GithubUtils {
737409737410
/**
737410737411
* Generate the issue body and assignees for a StagingDeployCash.
737411737412
*/
737412-
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isFirebaseChecked = false, isGHStatusChecked = false, chronologicalSection = '', }) {
737413+
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isSentryChecked = false, isGHStatusChecked = false, previousTag = '', chronologicalSection = '', }) {
737413737414
return this.fetchAllPullRequests(PRList.map((pr) => this.getPullRequestNumberFromURL(pr)))
737414737415
.then((data) => {
737415737416
const internalQAPRs = Array.isArray(data) ? data.filter((pr) => !(0, isEmptyObject_1.isEmptyObject)(pr.labels.find((item) => item.name === CONST_1.default.LABELS.INTERNAL_QA))) : [];
@@ -737486,9 +737487,9 @@ class GithubUtils {
737486737487
}
737487737488
issueBody += '**Deployer verifications:**';
737488737489
// eslint-disable-next-line max-len
737489-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/ios:com.expensify.expensifylite/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
737490+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${tag}/?project=app&environment=staging) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
737490737491
// eslint-disable-next-line max-len
737491-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
737492+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${previousTag}/?project=app&environment=production) for **the previous release version** and verified that the release did not introduce any new crashes. Because mobile deploys use a phased rollout, completing this checklist will deploy the previous release version to 100% of users. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
737492737493
// eslint-disable-next-line max-len
737493737494
issueBody += `\r\n- [${isGHStatusChecked ? 'x' : ' '}] I checked [GitHub Status](https://www.githubstatus.com/) and verified there is no reported incident with Actions.`;
737494737495
issueBody += '\r\n\r\ncc @Expensify/applauseleads\r\n';

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11634,7 +11634,8 @@ const CONST = {
1163411634
},
1163511635
COMMENT: {
1163611636
TYPE_BOT: 'Bot',
11637-
NAME_MELVIN: 'melvin-bot',
11637+
NAME_MELVIN_BOT: 'melvin-bot',
11638+
NAME_MELVIN_USER: 'MelvinBot',
1163811639
NAME_CODEX: 'chatgpt-codex-connector',
1163911640
NAME_GITHUB_ACTIONS: 'github-actions',
1164011641
},
@@ -11851,7 +11852,7 @@ class GithubUtils {
1185111852
PRListMobileExpensify: this.getStagingDeployCashPRListMobileExpensify(issue),
1185211853
deployBlockers: this.getStagingDeployCashDeployBlockers(issue),
1185311854
internalQAPRList: this.getStagingDeployCashInternalQA(issue),
11854-
isFirebaseChecked: issue.body ? /-\s\[x]\sI checked \[Firebase Crashlytics]/.test(issue.body) : false,
11855+
isSentryChecked: issue.body ? /-\s\[x]\sI checked \[Sentry]/.test(issue.body) : false,
1185511856
isGHStatusChecked: issue.body ? /-\s\[x]\sI checked \[GitHub Status]/.test(issue.body) : false,
1185611857
version,
1185711858
tag: `${version}-staging`,
@@ -11933,7 +11934,7 @@ class GithubUtils {
1193311934
/**
1193411935
* Generate the issue body and assignees for a StagingDeployCash.
1193511936
*/
11936-
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isFirebaseChecked = false, isGHStatusChecked = false, chronologicalSection = '', }) {
11937+
static generateStagingDeployCashBodyAndAssignees({ tag, PRList, PRListMobileExpensify = [], verifiedPRList = [], verifiedPRListMobileExpensify = [], deployBlockers = [], resolvedDeployBlockers = [], resolvedInternalQAPRs = [], isSentryChecked = false, isGHStatusChecked = false, previousTag = '', chronologicalSection = '', }) {
1193711938
return this.fetchAllPullRequests(PRList.map((pr) => this.getPullRequestNumberFromURL(pr)))
1193811939
.then((data) => {
1193911940
const internalQAPRs = Array.isArray(data) ? data.filter((pr) => !(0, isEmptyObject_1.isEmptyObject)(pr.labels.find((item) => item.name === CONST_1.default.LABELS.INTERNAL_QA))) : [];
@@ -12010,9 +12011,9 @@ class GithubUtils {
1201012011
}
1201112012
issueBody += '**Deployer verifications:**';
1201212013
// eslint-disable-next-line max-len
12013-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/ios:com.expensify.expensifylite/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
12014+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${tag}/?project=app&environment=staging) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1201412015
// eslint-disable-next-line max-len
12015-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
12016+
issueBody += `\r\n- [${isSentryChecked ? 'x' : ' '}] I checked [Sentry](https://expensify.sentry.io/releases/new.expensify%40${previousTag}/?project=app&environment=production) for **the previous release version** and verified that the release did not introduce any new crashes. Because mobile deploys use a phased rollout, completing this checklist will deploy the previous release version to 100% of users. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1201612017
// eslint-disable-next-line max-len
1201712018
issueBody += `\r\n- [${isGHStatusChecked ? 'x' : ' '}] I checked [GitHub Status](https://www.githubstatus.com/) and verified there is no reported incident with Actions.`;
1201812019
issueBody += '\r\n\r\ncc @Expensify/applauseleads\r\n';

0 commit comments

Comments
 (0)