-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Investigate workflow job failing on main: lint / ESLint check #84572
Copy link
Copy link
Closed
Labels
Description
🚨 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
🛠️ 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:
- Why the PR caused the job to fail?
- Address any underlying issues.
🐛 We appreciate your help in squashing this bug!
Reactions are currently unavailable