Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
5925d2d
feat: add logic to suppress certain healthcheck errors
chrispader Oct 8, 2025
f072428
refactor: rename parsing function
chrispader Oct 8, 2025
fd65f7f
refactor: extract regex patterns
chrispader Oct 8, 2025
95c34bb
feat: also use parsed failures from JSON
chrispader Oct 8, 2025
e6224d9
refactor: restructure parsing logic and simplify
chrispader Oct 8, 2025
6ec2eb3
fix: TS errors
chrispader Oct 9, 2025
67a2a82
fix: add nullish check to `shouldSuppressCompilerError`
chrispader Oct 13, 2025
124fca6
refactor: add more cli options and refactor Git tools
chrispader Oct 13, 2025
8dc5204
feat: filter by git diff
chrispader Oct 13, 2025
2091e2a
feat: add `filterResultsByDiff` util function (AI)
chrispader Oct 13, 2025
eb67186
fix: simplify Git util functions and update error handling
chrispader Oct 14, 2025
4706e95
fix: JSON parsing issue
chrispader Oct 14, 2025
9f3c08e
fix: extract type and simplify
chrispader Oct 14, 2025
7384fd9
feat: warn if filtering by diff and user has uncommited changes
chrispader Oct 14, 2025
ffcc222
refactor: alias log functions
chrispader Oct 14, 2025
38a624a
Update AddPlaidBankAccount.tsx
chrispader Oct 14, 2025
74687dc
fix: JSON parsing
chrispader Oct 15, 2025
24c20be
feat: filter react compiler compliance results by by git diff in check
chrispader Oct 15, 2025
31182d8
feat: allow printing successes
chrispader Oct 15, 2025
0e9a853
fix: always print results and generate report
chrispader Oct 15, 2025
87d7a0a
chore: update react-compiler-dependencies
chrispader Oct 15, 2025
2f5d5fa
chore: make `babel-plugin-react-compiler` exact npm package version
chrispader Oct 15, 2025
6e0742b
refactor: remove additional 'plugin:react-hooks/recommended'
chrispader Oct 15, 2025
bf6ebb3
revert: eslint-plugin-react-compiler update
chrispader Oct 15, 2025
7639dcd
chore: bump eslint-plugin-react-compiler
chrispader Oct 15, 2025
fbdb491
chore: re-enable react-compiler plugin
chrispader Oct 15, 2025
84878e1
Merge branch 'main' into @chrispader/react-compiler-check-v2
chrispader Oct 15, 2025
b74542e
Update AddPlaidBankAccount.tsx
chrispader Oct 15, 2025
2678df5
chore: fix package-lock.json
chrispader Oct 15, 2025
08d51ad
remove dummy comment
chrispader Oct 15, 2025
63ba0d0
docs: add REACT_COMPILER.md section for new flags
chrispader Oct 15, 2025
7f9f4cf
chore: run `npm run gh-actions-build`
chrispader Oct 15, 2025
7c673e9
chore: add duplicated compliance check for testing
chrispader Oct 15, 2025
933537c
refactor: simplify CLI options forwarding
chrispader Oct 15, 2025
5c8d468
refactor: run `git fetch` quitly
chrispader Oct 15, 2025
935498f
add log
chrispader Oct 15, 2025
1393b3c
add log
chrispader Oct 15, 2025
6466a7b
fix: rev-parse not waiting for git fetch
chrispader Oct 15, 2025
09306d1
fix: await Git. getMainBranchCommitHash
chrispader Oct 15, 2025
ea15849
refactor: make Git functions async
chrispader Oct 15, 2025
ab9f072
chore: run `npm run gh-actions-build`
chrispader Oct 15, 2025
ab0a5b7
fix: promise + switch case refactoring
chrispader Oct 15, 2025
7f3b7a6
refactor: rename git function
chrispader Oct 15, 2025
8d35341
refactor: extract GITHUB_CONSTANTS
chrispader Oct 15, 2025
fd4e5cf
revert: async changes
chrispader Oct 15, 2025
6293b01
Revert "revert: async changes"
chrispader Oct 15, 2025
ca5aafb
refactor: restructure types and add back error logging
chrispader Oct 15, 2025
1220b6a
refactor: improve errors
chrispader Oct 15, 2025
4135708
chore: make scripts use strict types
chrispader Oct 15, 2025
84ebb6f
refactor: extract base ref and use GITHUB_BASE_REF
chrispader Oct 15, 2025
ebe3e1d
try ditching ensureRef
chrispader Oct 15, 2025
9ae50fe
fix: fallback remote
chrispader Oct 15, 2025
ae32a43
test exec git fetch
chrispader Oct 15, 2025
df72e80
fix: remove ensureRef usage
chrispader Oct 15, 2025
d99cca6
Merge branch 'main' into @chrispader/react-compiler-check-v2
chrispader Oct 17, 2025
2a17cda
chore: make concurrency group suffix-based
chrispader Oct 17, 2025
1ec2716
refactor: remove GITHUB_CONSTANTS file and use CONST instead
chrispader Oct 17, 2025
a5fdb6d
style: remove empty line
chrispader Oct 17, 2025
c4201fb
feat: add default options to exec wrapper
chrispader Oct 17, 2025
a8f26d1
refactor: remove duplicate type alias
chrispader Oct 17, 2025
badc901
refactor: remove redundant local variable
chrispader Oct 17, 2025
9fdaadd
fix: new react-compiler error
chrispader Oct 18, 2025
039ee5a
fix: remove intentional react-compiler error
chrispader Oct 18, 2025
e36fdff
chore: run `npm run gh-actions-build`
chrispader Oct 18, 2025
52eb652
fix: remove json parsing to fix error suppression
chrispader Oct 19, 2025
d39942b
fix: ESLint error
chrispader Oct 19, 2025
2a897b8
fix: remove duplicate workflow file
chrispader Oct 19, 2025
b21352a
fix: remove console.log
chrispader Oct 19, 2025
cb677f4
fix: warn emoji CLI spacing
chrispader Oct 20, 2025
0bf7036
feat: log suppressed warnings
chrispader Oct 20, 2025
7fa1709
chore: run `npm run gh-actions-build`
chrispader Oct 20, 2025
39ae48e
fix: spread object last to override default values
chrispader Oct 20, 2025
0d3092e
fix: return filtered suppressed errors in `filterResultsByDiff`
chrispader Oct 20, 2025
5190a12
fix: `addFailureIfDoesNotExist` not updating reason if it is not set yet
chrispader Oct 20, 2025
5f1ba70
fix: simplify function
chrispader Oct 20, 2025
283fb2a
fix: simplify CLI command execution block
chrispader Oct 20, 2025
5dba074
refactor: minor simplifications
chrispader Oct 20, 2025
d966ecc
refactor: rename property
chrispader Oct 20, 2025
e72e8d0
chore: run `npm run gh-actions-build`
chrispader Oct 20, 2025
5d9fd22
fix: update final success log message
chrispader Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/actions/javascript/authorChecklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15540,10 +15540,12 @@ exports["default"] = newComponentCategory;

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -16127,7 +16129,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/javascript/awaitStagingDeploys/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12344,10 +12344,12 @@ function convertToNumber(value) {

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12931,7 +12933,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/javascript/checkAndroidStatus/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -737087,10 +737087,12 @@ checkAndroidStatus()

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -737674,7 +737676,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/javascript/checkDeployBlockers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11611,10 +11611,12 @@ exports["default"] = run;

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12198,7 +12200,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/javascript/checkSVGCompression/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20136,10 +20136,12 @@ exports["default"] = run;

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -20723,7 +20725,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11739,10 +11739,12 @@ exports["default"] = run;

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12485,7 +12487,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/javascript/getArtifactInfo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11572,10 +11572,12 @@ exports["default"] = run;

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12159,7 +12161,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11758,10 +11758,12 @@ function convertToNumber(value) {

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12504,7 +12506,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/javascript/getPreviousVersion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11569,10 +11569,12 @@ exports["default"] = run;

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12315,7 +12317,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/javascript/getPullRequestDetails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11701,10 +11701,12 @@ function convertToNumber(value) {

Object.defineProperty(exports, "__esModule", ({ value: true }));
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
const GIT_CONST = {
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
DEFAULT_BASE_REF: 'main',
};
const CONST = {
...GIT_CONST,
Expand Down Expand Up @@ -12288,7 +12290,7 @@ class GithubUtils {
/**
* Get the contents of a file from the API at a given ref as a string.
*/
static async getFileContents(path, ref = 'main') {
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
const { data } = await this.octokit.repos.getContent({
owner: CONST_1.default.GITHUB_OWNER,
repo: CONST_1.default.APP_REPO,
Expand Down
Loading