Skip to content

Update ESLint config to flat format #6344

Update ESLint config to flat format

Update ESLint config to flat format #6344

Re-run triggered February 17, 2025 13:29
Status Failure
Total duration 2m 57s
Artifacts 13

main.yml

on: pull_request
Check workflows
4s
Check workflows
Matrix: Build, lint, and test / Test platform compatibility
Matrix: Build, lint, and test / Prepare
Update pull request  /  Determine whether this issue comment was on a pull request from a fork
Update pull request / Determine whether this issue comment was on a pull request from a fork
Code scanner  /  Run security scan
4m 47s
Code scanner / Run security scan
Build, lint, and test  /  Build "@metamask/snaps-simulator"
1m 42s
Build, lint, and test / Build "@metamask/snaps-simulator"
Build, lint, and test  /  Build "@metamask/test-snaps"
54s
Build, lint, and test / Build "@metamask/test-snaps"
Build, lint, and test  /  Generate LavaMoat policy
1m 14s
Build, lint, and test / Generate LavaMoat policy
Build, lint, and test  /  Lint
2m 33s
Build, lint, and test / Lint
Build, lint, and test  /  Build
2m 10s
Build, lint, and test / Build
Update pull request  /  Prepare dependencies
Update pull request / Prepare dependencies
Update pull request  /  React to the comment
Update pull request / React to the comment
Matrix: Build, lint, and test / E2E Test
Matrix: Build, lint, and test / Test
Update pull request  /  Deduplicate yarn.lock
Update pull request / Deduplicate yarn.lock
Build, lint, and test  /  Upload coverage to Codecov
0s
Build, lint, and test / Upload coverage to Codecov
Update pull request  /  Regenerate LavaMoat policies
Update pull request / Regenerate LavaMoat policies
Update pull request  /  Update Chrome
Update pull request / Update Chrome
Update pull request  /  Update examples
Update pull request / Update examples
All jobs complete
0s
All jobs complete
Determine whether this is a release merge commit
0s
Determine whether this is a release merge commit
Re-run failed jobs
0s
Re-run failed jobs
Publish Snaps Simulator to `staging` folder  /  Publish to GitHub Pages
Publish Snaps Simulator to `staging` folder / Publish to GitHub Pages
Update pull request  /  Commit result
Update pull request / Commit result
All jobs pass
0s
All jobs pass
Publish release  /  Get release tag
Publish release / Get release tag
Publish release  /  Publish release
Publish release / Publish release
Publish release  /  Determine whether this release updates the iframe execution environment
Publish release / Determine whether this release updates the iframe execution environment
Publish release  /  Publish to NPM (dry run)
Publish release / Publish to NPM (dry run)
Publish release  /  Determine whether this release updates the simulator
Publish release / Determine whether this release updates the simulator
Publish release  /  Determine whether this release updates test snaps
Publish release / Determine whether this release updates test snaps
Publish release  /  Configure iframe execution environment release
Publish release / Configure iframe execution environment release
Publish release  /  Publish to NPM
Publish release / Publish to NPM
Publish release  /  ...  /  Publish to GitHub Pages
Publish release / Publish Snaps Simulator to `latest` folder / Publish to GitHub Pages
publish-release  /  ...  /  Publish to GitHub Pages
publish-release / publish-simulator-versioned / Publish to GitHub Pages
Publish release  /  ...  /  Publish to GitHub Pages
Publish release / Publish test snaps / Publish to GitHub Pages
Publish release  /  ...  /  Publish to GitHub Pages
Publish release / Publish test snaps to `latest` folder / Publish to GitHub Pages
Publish release  /  ...  /  Publish execution environment
Publish release / Publish iframe execution environment / Publish execution environment
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 13 warnings
Build, lint, and test / Test (20.x, @metamask/snaps-simulator)
Process completed with exit code 1.
Build, lint, and test / Test (18.x, @metamask/snaps-simulator)
Process completed with exit code 1.
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/index.ts#L6
`./initHandler` import should occur before import of `../../builders`
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.test.ts#L13
`./initHandler` import should occur before import of `../../test-utils`
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.test.ts#L14
`./initUtils` import should occur before import of `../../test-utils`
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.ts#L1
Definition for rule 'import/no-extraneous-dependencies' was not found
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.ts#L2
There should be at least one empty line between import groups
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.ts#L2
`@metamask/create-snap/package.json` import should occur after import of `./initUtils`
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.ts#L15
`../../types/yargs` type import should occur after import of `./initUtils`
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.ts#L41
Caution: `semver` also has a named export `minVersion`. Check if you meant to write `import {minVersion} from 'semver'` instead
Build, lint, and test / Lint: packages/create-snap/src/cmds/init/initHandler.ts#L43
Caution: `semver` also has a named export `satisfies`. Check if you meant to write `import {satisfies} from 'semver'` instead
All jobs pass
Process completed with exit code 1.
Build, lint, and test / Prepare (18.x)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build, lint, and test / Prepare (18.x)
Cache not found for keys: snaps-execution-environments-build-Linux-18.x-3808df908fba20bcd8b64e29f8ca4e066233d5c7
Build, lint, and test / Prepare (20.x)
Cache not found for keys: snaps-execution-environments-build-Linux-20.x-3808df908fba20bcd8b64e29f8ca4e066233d5c7
Code scanner / Run security scan
Unable to validate code scanning workflow: error: getWorkflow() failed: Error: Expected to find a code scanning workflow file at /home/runner/work/snaps/snaps/.github/workflows/main.yml, but no such file existed. This can happen if the currently running workflow checks out a branch that doesn't contain the corresponding workflow file.
Code scanner / Run security scan
Cache not found for keys: codeql-trap-1-2.20.4-javascript-b5d3ed39641da280176f088f145093ff50220452, codeql-trap-1-2.20.4-javascript-
Build, lint, and test / Build "@metamask/snaps-simulator"
Cache not found for keys: webpack-vendor-Linux-f3a88ee68d7cc0bcb2cbae0ee75e07ec6a8703847940f8f5aad3107a7c559271
Build, lint, and test / Build "@metamask/snaps-simulator"
Cache not found for keys: e2e-simulator-build-Linux-3808df908fba20bcd8b64e29f8ca4e066233d5c7
Build, lint, and test / Build
Cache not found for keys: build-source-Linux-3808df908fba20bcd8b64e29f8ca4e066233d5c7
Build, lint, and test / Lint: packages/snaps-browserify-plugin/src/plugin.ts#L148
Avoid calling back inside of a promise