Skip to content

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

@github-actions

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: @ryntgh
  • 🤝 Merged by: @carlosmiceli
  • 🐛 Error Message:
    warning: Cache save failed.
    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!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions