Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CT perennial task failed (quake) #254

Closed
KatieWoe opened this issue Dec 9, 2021 · 8 comments
Closed

CT perennial task failed (quake) #254

KatieWoe opened this issue Dec 9, 2021 · 8 comments

Comments

@KatieWoe
Copy link
Contributor

KatieWoe commented Dec 9, 2021

Seems to be connected to quake

perennial : lint-everything
Lint-everything failed with status code 1:
Running "lint-everything" task
Fatal error: Perennial task failed:
Error: Failed to load config "@ljharb" to extend from.
Referenced from: /data/share/phet/continuous-testing/ct-snapshots/1639018530900/quake/node_modules/extend/.eslintrc
at configInvalidError (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/config-array-factory.js:290:9)
at ConfigArrayFactory._loadExtendedShareableConfig (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/config-array-factory.js:883:23)
at ConfigArrayFactory._loadExtends (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/config-array-factory.js:781:25)
at ConfigArrayFactory._normalizeObjectConfigDataBody (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/config-array-factory.js:720:25)
at _normalizeObjectConfigDataBody.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigData (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/config-array-factory.js:665:20)
at _normalizeObjectConfigData.next (<anonymous>)
at ConfigArrayFactory.loadInDirectory (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/config-array-factory.js:511:28)
at CascadingConfigArrayFactory._loadConfigInAncestors (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:379:46)
at CascadingConfigArrayFactory.getConfigArrayForFile (/data/share/phet/continuous-testing/ct-snapshots/1639018530900/chipper/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:300:18)
Full Error details:
Error: Failed to load config "@ljharb" to extend from.
Referenced from: /data/share/phet/continuous-testing/ct-snapshots/1639018530900/quake/node_modules/extend/.eslintrc�
Snapshot from 12/8/2021, 7:55:30 PM
@jbphet
Copy link
Contributor

jbphet commented Dec 9, 2021

It looks like node_modules is being linted here, but I don't know why. I committed a specific ignore directive (see the commit above), and that fixed the problem for me locally. I'll follow up with CT to make sure it's passing. But the question is: Why is this necessary at all? Why isn't node_modules being ignored here by default?

@zepumph and @samreid - Do either of you know what I need to do to set this up more correctly?

@jbphet
Copy link
Contributor

jbphet commented Dec 10, 2021

I just checked, and the perennial repo does indeed appear to be fixed on CT.

zepumph added a commit to phetsims/chipper that referenced this issue Dec 13, 2021
zepumph added a commit to phetsims/quake that referenced this issue Dec 13, 2021
@zepumph
Copy link
Member

zepumph commented Dec 13, 2021

This seems weird. There is no manual exclusion of node_modules in the project thus far. Presumably the linter is set up to automatically ignore that directory. I decided to be explicit across the project though just to be safe, and removed your sim-specific commit. node_modules should forever be ignored now, can you confirm on your side what you can?

@jbphet
Copy link
Contributor

jbphet commented Dec 13, 2021

Both the local grunt lint and grunt lint-everything from perennial seem to work fine with this change. Looks good to me! Thanks @zepumph - closing.

@jonathanolson
Copy link
Contributor

Reopening this, as I'll need to maintenance release to get some branches to build (e.g. BASE 1.5)

@jonathanolson jonathanolson reopened this Nov 24, 2022
jonathanolson added a commit to phetsims/balloons-and-static-electricity that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/build-an-atom that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/circuit-construction-kit-ac that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/circuit-construction-kit-ac-virtual-lab that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/circuit-construction-kit-dc that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/natural-selection that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/natural-selection that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/normal-modes that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/number-line-distance that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/number-line-integers that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/number-line-operations that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/ph-scale that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/ph-scale-basics that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/ratio-and-proportion that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/ratio-and-proportion that referenced this issue Nov 24, 2022
@jbphet
Copy link
Contributor

jbphet commented Nov 28, 2022

@jonathanolson - You reopened this, and it's assigned to me, but I think you're using it as a place to log commits. I'm assigning it to you, let me know if you think there is something I need to do here.

@jbphet jbphet assigned jonathanolson and unassigned jbphet Nov 28, 2022
@jonathanolson jonathanolson removed their assignment Dec 8, 2022
@jonathanolson
Copy link
Contributor

Apologies! Nothing to do here, I'll close after maintenance.

@jonathanolson
Copy link
Contributor

Handled in maintenance, closing.

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

No branches or pull requests

5 participants