DSGT-DLP / Deep-Learning-Playground

Web Application where people new to Deep Learning can input a dataset and toy around with basic Pytorch modules without writing any code
MIT License
26 stars 8 forks source link

[Sweep GHA Fix] The GitHub Actions run failed with... #1101

Closed sweep-ai[bot] closed 10 months ago

sweep-ai[bot] commented 10 months ago

Description

This pull request includes changes to the following files:

Summary

sweep-ai[bot] commented 10 months ago
Sweeping Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs: ``` ```

[!CAUTION]

An error has occurred: Message is too long, max tokens is -3796 (tracking ID: 759cc09663)

sweep-ai[bot] commented 10 months ago
Sweeping Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs: ``` The command: Run pnpm run test --coverage yielded the following error: ##[error]Process completed with exit code 1. ##[group]Run yarn run format:check yarn run format:check shell: /usr/bin/bash -e {0} ##[endgroup] yarn run v1.22.21 $ eslint --ext .js,.jsx,.ts,.tsx --quiet --fix --ignore-path .gitignore . Oops! Something went wrong! :( ESLint: 8.52.0 Error: Cannot read .eslintignore file: /home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/.gitignore Error: ENOENT: no such file or directory, open '/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/.gitignore' at Object.openSync (node:fs:596:3) at Object.readFileSync (node:fs:464:35) at readFile (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/@eslint+eslintrc@2.1.2/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2491:35) at loadESLintIgnoreFile (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/@eslint+eslintrc@2.1.2/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2619:16) at ConfigArrayFactory.loadESLintIgnore (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/@eslint+eslintrc@2.1.2/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2925:32) at createCLIConfigArray (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/@eslint+eslintrc@2.1.2/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3643:34) at new CascadingConfigArrayFactory (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/@eslint+eslintrc@2.1.2/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3724:29) at new CLIEngine (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/eslint@8.52.0/node_modules/eslint/lib/cli-engine/cli-engine.js:617:36) at new ESLint (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/eslint@8.52.0/node_modules/eslint/lib/eslint/eslint.js:430:27) at Object.execute (/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/eslint@8.52.0/node_modules/eslint/lib/cli.js:391:24) error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ##[error]Process completed with exit code 2. ##[group]Run yarn build yarn build shell: /usr/bin/bash -e {0} env: CI: true PUBLIC_URL: /pr-preview/pr-/ REACT_APP_PREVIEW: true REACT_APP_FIREBASE_API_KEY: REACT_APP_FIREBASE_AUTH_DOMAIN: REACT_APP_FIREBASE_PROJECT_ID: REACT_APP_FIREBASE_STORAGE_BUCKET: REACT_APP_FIREBASE_MESSAGING_SENDER_ID: REACT_APP_FIREBASE_APP_ID: REACT_APP_FIREBASE_MEASUREMENT_ID: ##[endgroup] yarn run v1.22.21 $ next build ⚠ Invalid next.config.js options detected: ⚠ "env.REACT_APP_CAPTCHA_SITE_KEY" is missing, expected string ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache Attention: Next.js now collects completely anonymous telemetry regarding usage. This information is used to shape Next.js' roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://nextjs.org/telemetry Linting and checking validity of types ... Failed to compile. ./src/common/components/ClientOnlyPortal.tsx:2:30 Type error: Could not find a declaration file for module 'react-dom'. '/home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/index.js' implicitly has an 'any' type. Try `npm i --save-dev @types/react-dom` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-dom';`   1 | import { useRef, useEffect, useState } from "react"; > 2 | import { createPortal } from "react-dom";   | ^   3 |   4 | export default function ClientOnlyPortal({   5 | children, error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ##[error]Process completed with exit code 1. Here are the logs: > frontend@ test /home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend > pnpm run start "--coverage" > frontend@ start /home/runner/work/Deep-Learning-Playground/Deep-Learning-Playground/frontend > next dev "--coverage" Unknown or unexpected option: --coverage ELIFECYCLE  Command failed with exit code 1. ELIFECYCLE  Test failed. See above for more details. ```

[!CAUTION]

An error has occurred: Cmd('git') failed due to: exit code(128) cmdline: git clone -v -- https://*****:*****@github.com/DSGT-DLP/Deep-Learning-Playground.git /tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac stderr: 'Cloning into '/tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac'... POST git-upload-pack (175 bytes) POST git-upload-pack (gzip 4367 to 2221 bytes) fatal: could not open '/tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac/.git/objects/pack/tmp_pack_6imUOg' for reading: No such file or directory fatal: fetch-pack: invalid index-pack output ' (tracking ID: a9b37ba88c)

sweep-ai[bot] commented 10 months ago
Sweeping Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs: ``` ```

[!CAUTION]

An error has occurred: Cmd('git') failed due to: exit code(128) cmdline: git clone -v -- https://*****:*****@github.com/DSGT-DLP/Deep-Learning-Playground.git /tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac stderr: 'Cloning into '/tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac'... POST git-upload-pack (175 bytes) POST git-upload-pack (gzip 4367 to 2221 bytes) fatal: could not open '/tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac/.git/objects/pack/tmp_pack_QVoPtu' for reading: No such file or directory fatal: fetch-pack: invalid index-pack output ' (tracking ID: 53c6a2dd57)

sweep-ai[bot] commented 10 months ago
Sweeping Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs: ``` ```

[!CAUTION]

An error has occurred: Cmd('git') failed due to: exit code(128) cmdline: git clone -v -- https://*****:*****@github.com/DSGT-DLP/Deep-Learning-Playground.git /tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac stderr: 'Cloning into '/tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac'... POST git-upload-pack (175 bytes) POST git-upload-pack (gzip 4367 to 2221 bytes) fatal: could not open '/tmp/cache/repos/DSGT-DLP/Deep-Learning-Playground/base/sweep--sweep_gha_fix_the_github_actions_run_fai_371ac/.git/objects/pack/tmp_pack_WgrslK' for reading: No such file or directory fatal: fetch-pack: invalid index-pack output ' (tracking ID: fb947fa57c)

sonarcloud[bot] commented 10 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud