Skip to content

[Due for payment 2025-06-17] [$500] package.json scripts: lint-changed runs on extraneous files #62656

Description

@MacroLens

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: NA
Reproducible in staging?: NA
Reproducible in production?: NA
If this was caught during regression testing, add the test name, ID and link from TestRail: NA
Email or phone of affected tester (no customers): NA
Logs: NA
Expensify/Expensify Issue URL: NA
Issue reported by:
Slack conversation (hyperlinked to channel name): NA

Action Performed:

Break down in numbered steps

  1. Checkout Expensify/App main at 02e9906
  2. Create a branch git checkout -b test_lint_changed
  3. Setup Node, nvm install && npm install
  4. Run npm run lint-changed

Expected Result:

No files were changed on the branch test_lint_changed so no lint errors should return.

Actual Result:

The lint-changed script runs over all files changed on main since 02e9906 upto the HEAD.

This leads to slow lint checks and is hard to manage when working on a pull request.

Workaround:

Before running the lint-changed script, merge the MAIN branch into the development branch (test_lint_changed). git merge main

It is difficult to work on pull requests when you need to merge so frequently to prevent this from happening.

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @sonialiap / @sonialiap
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021927626789806626747
  • Upwork Job ID: 1927626789806626747
  • Last Price Increase: 2025-06-11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions