fix: address ci failures#578
Conversation
|
Hmm, these are failing in main too. The 4 tests that are failing are from |
can it be addressed by #569? |
c226e11 to
0d0e780
Compare
Could be. I just pushed those changes here (they still pass locally) |
|
In most cases, it is caused by a newly released version of a package (due to not committing lockfile). have you tried a clean install, and retry? |
I have nuked Does it fail for you locally? |
|
No, just retried and it passed on my windows. 😂 |
I'm on windows too... |
|
I just pushed a console.log on the filename to see what's going through that code in CI. |
|
Yeah, so, on CI it's not resolving to the type files. This is what CI is reporting for file names
This is why my local (and probably yours) is reporting. The ones where it's @types/estree or @typescript-eslint those are successful test evaluations.
|
|
This is the first point where these 4 tests started failing in CI: https://github.com/eslint-community/eslint-plugin-eslint-plugin/actions/runs/19694297600/job/56416156941 (November 26th) |
There was a problem hiding this comment.
If adding a lockfile makes things easier, I'm not opposed to adding one. We just didn't need one in the past. But no strong reason to avoid it.
I can reproduce it on my Mac using Weirdly, when I run each test independently, it passes... I tried comparing the versions, but I'm not seeing anything too suspicious: I debugged this, and seems like Note specifically the missing eslint-plugin-eslint-plugin/lib/rules/no-property-in-node.ts Lines 31 to 35 in 61e59ca I assumed it's related to the eslint-plugin-eslint-plugin/lib/rules/no-property-in-node.ts Lines 4 to 7 in 61e59ca But also nothing too interesting (left is 8.47.0, right is 8.48.0): https://www.diffchecker.com/RIhn0q4j/ How is it related to the CI env var? TBH, I don't have any idea at this point... |
|
Maybe @JoshuaKGoldberg can point towards a possible solution here? |
|
@StyleShit thanks for verifying. So, it seems that something in the 8.48.0 release broke this rule for linux / macos, which lines up timing-wise with when CI started failing. Since this does appear to be user-facing (unlike the
|
|
Sound like a solid plan @michaelfaith 👍 |
|
Opened #579 and pinned typescript-eslint |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
I also tend to go for pnpm, we just need to keep in mind that this change means changing also the ci and everything |
|
As @fasttime mentioned in eslint/js#719 (comment), it seems the ESLint team isn't planning on adding a fix for ESLint v9, so we should probably fix
We can probably take a few things from DefinitelyTyped/DefinitelyTyped#74066 for that |
|
I marked my comment RE: package managers as off-topic and opened: #580 |
I'm not sure I understand the entire story for this. It seems the DT PR was closed because they'd resolved to build types into |
I think the idea is "we never were responsible for this ourselves, so we don't/shouldn't care now either"
I have the exact same feeling |








This change addresses the two different kind of type check failures:
eslint-scope'sScopeManagertype is incompatible witheslint's built-inScope.ScopemanagerNormally I would have solved this by using
patch-packageto patch the@types/eslint-scopepackage directly, butpatch-packagerequires a lock file in the repo 😢. So, I just forked the types entirely, and replaceScopeManagerwitheslint'sScope.ScopeManager.Closes #575