Skip to content

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

@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: @dukenv0307
  • 🤝 Merged by: @mjasikowski
  • 🐛 Error Message:
    warning: Cache save failed.
    failure: Process completed with exit code 1.
    failure: 'isSelfTourViewed' is already defined
    failure: 'isSelfTourViewed' is already defined
    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: React Hook useMemo has a missing dependency: 'styles.mr3'. Either include it or remove the dependency array
    warning: The 'sections' array makes the dependencies of useEffect Hook (at line 440) change on every render. To fix this, wrap the initialization of 'sections' in its own useMemo() Hook
    failure: 'isSelfTourViewed' is already defined
    failure: 'isSelfTourViewed' is already defined
    warning: React Hook useCallback has a missing dependency: 'introSelected'. Either include it or remove the dependency array
    warning: React Hook useMemo has missing dependencies: 'isDelegateAccessRestricted' and 'showDelegateNoAccessModal'. Either include them or remove the dependency array
    warning: The 'targetPolicyTags' conditional could make the dependencies of useCallback Hook (at line 770) change on every render. Move it inside the useCallback callback. Alternatively, wrap the initialization of 'targetPolicyTags' in its own useMemo() Hook

⚠️ 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