Skip to content

Investigate workflow job failing on main: lint / ESLint check #80653

Closed

Description

@github-actions

🚨 Failure Summary 🚨:

  • 📋 Job Name: lint / ESLint check
  • 🔧 Failure in Workflow: Process new code merged to main
  • 🔗 Triggered by PR: PR Link
  • 👤 PR Author: @carlosmiceli
  • 🤝 Merged by: @MarioExpensify
  • 🐛 Error Message:
    failure: Process completed with exit code 1.
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
    warning: The 'transactionIDSet' object construction makes the dependencies of useCallback Hook (at line 47) change on every render. To fix this, wrap the initialization of 'transactionIDSet' in its own useMemo() Hook
    warning: React Hook useMemo has a missing dependency: 'allPolicies'. Either include it or remove the dependency array
    warning: The 'measure' function makes the dependencies of useEffect Hook (at line 117) change on every render. To fix this, wrap the definition of 'measure' in its own useCallback() Hook
    warning: The 'measure' function makes the dependencies of useLayoutEffect Hook (at line 109) change on every render. To fix this, wrap the definition of 'measure' in its own useCallback() Hook
    warning: React Hook useMemo has a missing dependency: 'expensifyIcons'. Either include it or remove the dependency array

⚠️ Action Required ⚠️:

🛠️ A recent merge appears to have caused a failure in the job named lint / ESLint check.
This issue has been automatically created and labeled with Workflow Failure for investigation.

👀 Please look into the following:

  1. Why the PR caused the job to fail?
  2. Address any underlying issues.

🐛 We appreciate your help in squashing this bug!

Activity

  1. MarioExpensify commented on Jan 27, 2026

    @MarioExpensify
    Contributor

    This was caused by an increase in the amount of ESLint errors. @mountiny increased it and fixed the issue, thank you.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions